- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Setting 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
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-13-2002 05:41 AM
02-13-2002 05:41 AM
Setting hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 05:45 AM
02-13-2002 05:45 AM
Re: Setting hostname
The maximum number of characters for the hostname is system dependent. HP-UX on the S800 has a limit of 8 characters. This is defined in the C language as 9 characters - 8 ASCII characters followed by an ASCII zero (null). If a remote system tries to call a S800 machine and has a hostname of more than 8 characters, it will fail to communicate with that system - reporting that the system is unknown.
Suggest you keep the hostname to 8 characters or less.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 05:48 AM
02-13-2002 05:48 AM
Re: Setting hostname
this question was discussed earlier in the forun. Here is some of those threads,
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x77d1cf38d6bdd5118ff10090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2cbfa1abbac8d5118ff10090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x038d972194d6d5118ff40090279cd0f9,00.html
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 06:43 AM
02-13-2002 06:43 AM
Re: Setting hostname
stick to the system default no of characters..
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 06:47 AM
02-13-2002 06:47 AM
Re: Setting hostname
Check this out:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x77d1cf38d6bdd5118ff10090279cd0f9,00.html
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 06:55 AM
02-13-2002 06:55 AM
Re: Setting hostname
In HPUX 11.00,
If we make the system hostname to be more than 8 characters it will accept that but after when we reboot at the startup screens it will display "setting hostname [FAIL]" and the Xwindows will not work.We can't login into CDE.
But in the file "/usr/include/sys/param.h" value for the parameter "MAXHOSTNAMELEN" is by default set to 64.
Better to use 8 character name if required you can use alias with more characters.
-Vijay.