HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "uname -S <name greater than 9 chars>" fails
Operating System - HP-UX
1837313
Members
2936
Online
110116
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
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
11-01-2001 08:24 PM
11-01-2001 08:24 PM
"uname -S <name greater than 9 chars>" fails
Hi all,
Iam having a server running HPUX11i. I had setup the dhcp server to give ipaddress for lan0 and when the server boots Iam seeing in the HPUX Startup sequence that the hostname setup script (/sbin/rc1.d/S320hostname fails.
"Setting hostname..... FAIL *"
When I run this from command line I figured out that the hostname / nodename that the dhcp server setsup is longer than 9 chars and so the command "uname -S ${HOSTNAME} fails.
Reading some docs I figuredout that there is a variable in sys/utsname.h structure has a variable "UTSLEN" that is set to 9 which is the limiting factor.
http://docs.hp.com/cgi-bin/onlinedocs.py?mpn=B2355-90682&service=hpux&path=../B2355-90682/00/02/226&title=HP-UX%20Reference%20Volume%203%3A%20Sections%202%20and%204
Is there a way to setup the variable to be bigger than that. Can someone help me please!
Also, my "swlist" command fails because it is not able to get the right name for the server, is there a workarround for this.
Iam having a server running HPUX11i. I had setup the dhcp server to give ipaddress for lan0 and when the server boots Iam seeing in the HPUX Startup sequence that the hostname setup script (/sbin/rc1.d/S320hostname fails.
"Setting hostname..... FAIL *"
When I run this from command line I figured out that the hostname / nodename that the dhcp server setsup is longer than 9 chars and so the command "uname -S ${HOSTNAME} fails.
Reading some docs I figuredout that there is a variable in sys/utsname.h structure has a variable "UTSLEN" that is set to 9 which is the limiting factor.
http://docs.hp.com/cgi-bin/onlinedocs.py?mpn=B2355-90682&service=hpux&path=../B2355-90682/00/02/226&title=HP-UX%20Reference%20Volume%203%3A%20Sections%202%20and%204
Is there a way to setup the variable to be bigger than that. Can someone help me please!
Also, my "swlist" command fails because it is not able to get the right name for the server, is there a workarround for this.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2001 08:49 PM
11-01-2001 08:49 PM
Re: "uname -S <name greater than 9 chars>" fails
Hi,
See this posting of a few days ago, it gives some valuable advice.
HTH
-Michael
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x77d1cf38d6bdd5118ff10090279cd0f9,00.html
See this posting of a few days ago, it gives some valuable advice.
HTH
-Michael
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x77d1cf38d6bdd5118ff10090279cd0f9,00.html
Anyone for a Mutiny ?
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 2025 Hewlett Packard Enterprise Development LP