1835268 Members
2311 Online
110078 Solutions
New Discussion

CDE problems

 
SOLVED
Go to solution
mahmoud khalefa
Advisor

CDE problems

Dear all;
i was connected to my server using trmnal emulator"exceed humingbird" and it was working correctly after that i'm add DNS which he wasn't exist after i add it when login using exceed it give me error and don't open the CDE desktop, can you please help me with that......
15 REPLIES 15
Balaji N
Honored Contributor

Re: CDE problems

hi,

mostly it is a host resolution problem.

the question is also a bit not clear. u added dns meaning u added the entry to /etc/nsswitch.conf for hostname resolution.

check if the following outputs are consistent.

1. nslookup hostname.
2. nslookup ipaddress.
3. ping ipaddress.
4. ping hostname.
5. getip hostname.

are u able to see any errors in syslog.

-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Steve Steel
Honored Contributor

Re: CDE problems

Hi


The nslookup is good advice.

Do it for the name and ip of the server and the PC

Also look in /var/dt/Xerrors and

run

/usr/contrib/bin/X11/dr_dt

Thet should be enough to give you a clue

steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
mahmoud khalefa
Advisor

Re: CDE problems

thanks for your reply ; i'am changed the DNS using set_parms addle netwrk
mahmoud khalefa
Advisor

Re: CDE problems

THANKS for reply
am tryed nslookup and /usr/contrib/bin/X11/dr_dt
but the problem stell comming up to me
chunxiao.li
New Member

Re: CDE problems

vi /etc/nsswitch.conf
change followed line:
hosts: file dns
or
hosts: file [NOTFOUND=continue] dns [NOTFOUND=return]
Steve Steel
Honored Contributor

Re: CDE problems

Hi

Did dr_dt find any faults

Was there an error in /var/dt/Xerrors

What error does exceed give


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
mahmoud khalefa
Advisor

Re: CDE problems

Dear chunxiao.li ;
i have no file with the name of nsswitch.conf but i have the folowing filr;
nsswitch.compat
nsswitch.files
nsswitch.hp_defaults
nsswitch.nis
nsswitch.nisplus
do you mean one of them?
mahmoud khalefa
Advisor

Re: CDE problems

no.....
there is no error on /var/dt/Xerrors
Steve Steel
Honored Contributor

Re: CDE problems

Hi


see man switch


if you have /etc/resolv.conf then you need
/etc/nsswitch.conf also.


What is in your resolv.conf


WHAT ERROR COMES FROM EXCEED

steve steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Alex Glennie
Honored Contributor
Solution

Re: CDE problems

Qu what was the error CDE gave you ? Also check in $HOME/.dt/startlog.

It sounds as if everything is pointing at a problem with your DNS setup :

my advise is if you don't have a nsswitch.conf cp
nsswitch.compat -> nsswitch.conf and edit it accordiingly ie

hosts: files [NOTFOUND=return] DNS

to look in /etc/hosts prior to DNS.

Lastly ensure the PC's ip_address & hostname are in the /etc/hosts file ... use nslookup to check.

Does the problem still occur ? if yes post the original errors in case this isn't a DNS issue please
Balaji N
Honored Contributor

Re: CDE problems

hi,
could u please explain what u meant by adding dns.

ok. if there is no nsswitch.conf file, copy the nsswitch.file to nsswitch.conf and replace the

hosts: files
line to

hosts: files dns

hth
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
mahmoud khalefa
Advisor

Re: CDE problems

i still have the same problem evry time am try to log on the server using Exceed the following message are come up:

"the desktop messaging system could not be started.
to correct the problem:
1-chose[ok] to return to the login screen.
2-select Failsafe session from the login screen's option menu and log in.
3- check to see that the desktop is properly installed , the hostname is correct (/etc/hosts)and that the network probebly configured.
Steve Steel
Honored Contributor

Re: CDE problems

Hi


See my message in

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x792ac4c76f92d611abdb0090277a778c,00.html


Do you have a very long host name including domain


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Norman_21
Honored Contributor

Re: CDE problems

Hello,

If you are not using your Server as a DNS then rename
the file resolv.conf:

# mv /etc/resolv.conf /etc/resolv.old

You should be able to login.

Thanks and good luck.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
mahmoud khalefa
Advisor

Re: CDE problems

Dear all;
sorry for my delay of resbonse because i'm was have aproblem with the internet connection.
first mr Steve Steel the link does not open with me.
secand IT WAS SOLVED ..... thes after doing the follow
cp
nsswitch.compat -> nsswitch.conf and edit it accordiingly ie

hosts: files [NOTFOUND=return] DNS

yes as Alex Glennie has advise me
THANKS ALOT TO ALL OF YOU :)