HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

hostname is unknown after reboot

 
LeThien
Occasional Contributor

hostname is unknown after reboot

I have a trouble with my OS.  After i configured DNS and i can not see my hostname after it reboot.  Please help me to fix it :( Thank you !!!

4 REPLIES

Re: hostname is unknown after reboot

What OS are you using?  HP-UX?

Bill Hassell
Honored Contributor

Re: hostname is unknown after reboot

What version of HP-UX are you using?

You wrote:

After I configured DNS...

What exactly did you do?
Did you change /etc/hosts or /etc/nsswitch.conf?
What were the changes?

and i can not see my hostname after it reboot

What are you doing to 'see' the hostname?
Is the hostname incorrect or not found?
Are you using the hostname command?
Did you use the nslookup or nsquery command?
Did you use ping from an outside system?
Have you tested your DNS server for a correct entry?
    hint: nsquery $(hostname) myDNSserver



Bill Hassell, sysadmin
LeThien
Occasional Contributor

Re: hostname is unknown after reboot

I use HP UX 11.31 BOE

LeThien
Occasional Contributor

Re: hostname is unknown after reboot

I configure /etc/resolv.conf and vi NSS via SMH. After that my server can not found the hostname. It just " unknown" after i reboot. But when i "set_parms hostname" it still announce the real name of OS ( not unknown )