1831665 Members
2141 Online
110029 Solutions
New Discussion

CDE Login Server

 
SOLVED
Go to solution
maros
Advisor

CDE Login Server

My C3650 WS got frozen - I had no other choice than switching it off and back on with the button on the box (no killing of processes with -15 or -9 options helped). After the restart, however, the CDE Login Server did not start properly. Only one of the four buttons can be seen and the mouse pointer does not move (cannot log in). I can however do a remote login to the machine and I can work on it. I saw the system is ready message prior to starting CDE login server - so, the system should be okay. Do you have any hints where to look and what to do? I tried to switch off and on the machine 3 times (the same result).
Thanks a lot
13 REPLIES 13
Alex Glennie
Honored Contributor
Solution

Re: CDE Login Server

Check /etc/rc.log , syslog.log & /var/dt/Xerrors ?

run dr_dt examine output .....

then run ...

/sbin/init 2
/usr/bin/X11/X :0
does the mouse move now ?

fyi may kill the hung Xserver without the need to reboot or you could rlogin/telnet from remote system and kill the child dtlogin process ... should also work.

ps I've never heard of a C3650 ? what's the O/S and how many cpu's ?


Alex Glennie
Honored Contributor

Re: CDE Login Server

learn something new on this site everyday .... I've now heard of a C3650 ;) out of interest if this is hpux 11.00 have you installed PHKL_24484 as per http://www.hp.com/workstations/products/unix/c3650/summary.html

it might explain the origiinal hang ?
maros
Advisor

Re: CDE Login Server

Alex,

I examined the files you adviced me (everything is normal - no errors). I do not know what you meant by 'run dr_dt' - there is no such a command like dr_dt... Anyway, after booting into runlevel 2 I ran /usr/bin/X11/X :0 - the mouse was moving. As soon as I however ran /usr/dt/bin/dtlogin - I got the same result - mouse got stuck and I got just a partial CDE login prompt (no login possible - only from a remote machine). Any advice will be appreciated. Thanks.
Alex Glennie
Honored Contributor

Re: CDE Login Server

cd /usr/contrib/bin/X11

ll dr_dt ?

maybe also worth running swlist to check CDE fileset install OK .... but you say remote logins OK ? mmm smells networky ...... can you check rpcbind is running ; also rlogin to the system and check say using top what if anything is eating cpu at the time of the hang ....


maros
Advisor

Re: CDE Login Server

dr_dt is there and looks okay - the same as on other machines....
rpcbind - checked - running..
top showed that the CPU is being eaten just by X when I start /usr/dt/bin/dtlogin or /usr/bin/X11/X - if I start /usr/bin/X11/X :0 from runlevel 2 - I get a blank (greyish) screen and I can move the mouse pointer.

How can I check the fileset install of CDE? When I run swlist - I cannot see any sign about the CDE (neither on other machines)...

Thanks
maros
Advisor

Re: CDE Login Server

forgot to mention - when checking with top - X would eat up to 99.5% of the CPU when running dtlogin...
Alex Glennie
Honored Contributor

Re: CDE Login Server

My appologies I should have said earlier ...dr_dt is the cde diagnostic tool - can you run it from the command line .... does it run cleanly without any warnings or errors ...

What's the O/S 11.00 or 11.i ?

What the patch level like wrt cde ?

can you confirm hostname resolution is working OK both for the IP adresss and hostname .
Sanjay_6
Honored Contributor

Re: CDE Login Server

Alex Glennie
Honored Contributor

Re: CDE Login Server

Just a guess but worth a try ......

edit /etc/X11/X0screens to resemble: ServerOptions
DisableFontCache
Screen /dev/crt

and be sure to restart the X server for the change to take effect.

ie /sbin/init 2 followed by init 3 ......
maros
Advisor

Re: CDE Login Server

Thanks for your advice - none of them helped though :-( I will however have a deeper look on the link yet...

Anyway, hostname and IP resolution works okay (checked with nslookup). The system is HP-UX 11.00... (the PHKL 24482 patch is not installed - but neither on another machine with teh same config which is running okay - this one ran okay too until today).

Concerning dr_dt - I got no errors but 4 warnings - about ownerships on the root directory (root:root - I have daemon:daemon) + /var/adm/inetd.sec does not exist...

How can I find out the patch level you were asking about?

Cheer
Alex Glennie
Honored Contributor

Re: CDE Login Server

to check the patch level : swlist -l fileset | grep -i cde ? latest for 11.00 = PHSS_25787 and PHSS_25277 wrt the Xserver .... this sounds more serious though as if the Xserver *may* have been corrupted or something .....

have you any other additional pointer devices attached to this w/s ?

I'd be tempted to re-install the X11 and CDE fileses from the core O/s if this were my system .... other than that tuscing the Xserver process and sending the output into your local HP Response centre may yield something .....
Sanjay_6
Honored Contributor

Re: CDE Login Server

Hi,

Try this,

1. Set the root directory to 755 permission:

# cd /
# chmod 755 .

2. Set permissions, owner and group for the /etc/hosts file as follows:

# chmod 444 /etc/hosts
# chmod bin:bin /etc/hosts

3. Set permissions for the /usr/lib/dld.sl file as follows:

# chmod 555 /usr/lib/dld.sl

4. Set permissions for the /usr/lib directory as follows:

# chmod 755 /usr/lib

5. Stop and Start dtlogin as follows:

# cd /tmp
# /sbin/init.d/dtlogin.rc stop
# /sbin/init.d/dtlogin.rc start

Hope this helps.

Regds
maros
Advisor

Re: CDE Login Server

I ended up reinstalling the whole system but it did not help - it is most probably a graphics card then. Will get a new one and I will see...