- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hostname length
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
05-23-2004 04:31 PM
05-23-2004 04:31 PM
When I set hostname to 9 bytes, reboot it, the error messgae can be found in /etc/rc.log as below, Does anyone has the experiecne on this issue? Thanks.
setting hostname
Output from "/sbin/rc1.d/S320hostname start":
----------------------------
Nodename must be less than9 characters
EXIT CODE: 1
"/sbin/rc1.d/S320hostname start" FAILED
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 04:36 PM
05-23-2004 04:36 PM
Re: hostname length
Have a look at the output of 'uname -a'
There is only enough space for 8 characters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 04:39 PM
05-23-2004 04:39 PM
Re: hostname length
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 04:42 PM
05-23-2004 04:42 PM
Re: hostname length
rafeeq rahman's hpux system administration book says, the host name can be upto 64 characters.. but the first or only component of hostname should contain 8 characters or less.
i think 64 characters is with respect to a fully qualified domain name
with best wishes
naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 06:16 PM
05-23-2004 06:16 PM
Re: hostname length
hostname can be longer than 8 characters, command uname -a shows only first 8 characters. This leads to error while executing swlist,swremove,swinstall etc..
Then you need to set the hostname to fully qualified name
#hostname < hostname>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 06:46 PM
05-23-2004 06:46 PM
Re: hostname length
Take look at similar thread here. Hostname length is disscussed in more details there. Personnaly i would suggest to keep it upto 8 characters only.
Hope that helps.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=364972
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 07:42 PM
05-23-2004 07:42 PM
Re: hostname length
all previous responses are good.
I also answered to this question:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=364972
HTH.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 08:01 PM
05-23-2004 08:01 PM
Re: hostname length
you have more than possible (24)^8 names!
Peace, R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 08:03 PM
05-23-2004 08:03 PM
Solutionhostname more the 8 char is not supported by HP .
any problem that you have will issue a request to change this .
the hostname can be more the 8 char but the system will try to recognize only the first 8 char of the hostname .
much better to have hostname less then 9 char .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 08:07 PM
05-23-2004 08:07 PM
Re: hostname length
Check this DOC as what all problems you will face if you go beyond 8.
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063236997