- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing 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
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
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-08-2002 06:28 AM
тАО07-08-2002 06:28 AM
Changing hostname
According to my attempts, it seems that some daemons (like NFS) don't like 'hostname -S'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2002 06:33 AM
тАО07-08-2002 06:33 AM
Re: Changing hostname
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2002 06:33 AM
тАО07-08-2002 06:33 AM
Re: Changing hostname
# /sbin/set_parms hostname
So to answer you question, yes a reboot is require.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2002 06:34 AM
тАО07-08-2002 06:34 AM
Re: Changing hostname
Yes it does require a reboot ,
set_parms hostname is the command to change it.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2002 06:34 AM
тАО07-08-2002 06:34 AM
Re: Changing hostname
Doing it the easy way does require a reboot
# set_parms hostname
I'm sure there is another way that reqiures more work
BTW -- I know of no arguments for the hostname command. You may have changed you hostname to -S
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2002 06:34 AM
тАО07-08-2002 06:34 AM
Re: Changing hostname
Probably the easist way to change the hostname is to run 'sbin/set_parms hostname'. A reboot is required and a variety of daemons will restart with the altered name. Be wary of any application software which is sensitive to 'hostname'. Be aware too, if you have any DNS servers with the hostname you are changing. Two key configuration files where the hostname is recorded are '/etc/hosts' and '/etc/rc.config.d/netconf'.
Regards!
...JRF...
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2002 06:38 AM
тАО07-08-2002 06:38 AM
Re: Changing hostname
Yes it does, after you issue the set_parms hostname command to change it, you will be prompted to reboot your system.
Mike Elleby