resolve.conf引起登录HPUX的CDE故障

故障

  从xmanager登录HPUX的CDE出现:

 

Choose [OK] to return to the login screen.
Select Failsafe Session....
Check to see that the desktop is properly installed, the hostname is correct (/etc/hosts) and that the network is properly configured.

  谷歌搜索发现是nsswitch.conf问题,CDE找不到登录机器的hostname所致。

解决

  1. 进入sam
  2. 选择网络设置-->name service switch
    默认为先从DNS查找,再从hosts文件查找; 
  3. 更改hosts条目的source的顺序:
    应为先从hosts文件查找,再从DNS查找;
     按按

  更新完不用重启,再进去CDE,正常。

posted @ 2010-05-24 12:50  ddr888  阅读(901)  评论(0编辑  收藏  举报