- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Long Hostnames
Operating System - HP-UX
1753767
Members
5503
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-13-2000 08:32 AM
тАО07-13-2000 08:32 AM
Long Hostnames
I have 11.0 installed and a hostname of 15 characters. I know the dangers of having more than 8 characters (no lectures please). I also know that 11.0 supports up to 64 characters (it's in the docs). I need to know how to get the OS to accept a hostname that's more than 8 characters.
/etc/rc.log states:
Setting hostname
Output from "/sbin/rc1.d/S320hostname start":
----------------------------
Nodename must be less than9 characters
EXIT CODE: 1
"/sbin/rc1.d/S320hostname start" FAILED
I know I've solved this before but I can't remember what I did! I've checked all the docs even related to hostname/nodename. Any ideas?
/etc/rc.log states:
Setting hostname
Output from "/sbin/rc1.d/S320hostname start":
----------------------------
Nodename must be less than9 characters
EXIT CODE: 1
"/sbin/rc1.d/S320hostname start" FAILED
I know I've solved this before but I can't remember what I did! I've checked all the docs even related to hostname/nodename. Any ideas?
Conformity Destroys a mans initiative and independence. It supresses his powerful inner drive to do his own thing.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2000 09:21 AM
тАО07-13-2000 09:21 AM
Re: Long Hostnames
You can modify the utsname.h file in /usr/conf/h --- note: read the .h file, other parameters must be changed! Then rebuild the kernel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2000 09:27 AM
тАО07-13-2000 09:27 AM
Re: Long Hostnames
I think there are really two issues here. HP-UX uses both hostname & nodename which are usually the same but are not required to be.
hostname can be greater than 8 characters and is changed by:
hostname new-hostname
nodename is limited to 8 characters and is changed by:
uname -S new-name
Brian
<*(((>< er
hostname can be greater than 8 characters and is changed by:
hostname new-hostname
nodename is limited to 8 characters and is changed by:
uname -S new-name
Brian
<*(((>< er
Perception IS Reality
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2000 10:58 AM
тАО07-13-2000 10:58 AM
Re: Long Hostnames
OK I did find out all that information before posting. I guess there really is no simple answer. I'm told NFS requires the 8 char limit or won't work because it uses uname which relies on nodename. this is all tied to UCP and backwards compatability issues. Hostname has the 64 char limit. So can I really change the utsname.h file and dependencies then rebuild the Kernel and get this to work with uname? It sure would be nice!
Conformity Destroys a mans initiative and independence. It supresses his powerful inner drive to do his own thing.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP