Operating System - HP-UX
1846637 Members
2188 Online
110256 Solutions
New Discussion

Logging problem after setting DNS

 
Andrzej Kruszynski
Occasional Contributor

Logging problem after setting DNS

Because two DNS servers were introduced to our company network, I set my B2000 workstation (with HP-UX 11.0) to use the servers. I made it by copying "/usr/newconfig/etc/rc.config.d/netconf" to "etc/rc.config.d/netconf" and after rebooting by setting new network properties.
Now, everything works fine for the root but another users can not login. The system is saying that there is something wrong with the "hosts" file or network settings and recommends to login using failsafe session.
The workstation sees the net and is also seen by another computers.
Any suggestions?

Regards
Andrzej Kruszynski
Andrzej Kruszynski
4 REPLIES 4
U.SivaKumar_2
Honored Contributor

Re: Logging problem after setting DNS

Hi,

DNS servers should be configured in /etc/resolv.conf file.
domain yourdomain.com
nameserver 10.1.1.1

And edit /etc/nsswitch.conf file
hosts: dns files

regards,
U.SivaKumar
Innovations are made when conventions are broken
T G Manikandan
Honored Contributor

Re: Logging problem after setting DNS

The problem should be with the name resolution.

The server should be able to resolve itself for the hostname and ip.

Just do a
#nslookup

>

This should resolve properly.

Revert
Steven E. Protter
Exalted Contributor

Re: Logging problem after setting DNS

Before you go messing with /etc/nsswitch.conf be aware of two things that killed me when I did it two years ago.

1) If you are unfortuneate enough to use openspool, you will have to export your configuration, reinstall it after making the swtich and import a modified configuration.

2) I you use omniback, depending on the version number, it might cease to function, requiring a patch and some work to get your backups going.

On the upside, you'll find sendmail works a lot better after making the switch.

A more specific logon error message would be useful in assisting you further.
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Judy Traynor
Valued Contributor

Re: Logging problem after setting DNS

Andrzej

Run the script

"set_parms initial"

As root in failsafe mode

This will walk you through the setup.

after the reboot, you will be fine.
Sail With the Wind