System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to open GUI when I add nameserver entry in /etc/resolve.conf

ariharan.s
Occasional Visitor

Unable to open GUI when I add nameserver entry in /etc/resolve.conf

Hi,

I have HP-UXV11.31.I am able to browse Internet through Proxy when i given the "nameserver" entry in /etc/resolve.conf.
But i am unable to open a new Terminal with GUI Mode.

It says " Check to see that the desktop is properly installed and the hostname is correct(/etc/hosts) and that the network is properly configured."

I am able to login more than 2 GUI terminal when i remove the entry from /etc/resolve.conf.

Please help to resolve this issues


4 REPLIES
Jayakrishnan G Naik
Trusted Contributor

Re: Unable to open GUI when I add nameserver entry in /etc/resolve.conf

Hi

Do the /etc/hosts file have entry for your hostname? If not please add entry for your hostame in the correct syntax.

IPADDRESS FQDN hostname

Check your /etc/nsswitch.conf file. Can you copy the contends of this file here?

Thanks & Regards
Jayakrishnan G Naik
ariharan.s
Occasional Visitor

Re: Unable to open GUI when I add nameserver entry in /etc/resolve.conf

Please see the syntax below

/etc/hosts

172.16.70.123 poppy
127.0.0.1 localhost loopback

/etc/nsswitch.conf

passwd: files
group: files
hosts: files
ipnodes: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files

The server is not in NIS

Thanks
Steven Schweda
Honored Contributor

Re: Unable to open GUI when I add nameserver entry in /etc/resolve.conf

> /etc/nsswitch.conf
> [...]

If you;re using only "files" and not "dns" in
there, then why do you care what's in
"/etc/resolve.conf"?
ariharan.s
Occasional Visitor

Re: Unable to open GUI when I add nameserver entry in /etc/resolve.conf

Yes.. you are right Now I changed in /etc/nsswitch.conf file.Now it's working fine. Thank you for your help