Operating System - HP-UX
1847704 Members
4551 Online
110265 Solutions
New Discussion

Re: Problem with CDE starting up

 
SOLVED
Go to solution
dave daniels_2
Valued Contributor

Problem with CDE starting up

I have a C240 that when I log into CDE I get an
error that CDE cannot be started and that I should review the errorlog file within .dt.
The errorlog file conatins the following:
"dtsession: The ToolTalk session server (ttsession) could not be started. This
indicates that either ToolTalk is not installed or that it is not installed correctly on this machine. Please see your System Administrator."

I than need to start a fail safe session to log in.

Any ideas?
Thanks,
Dave
3 REPLIES 3
Alex Glennie
Honored Contributor
Solution

Re: Problem with CDE starting up

1) From the CDE login select Options -> Session -> Failsafe Session
and login as root.
2) Run /usr/contrib/bin/X11/dr_dt. The end of the output from this
script says: X ERRORs and X WARNINGs. These errors and warnings
should be resolved before CDE will run properly.
3) Check the error log /var/dt/Xerrors
Check the error log $HOME/.dt/errorlog
4) The output from "nslookup " and "nslookup " should
be the same. This checks for a) duplicate IP addresses or
hostnames or b) problems with name resolution. If nslookup fails
then CDE will fail to start. If the first line returned from nslookup
is: "Name Server" then you are using DNS. Move "/etc/resolv.conf" to
another name, i.e. /etc/resolv.conf.orig and rerun nslookup. If
nslookup now succeeds then try logging into CDE again.
5) Check permissions and ownership of the following files:
-r--r--r-- 1 bin bin 616 Jul 1 16:03 /etc/hosts
-r--r--r-- 1 root sys 1010 Jun 25 18:22 /var/adm/inetd.sec
6) Check the contents of /var/adm/inetd.sec. It should contain
dtspc allow
spc allow
mserve allow
If not add the lines and run "/usr/sbin/inetd -c" to reread the file.
7) /usr/sbin/ping
You should get back 0% packet loss. If you get something different
then check your network configuration.
8) Make sure the $LANG environment variable is set correctly. It should
be set to C or unset for American-English.
9) Exit the failsafe session. From the CDE login select Options ->
Command Line Login. When the screen turns black, press and
you should get a Console Login prompt. Login as root.
10) mv $HOME/.dt $HOME/.dt.orig
mv $HOME/.dtprofile $HOME/.dtprofile.orig
exit (to return to CDE) - try logging in as root.

keep me posted and let me know your O/S and if root is affected too if the above does not resolve ....
Alex Glennie
Honored Contributor

Re: Problem with CDE starting up

Moving this post around is very confusing once someone has already replied to it .... tell me why CDE cannot be considered a graphics/workstation related issue and I'll take it all back.
dave daniels_2
Valued Contributor

Re: Problem with CDE starting up

Alex,

Thanks for your help, it turned out that renaming the resolv.conf file to care of the
problem. Name server was pointing to the wrong IP address.

Thanks again,
Dave