- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with HOSTNAME
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 08:14 PM
07-24-2006 08:14 PM
I just installed a machine using a make_recovery of another machine. However the new machine still shows the name of the cloned machine (with hostname command) even if into file /etc/rc.config.d/netconf the name is correct.
The strange thing is that when I launch the command set_parms hostname it shows me the correct name and then, if I run again hostname command (after having launched the set_parms hostname) it shows the correct name.
But when I reboot the machine, it shows again the old name.
Can anyone help me?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 08:20 PM
07-24-2006 08:20 PM
Re: Problem with HOSTNAME
and when you type command
uname -a
what is the output?
Let's try and check also the file
/etc/issue.
HTH
regards
pg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 08:22 PM
07-24-2006 08:22 PM
Re: Problem with HOSTNAME
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 08:26 PM
07-24-2006 08:26 PM
SolutionAlso make sure there is not a "backup" of the netconf file in /etc/rc.config.d/ that has the old hostname.
You may wish to run the set_parms without any options and set evertything again, but first remove the entries in hosts file, just to make sure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 08:31 PM
07-24-2006 08:31 PM
Re: Problem with HOSTNAME
try to set the hostname with the command
uname -S
or with the command
hostname
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 08:37 PM
07-24-2006 08:37 PM
Re: Problem with HOSTNAME
grep HOSTNAME /etc/rc.config.d/*
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 08:40 PM
07-24-2006 08:40 PM
Re: Problem with HOSTNAME
#set_parms hostname
type again your correct hostname, please not skip to type your correct hostname.
and reboot yout system.
Thanks
freddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 08:41 PM
07-24-2006 08:41 PM
Re: Problem with HOSTNAME
Thank you all for the help.
Regards
ALe