免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1704 | 回复: 3
打印 上一主题 下一主题

为何无法图形方式登录一台远程的solaris主机? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-07-08 18:40 |只看该作者 |倒序浏览
为何用exceed,xmanager,还有从ultra终端上,均无法登录一台远程的solaris主机?

早上还好好的窗口中
中午突然发现
xbrowser看不到这个主机了(我用的是手工添加它的ip,并非广播方式)
用图形方式登不上
而此时ping,telnet没有问题


又试了好几台pc机上的exceed,均登不上,黑屏,登录窗口(输入用户密码的窗口)
一直不出来。就好像dtlogin服务没有起来一样
ps -ef|grep dtlogin,看到有几个dtlogin -daemon在跑的
又跑到/usr/dt/config下面看,配置文件没人动过

最后跑到机房去看,在本机上可以登录进去,但是想点击exit logout的时候,弹出对话框,说
#tt_err_no_match no handler for the request.....

dtconfig -reset
dtlogin -kill都做过,
也杀了几个ttsession进程
没有用

心想肯定哪里出问题了,但是机器是关键设备,平时不敢reboot的,如果实在没办法,也只能
晚上偷偷reboot,不知道那位有类似经验的指点一下,谢谢!!!!

ps:
这种现象以前也见过,一台什么都没跑的ultra5终端,也是远程机器无法登录上来,
点击exit 想logout的时候,这台ultra5反而黑屏了.....

好想也有人问同样的问题了,不过偶实在急,在用户机房哪里,多发一次.

是不是这个xdm协议很有问题,不够成熟啊?(是不是xdm协议?linux里面就是一个叫做xdm的进程管这玩艺的)

thank a lot!!!!!!!!!!!!!!!!!!!!

论坛徽章:
0
2 [报告]
发表于 2003-07-08 18:52 |只看该作者

为何无法图形方式登录一台远程的solaris主机?

要不用xwin32试试吧,我没碰过这种问题

论坛徽章:
0
3 [报告]
发表于 2003-07-08 19:53 |只看该作者

为何无法图形方式登录一台远程的solaris主机?

试试把dt进程重启吧
首先要杀干净dt的进程

论坛徽章:
0
4 [报告]
发表于 2003-07-08 21:11 |只看该作者

为何无法图形方式登录一台远程的solaris主机?

http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F25361

Logging out From CDE Might Lead to a Hung CDE Session on Systems With "Basic Security Module (BSM)" Enabled

25361
Sun(sm) Alert Notification
Sun Alert ID: 25361
Synopsis: Logging out From CDE Might Lead to a Hung CDE Session on Systems With "Basic Security Module (BSM)" Enabled
Category: Availability
Product: Solaris
BugIDs: 4353965
Avoidance: Workaround, Patch
State: Resolved
Date Released: 22-Jan-2001, 18-May-2001
Date Closed: 18-May-2001
Date Modified: 22-Jan-2001, 26-Feb-2001, 18-May-2001
1. Impact
When a CDE desktop user tries to exit from a CDE session, the CDE session might hang, making a proper logout from the system impossible.

2. Contributing Factors
This problem can occur in the following releases:

SPARC

Solaris 2.5.1
Solaris 2.6 without patch 105621-25
Solaris 7 without patch 106541-15
Solaris 8 without patch 108875-08
Intel

Solaris 2.5.1
Solaris 2.6 without patch 105622-25
Solaris 7 without patch 106542-15
Solaris 8 without patch 108876-08
Only Solaris systems that have the "Basic Security Module (BSM)" enabled are at risk. The "BSM" is disabled by default and enabled using the "/etc/security/bsmconv" command. An "auditd" process running is an indication of an enabled "BSM".

Systems with more then one CPU are more likely to experience the described issue.

3. Symptoms
After clicking the "EXIT" button on the front control panel of a CDE desktop and confirming the logout in the appearing dialog box, the logout does not proceed to the login screen as expected. Instead, the CDE desktop's front control panel and other windows remain open and still accept input. If in this situation the front control panel's "EXIT" button is clicked again, an error message window with the following message comes up:

        The request to service this action has failed for the following reason:
        TT_ERR_NO_MATCH No handler could be found for this message, and the disposition
        was not queue or start.                  
Solution Summary Top

4. Relief/Workaround
Should the described issue occur, the following procedure will end the hung CDE session and bring back the CDE login screen:

Login to the affected system as root user (using "telnet" or "rlogin" for example)
Issue the following command
    # /usr/proc/bin/ptree `cat /var/dt/Xpid`                              
to generate a tree listing of processes.
In the resulting output, look for "grandchild" "dtlogin" processes, i.e. "dtlogin" processes listed in a line indented two levels (that is, indented by 4 space characters). There should be a single grandchild "dtlogin" process that has no child processes listed, i.e. that has no immediately subsequent line indented three levels (that is, indented by 6 space characters).
Example:
    # /usr/proc/bin/ptree `cat /var/dt/Xpid`
    2602  /usr/dt/bin/dtlogin -daemon
      8251  /usr/dt/bin/dtlogin -daemon
        8271  /usr/dt/bin/dtlogin -daemon
      8483  /usr/dt/bin/dtlogin -daemon
        8503  /usr/dt/bin/dtlogin -daemon
          8504  /bin/ksh /usr/dt/bin/Xsession
            8544  /usr/dt/bin/sdt_shell -c ...
...                              
In the above example, only the line starting with the process ID "8271" shows a grandchild "dtlogin" process without a child process.
Note the listed process ID of this childless grandchild "dtlogin" process and sent it a "kill" signal:
    # kill <process ID of childless grandchild "dtlogin" process>;
Example:
    # kill 8271                              
The CDE login screen should now come up as expected.

5. Resolution
This problem is addressed in the following releases:

SPARC

Solaris 2.6 with patch 105621-25 or later
Solaris 7 with patch 106541-15 or later
Solaris 8 with patch 108875-08 or later
Intel

Solaris 2.6 with patch 105622-25 or later
Solaris 7 with patch 106542-15 or later
Solaris 8 with patch 108876-08 or later
Customers running Solaris 2.5.1 with the "Basic Security Module (BSM)" enabled should upgrade to Solaris 2.6 or later and install the appropriate patches to avoid the described issue.

Change History:
26-Feb-2001:

Patch 106541-15 is now available
23-Mar-2001

Patch 108876-08 is now available
28-Mar-2001

Patch 106542-15 is now available
15-May-2001

Patch 108875-08 is now available
State: Resolved
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP