- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- An issue in changing the server hostname that The ...
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
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
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
04-19-2013 01:09 AM
04-19-2013 01:09 AM
An issue in changing the server hostname that The new hostname has not been activated.
Hi Experts
I have HP-UX machine as the following
# uname -a
HP-UX racdb2 B.11.31 U ia64 1858048741 unlimited-user license
I Changed the server name from racdb2 to reg-sv2 by the command
set_parms hostname
after rebooting the hostname racdb2 is stil valid where the hostname reg-sv2 has not validated
i did the procedure manualy by changing
1. /etc/hosts
2. hostname reg-sv2
3. uname -S reg-sv2
4. change hostname in /etc/rc.config.d/netconf to reg-sv2
5. /sbin/init.d/stop
/sbin/init.d/start
after server rebooting the original hostname racdb2 is still valid where the hostname has not validated.
Can anybody help. please.
Thanks to all.
- Tags:
- hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2013 06:16 AM - edited 04-19-2013 06:23 AM
04-19-2013 06:16 AM - edited 04-19-2013 06:23 AM
Re: An issue in changing the server hostname that The new hostname has not been activated.
Thanks to All
The issue has been solved by me.
the issue was that there was a duplication in the file netconf as the following
# ls /etc/rc.config.d/netconf*
netconf
netconf_orig
which made the hostname to conflict ,so when I deleted the the file netconf_orig
#/sbin/init.d/hostname start
then everything was working.
Thanks to eveybody who are working to solve people issues.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2013 06:24 PM
04-19-2013 06:24 PM
Re: An issue in changing the server hostname that The new hostname has not been activated.
You have discovered a very important feature in the /etc/rc.config.d directory. *EVERY* file in that directory will be executed during the rc script startup (and shutdown). That means you can NEVER store any old versions in that directory and especially no junk files as these can cause reboot failures. The common practice is to create an old directory and copy original files to that directory. That way, a history can be kept but will not interfere with operations in this directory.
Bill Hassell, sysadmin
- Tags:
- rc.config