- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hostname Maximum Character 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
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
тАО11-05-2003 08:01 PM
тАО11-05-2003 08:01 PM
Thanks
S.Jagadesh
Solved! Go to Solution.
- Tags:
- hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 08:06 PM
тАО11-05-2003 08:06 PM
Re: Hostname Maximum Character length
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000068695446
"uname -n" returns "unknown" DocId: UCMDSKBRC00012527 Updated: 5/28/03 11:22:00 AM
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 08:07 PM
тАО11-05-2003 08:07 PM
Re: Hostname Maximum Character length
The default is 8.
The maximum value is 64.
It is generally not advised to increase it from the default value due to some compatibility issues.
HTH
aparna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 08:09 PM
тАО11-05-2003 08:09 PM
Re: Hostname Maximum Character length
The name_of_host argument is restricted to
MAXHOSTNAMELEN characters as defined in
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 10:19 PM
тАО11-05-2003 10:19 PM
Re: Hostname Maximum Character length
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2db614a24fd1d4118fef0090279cd0f9,00.html
and
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc2b7d5fab40ed6118ff40090279cd0f9,00.html
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 11:51 PM
тАО11-05-2003 11:51 PM
Re: Hostname Maximum Character length
What is the maximum lenght of Hostname. As the reply i come to know that is 64, but kindly clarify me whether is it 64 or 63.
Thanks
Jagadesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2003 12:02 AM
тАО11-06-2003 12:02 AM
Re: Hostname Maximum Character length
Every reference I've seen says it's 64 characters but - I will repeat - I would NOT exceed 8 characters. You're asking for far more trouble than it's worth.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2003 12:07 AM
тАО11-06-2003 12:07 AM
Re: Hostname Maximum Character length
This hostname length qurey is for testing purpose only. We are not going to do this in the production environment. We need to exactly know what is the maximum character support for Hostname.
Thanks
Jagadesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2003 01:39 AM
тАО11-06-2003 01:39 AM
SolutionBut, here's the answer:
You can go to a max of 64 characters, but DON'T EXCEED 8 CHARACTERS!
Here's why:
o...There is some important distinction between "hostname" and "nodename", which I have never understood.
o...Many HP-UX utilities, such as swinstall, for example, don't understand hostnames longer than 8 characters. So, if you:
.. swinstall -s longhostname:depot_name
he just plain won't be able to find it. And the error message won't much help you.
o...There are many other examples of this, which I can't remember. JUST DON'T EXCEED 8 CHARACTERS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2003 12:36 PM
тАО11-06-2003 12:36 PM
Re: Hostname Maximum Character length
the "nodename" command returned the name of the system in the "ns transport/probe" namespace (stuff from the MPE systems)
the "uname" command returns the name of the system in the "uucp" namespace.
uname has an 8 character limit.
hostname has a 64 character limit
i forget about nodename, and it may have been usurped for the uname stuff - it may be "nodename" in the config files to set the uname name...
anyhow, i have set the "hostname" of my personal workstation (hp-ux 11) to "tardy.cup.hp.com" and the uname name to "tardy"
the wrinkles arise when you want the host part of the FQDN to be > 8 characters - some utilities/programs/scripts that really mean to be operating in the "internet" namespace are buggy and are using the uname command instead of the hostname command. if you do not have an "alias" in the uname space that maps to what you have in the internet space, this can be a problem.
it is not possible to increase the limit. it is hardcoded within the kernel/an include file.