- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hostname problem
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
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
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
тАО09-12-2007 01:11 AM
тАО09-12-2007 01:11 AM
Hostname problem
While installing the OS the hostname was set 'chittra1'.
The 'hostname' command returns the following line only:
-a
but the 'uname -a' command returns the following line:
HP-UX chittra1 B.11.23 U 9000/800 2068830207 unlimited-user license
In both cases the hostname should be same.
Please note that in the /etc/hosts file the hostname is chittra1
Please help.
Rgds,
Rana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2007 01:16 AM
тАО09-12-2007 01:16 AM
Re: Hostname problem
It seems fairly common people mistake hostname -a with uname -a.
You should be able to just #hostname chittra1 to fix it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2007 02:22 AM
тАО09-12-2007 02:22 AM
Re: Hostname problem
Thank you very much for your willing help us.
I have already inform to Kranti two way we can resolve this issue:
1) # set_params --> fix the
2) # hostname
Thanks once again for your cooperation and support.
Best Regards
Mohammad Yaqub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2007 03:00 AM
тАО09-12-2007 03:00 AM
Re: Hostname problem
Like said above you will need to try the hostname on the command line or use "set_params hostname" This will cause a reboot.
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2007 04:14 AM
тАО09-12-2007 04:14 AM
Re: Hostname problem
#set_parms hostname, will prompt you to change new hostname. It will ask you to reboot (Y/N) ? Just say N.
It will take effect after you reboot, but /etc/rc.config.d/netconf has updated to newer hostname.
WK
please assign points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2007 12:05 AM
тАО09-13-2007 12:05 AM