Operating System - HP-UX
1753797 Members
7279 Online
108799 Solutions
New Discussion юеВ

Re: CDE not auto-enabling after server reboot

 
frederick hannah
Super Advisor

CDE not auto-enabling after server reboot

After my RP7400, HPUX 11.11 server reboots, customers usually ask me to enable CDE. Why isnt the server doing this automatically?
8 REPLIES 8
Tim Nelson
Honored Contributor

Re: CDE not auto-enabling after server reboot

Do you have it configured ?

/etc/rc.config.d/desktop
DESKTOP=CDE

If so are there any error messages in the /etc/rc.log ?

frederick hannah
Super Advisor

Re: CDE not auto-enabling after server reboot

# CDE Desktop enabled
DESKTOP=CDE
DTPRTSVR=

And no error messages in the /etc/rc.log! This is a toughie.
Robert-Jan Goossens
Honored Contributor

Re: CDE not auto-enabling after server reboot

how do you enable cde after a reboot?
# /usr/dt/bin/dtconfig -e

/sbin/rc3.d/S990dtlogin.rc --> /sbin/init.d/dtlogin.rc
Do you have above link in the /sbin/rc3.d directory?

Regards,
Robert-Jan
frederick hannah
Super Advisor

Re: CDE not auto-enabling after server reboot

Yes. And per /etc/rc.log, the process starts, but doesnt enable. Is it possible start and enable arent done during startup by design?
Robert-Jan Goossens
Honored Contributor

Re: CDE not auto-enabling after server reboot

could you run the dr_dt script and post the error messages?

# /contrib/bin/X11/dr_dt

Robert-Jan
frederick hannah
Super Advisor

Re: CDE not auto-enabling after server reboot

Dr_dt finished with:

0 ERROR messages
3 WARNING messages



======= 01/30/08 11:59:09 EST BEGIN swverify SESSION
(non-interactive) (jobid=jean4005-0059)

* Session started for user "root@jean4005".

* Beginning Selection
* Target connection succeeded for "jean4005:/".
NOTE: The software specification "CDE-English" refers to a bundle
(or to a product, subproduct or fileset within a bundle). Only
some of the software specified could be selected. The messages
below show those items which could not be selected and those
items which were selected but generated a warning:
* Could not apply the software selection
"DesktopConfig.LITECONFIG,r=B.11.11,a=HP-UX_B.11.11_32/64,v=HP";
it is not available from depot or root "jean4005:/".
Robert-Jan Goossens
Honored Contributor

Re: CDE not auto-enabling after server reboot

Frederick, you can savely ignore the warning in you above message. Have a look at the link below

http://www.docs.hp.com/en/5187-0187/apbs02.html

I've got no idear why cde will not auto-start on your system...... Do you start anything else after a reboot?
TTr
Honored Contributor

Re: CDE not auto-enabling after server reboot

1. is there anything else in /etc/rc.log that is started after CDE? IF so can you post the /etc/rc.log section from the CDE start up until the end?

2. If the CDE is the last startup script in /etc/rc.log, disable CDE during boot up, (comment out the DESKTOP line in /etc/rc.config.d/desktop), enable it after boot up and start it manually from /sbin/init.d/dtlogin.rc
Anything different now? Any errors?

3. With the desktop enabled and during boot up, tail the rc.log file and when it is about to reach the CDE startup, try repeated "ps -ef |grep dt" to see if anything starts up and dies or never tries to start up anything. If it never even tries to strat up, trace the /sbin/init.d/dtlogin.rc and see if something in there prevents it from starting up.