Operating System - HP-UX
1834458 Members
3218 Online
110067 Solutions
New Discussion

Re: CDE and Network in conflict

 
sandro ginnari
Occasional Contributor

CDE and Network in conflict

I have a problem with the network and CDE.
When I configure the network the CDE dose not work. If I disconnect the network cde starts working again!
What happened?
In the /var/dt/Xerrors i found this:
host name is not valid setting display:0

Can someone help me?
Sandro
5 REPLIES 5
Andy Monks
Honored Contributor

Re: CDE and Network in conflict

Looks like your networking isn't setup correctly on this machine.

Check that /etc/hosts is correct (and that the 'hostname' command matches what is in there).

If your using DNS, check that your hostname resolves correctly (and just because your using DNS, /etc/hosts still must be correct for your hostname and localhost).
CHRIS_ANORUO
Honored Contributor

Re: CDE and Network in conflict

Please check if you have an ip-address conflict.
check the file /etc/rc.config.d/netconf for the node name and ip-address
run ifconfig
re-run the cde start up program dtlogin start
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Venu_2
Regular Advisor

Re: CDE and Network in conflict

Hi,

I agree with the above two. Hope this could help you.

While going to CDE HP-UX checks for all networking parameters during which it is finding some problem and comming out.

Check for your /etc/nsswitch.conf which contains the search order.

if you donot have dns the first options should be files

regards

venu

David Rodman
Frequent Advisor

Re: CDE and Network in conflict

I hvae also had this problem in CDE. It appears to want to do a reverse lookup
on the host name and make sure that it is not being spoofed.
To check the host name use the command : hostname
To check what CDE is getting use the command: nslookup

Any mismatch in your hosts file or DNS could result in the error you saw.

good luck
Sunny Chen
Occasional Advisor

Re: CDE and Network in conflict

Yes, I got this kind of problem a lot of time. Just because Xserver can't find the host, if we don't setup the network correctly. My way:
1. Check /etc/hosts or type "hostname" to check your hostname.
2. Make sure your IP is not a duplicate IP on the whole network.
3. Check /etc/resolv.conf, if you have that means you have DNS setting, make sure your /etc/nsswitch.conf setting is correct.
4. use "nslookup", type your hostname, and make sure you can get the correct response.
5. After these, should be fine.
Life is 10 percent what you make it and 90 percent how you take it.