Operating System - HP-UX
1828360 Members
4008 Online
109976 Solutions
New Discussion

uname -a command hostname unknown

 
Asif_8
Regular Advisor

uname -a command hostname unknown

Hi !

When run command uname -a i got hostname unknown

HP-UX unknown B.11.23 U ia64 4002641264 unlimited-user license but hostname commannd
#hostname
ngdiscov




2 REPLIES 2
Christian Tremblay
Trusted Contributor

Re: uname -a command hostname unknown

uname -S hostname

should set it

uname -a to check if OK

Chris
James R. Ferguson
Acclaimed Contributor

Re: uname -a command hostname unknown

Hi:

The NODENAME as reported by 'uname' is usually derived from the $HOSTNAME as set in '/sbin/init.d/netconf'. This occurs when '/sbin/init.d/hostname' runs and $NODENAME is *empty*.

What has changed? Did you ever have a complete 'uname' display? Did you change the server's hostname? Did you attempt to reset the NODENAME with 'uname -S' ?

Regards!

...JRF...