Operating System - HP-UX
1833875 Members
1656 Online
110063 Solutions
New Discussion

Re: Ignite-ux - wrong hostname

 
SAM_24
Frequent Advisor

Ignite-ux - wrong hostname

Hi,

This is 11.11 install. Using golden image ignite server installed successfully on new system. Ignite log says install is success. When the first reboot NFS client service was failing.I took the system into single user mode and disabled NFS services.

I am able to bring the system up. Now the problem is hostname is wrong. Though netconf and hosts file has correct hostname my new client sets the hostname same as ignite server.

What is wrong? Where it is getting wrong info?

Help.

Thanks.
Never quit
5 REPLIES 5
Scott Van Kalken
Esteemed Contributor

Re: Ignite-ux - wrong hostname

try using /sbin/set_parms to set the hostname afterwards.

Take another ignite, then try reinstalling it.

My guess is that the ignite is from a different machine of the same hardware.
Sukant Naik
Trusted Contributor

Re: Ignite-ux - wrong hostname

Hi Raj,

Do the following,

As root:
# set_parms hostname

This will reset the hostname in the /etc/rc.config.d/netconf file.

This must solve your issue.

-Sukant
Who dares he wins
SAM_24
Frequent Advisor

Re: Ignite-ux - wrong hostname

I got the answer.
Under /etc/rc.config.d there was one file named netconf_template. I removed this file and rebooted the system. Everything is working fine.

Any thoughts why system is using this file?

Thanks.
Never quit
Darrell Allen
Honored Contributor

Re: Ignite-ux - wrong hostname

Hi Raj,

When /etc/rc.config sources files in /etc/rc.config.d, it checks for typical names used for backup files and skips them. If the name of a file in /etc/rc.config.d doesn't match one of those, it is sourced.

See this thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x87bd53921f1ad5118fef0090279cd0f9,00.html

Also look at /etc/rc.config

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Noam Meltzer
Advisor

Re: Ignite-ux - wrong hostname

The hostname should be supplied through a DHCP request.
When you first boot the server with "boot lan install" you should put the server on the same hub with a machine with a sniffer.
Now, watch how it broadcasts "DHCP Discover" and inside the packet itself, what it requests and what your DHCP server supplies it. (AKA. "DHCP Offer","DHCP Request", and "DHCP Ack")

If you'll watch closely you'll see that the clients request, asks for an hostname. If your DHCP server does not return it to ther client, the client just won't know its name from itself.

Noam
HP engineers must live on Mars. Otherwise how can you explain the fact that they invented the wheel themselves?