- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hostname failed.
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
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-01-2004 02:21 PM
07-01-2004 02:21 PM
hostname failed.
But it is ok to resolve the hostname in a mean while. Does anyone has the experience about this problem?
vpar1)-s:/#
(vpar1)-s:/#
(vpar1)-s:/#hostname
-s
(vpar1)-s:/#hostname
-s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 02:43 PM
07-01-2004 02:43 PM
Re: hostname failed.
He must have typed
hostname "\-s" or some thing like that
Why dont you fix it ?
hostname
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 02:52 PM
07-01-2004 02:52 PM
Re: hostname failed.
correct the hostname using the hostname command and edit the /etc/rc.config.d/netconf to make the changes permanent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 03:22 PM
07-01-2004 03:22 PM
Re: hostname failed.
(vpar1)-s --It is 9 characters.
HP does not recommend using hostname more than 8 in length
why do you need to use special characters with your hostname configuration that too with hyphens ..
Do you have a standard format like that.
I would recommend using underscore instead of a hyphen.
really not sure what hp recommends.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 03:33 PM
07-01-2004 03:33 PM
Re: hostname failed.
hostname -s myhost
In HP-UX, there is no option for hostname such as -s. Perhaps some root user got confused with uname -S (note, not -s). If this value persists after a reboot, it has been configured into the start/stop scripts.
The hostname is set on bootup by a variable in /etc/rc.config.d/netconf. Edit this file to fix your problem. It should read something like this:
HOSTNAME="mycomputer"
Bill Hassell, sysadmin