Friday, August 12, 2005

ptree CDE hange

CDE hang

Hi,

When I use the X manager to connect to one of the systems, it hang on the
"Starting the Common Desktop Environment CDE Version 1.4" after supplied the
login ID and password.

How to solve this problem?

Thanks in advance.

Reply


Michael Tosch
You can debug it.

ptree `pgrep dtlogin | head -1`

and run "truss -p" on the youngest process ID.

How to go about it?

# truss -p 6005
poll(0xFFBEFAA8, 2, -1) (sleeping...)
signotifywait() (sleeping...)
lwp_cond_wait(0xFF1234E8, 0xFF1234F8, 0xFF11CD80) (sleeping...)
lwp_cond_wait(0xFF11CD28, 0xFF11CD10, 0x00000000) (sleeping...)

lwp_cond_wait(0xFF1234E8, 0xFF1234F8, 0xFF11CD80) Err#62 ETIME
poll(0xFFBEFAA8, 2, -1) (sleeping...)
signotifywait() (sleeping...)
lwp_cond_wait(0xFF1234E8, 0xFF1234F8, 0xFF11CD80) (sleeping...)
lwp_cond_wait(0xFF11CD28, 0xFF11CD10, 0x00000000) (sleeping...)

> Sorry, how to go about running the ptree command?

> YC

man ptree

/usr/bin/ptree
older Solaris versions have
/usr/proc/bin/ptree

Here you go:

# ptree -a 9933
1 /etc/init -
6005 /usr/dt/bin/dtlogin -daemon
9933 /usr/dt/bin/dtlogin -daemon
9957 /bin/ksh /usr/dt/bin/Xsession
9983 /usr/dt/bin/solregis -cd
9997 /usr/dt/bin/sdt_shell -c unset _ PWD; .
/export/home/ope
10000 /usr/bin/bash

Hmm,

you have likely an offending line in your .profile,
looks like you have "/usr/bin/bash",
which starts another interactive session.

Remove this line!

0 Comments:

Post a Comment

<< Home