- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing host info w/o rebooting
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
02-08-2001 01:11 PM
02-08-2001 01:11 PM
Are these the right steps to follow without rebooting?
1. Change the hostname and DNS server name in /etc/hosts
2. Change the domain name in /etc/resolv.conf
3. Change hostname in /etc/rc.config.d/netconf
then run:
4. hostname
Thanks for any replies!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 01:22 PM
02-08-2001 01:22 PM
Re: Changing host info w/o rebooting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 06:05 PM
02-08-2001 06:05 PM
Re: Changing host info w/o rebooting
Yes, the steps you have will change the hostname, however, you may have problems if you don't reboot.
Some applications read the hostname when they are launched and won't recognize that the hostname has changed. CDE, for example, becomes very ill when the hostname is changed. To "really" change the hostname, you should reboot.
--Bruce
p.s. You may also want to run
uname -S
which sets the node name (system name) that is used in the utsname structure. See the uname manpage for more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 09:36 PM
02-08-2001 09:36 PM
Re: Changing host info w/o rebooting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 11:11 PM
02-08-2001 11:11 PM
Re: Changing host info w/o rebooting
I hope you're not running Oracle on your servers. The hostname is hard-coded in the database file and you'll have to ask your dba to fix this...
I agree with Tim when he's saying "changing a hostname should be avoided like the plague".
Good luck,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2001 12:24 AM
02-09-2001 12:24 AM
Re: Changing host info w/o rebooting
/sbin/set_parms hostname
but it needs a reboot at the end...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2001 07:20 AM
02-09-2001 07:20 AM
Solution