GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Boot Script error for setting hostname~
Operating System - HP-UX
1847123
Members
5686
Online
110263
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
Forums
Discussions
Discussions
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
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
10-31-2005 11:51 AM
10-31-2005 11:51 AM
Boot Script error for setting hostname~
Hi~
I installed the rp4440 server.
It occur error booting script for setting hostname.
Setting hostname ............ FAIL *
I restarted the hostname daemon but the result same.
mobilegw1 /# /sbin/init.d/hostname start
Nodename must be less than9 characters
EXIT CODE: 1
mobilegw1 /# uname -S mobilegw2
Nodename must be less than9 characters
The system hostname is mobilegw1.
Present, hostname less than 9 characters.
What differ the hostname and nodename?
sloving...
I installed the rp4440 server.
It occur error booting script for setting hostname.
Setting hostname ............ FAIL *
I restarted the hostname daemon but the result same.
mobilegw1 /# /sbin/init.d/hostname start
Nodename must be less than9 characters
EXIT CODE: 1
mobilegw1 /# uname -S mobilegw2
Nodename must be less than9 characters
The system hostname is mobilegw1.
Present, hostname less than 9 characters.
What differ the hostname and nodename?
sloving...
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2005 12:03 PM
10-31-2005 12:03 PM
Re: Boot Script error for setting hostname~
Hi:
The message *is* correct. The hostname you have chosen is *not* LESS THAN 9-characters. It's length is 9-characters.
For all purposes, the nodename and the hostname are the same. In HP-UX, for configuration purposes, they are identical.
Regards!
...JRF...
The message *is* correct. The hostname you have chosen is *not* LESS THAN 9-characters. It's length is 9-characters.
For all purposes, the nodename and the hostname are the same. In HP-UX, for configuration purposes, they are identical.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2005 02:32 PM
10-31-2005 02:32 PM
Re: Boot Script error for setting hostname~
In the sxtartup script you'll see that HOSTNAME is used for both NODENAME and HOSTNAME if NODENAME is not set. If you look at the man page for hostname, you'll see that there is a classic hostname used for commands like uname and UUCP. This name MUST be 8 characters or less. NODENAME can be set to a longer value because it is a network name. Generally, most HP-UX systems are set to 8 characters or less so HOSTNAME is fine. But if you'd like a NODENAME longer than 8 characters, edit the /etc/rc.config.d/netconf file and add the line:
NODENAME=alongername
If you put it next to the HOSTNAME= line, it will be easy to locate. The NODENAME is not often set since the /etc/hosts and/or DNS servers will set the network name of the system. However, if NODENAME is set, it should match the network name in /etc/hosts or DNS. A network name can be much longer than 8 characters.
Bill Hassell, sysadmin
NODENAME=alongername
If you put it next to the HOSTNAME= line, it will be easy to locate. The NODENAME is not often set since the /etc/hosts and/or DNS servers will set the network name of the system. However, if NODENAME is set, it should match the network name in /etc/hosts or DNS. A network name can be much longer than 8 characters.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2005 07:05 PM
10-31-2005 07:05 PM
Re: Boot Script error for setting hostname~
You can use longer host and node names by using "Node and Host Name Expansion product bundle" from HP. Available at http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=NodeHostNameXpnd
hth
hth
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.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP