Operating System - HP-UX
1832609 Members
2262 Online
110043 Solutions
New Discussion

HPUX Hostnames longer than 8 characters.

 
Steve Luther
Occasional Contributor

HPUX Hostnames longer than 8 characters.

I have an ignite server running on HPUX 11.11, and I have currently 5 clients all with hostnames 9 characters long, when I ignite the machines I get a message telling me the hostname is to long and do I want to change it. If I say no it all still works but when the machines install and I do uname -a I get "unknown" instead of the hostname. Now I know that HPUX can handle 128 character hostnames so why am I getting problems with only 9 character ones? is there summat I need to change somewhere in order to stop getting warning messages and also "unknown" instead of the hostname. These machines do not have medusa on them and never will, I know medusa can not handle more than 8 character hostnames but what is the crack with ignite/hpux.

Cheers
Steve
3 REPLIES 3
harry d brown jr
Honored Contributor

Re: HPUX Hostnames longer than 8 characters.


What version of ignite are you using?

What's the patch level of your ignite server?

Are your clients expected to have hp-ux 11.11 ?

live free or die
harry d brown jr
Live Free or Die
Peter Godron
Honored Contributor

Re: HPUX Hostnames longer than 8 characters.

Steve,
looking at previous solutions, searching for 'hostname length' I found.
Yes, you can change the length of the hostname (/etc/rc.config.d/netconf etc.
BUT
this may/will cause other programs to stop working correctly.
Regards
Steve Luther
Occasional Contributor

Re: HPUX Hostnames longer than 8 characters.

I think I have figured out the problem and it seems to be a conflict between nodename and hostname, aparently HPUX doesn't allow nodenames to be longer than 8 characters but hostname can be longer, the UNAME bit is also restricted to 8 characters, nodename is usually set the same as hostname by default but you can change nodename and hostname to be differnet. I reckon I need to keep reading.

As for my server, it is running 11.11 with the latest patch release of qpk and hwe.

Also the latest version of ignite.

Not sure how often 11.11 will be neaded as this ignite server is set up in a test centre in Amsterdam to install test machines only.

I will plod on and do more research.

Cheers
Steve