- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: "uname -a" doesn't support hostname over 8 ch...
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
08-01-2002 01:06 PM
08-01-2002 01:06 PM
Any pointer ?
Thanks for your time
tj yang
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 01:18 PM
08-01-2002 01:18 PM
SolutionSorry, there is no patch available for this.
It's always been recommended to keep host names <= 8 characters because of the uname issue. Although hostnames can be up to 63 chars - it's simply not recommended.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 01:25 PM
08-01-2002 01:25 PM
Re: "uname -a" doesn't support hostname over 8 characters
However, you can change hostname to a different value, longer than uname. Edit the file: /etc/rc.config.d/netconf and put an entry for:
NODENAME="name8"
HOSTNAME="namelongerthan8"
name8 is the short name, limited to 8 characters or less. Make sure that /etc/hosts has both names as in:
12.34.56.78 name8 namelongerthan8
Make sure that /etc/host is used first via /etc/nsswitch.conf as in:
hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 01:30 PM
08-01-2002 01:30 PM
Re: "uname -a" doesn't support hostname over 8 characters
=> SD related tools (swinstall) will fail.
=> CDE (ToolTalk) will have some problem.
=> UUCP refuse to work and it'll give error like "system unknown".
Like Jeff said, there is no patch that addresses this issue right now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 04:27 AM
08-02-2002 04:27 AM
Re: "uname -a" doesn't support hostname over 8 characters
8 chars can handle quite a bit of flexibility.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:31 AM
08-02-2002 05:31 AM
Re: "uname -a" doesn't support hostname over 8 characters
Thanks guys for your informative replies. I didn't know uname is part of UUCP protocol commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 10:07 AM
08-02-2002 10:07 AM
Re: "uname -a" doesn't support hostname over 8 characters
my advice is to do what bill suggested, and start treating the UUCP and IP namespaces separately, and make sure that anything that is going to be doing IP communications is not using uname or utssys or friends and is only using stuff like hostname, gethostname and such.
and if you are on a support contract, excercise it and submit an ER/defect against the current uname limitations.