- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hostname length limitation
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
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
тАО02-20-2004 12:26 AM
тАО02-20-2004 12:26 AM
example
hostname=lab333444
the command:
#hostname
return
lab333444
but the command
#uname -s
return
HP-UX unknown B.11.11 U 9000/800 864950601 unlimited-user license
In addition I cannot use the CDE because I get
an error concerning a bad configuration of /etc/hosts (that is ok) or network parameter.
Anyone know if exists a patch for thi problem?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2004 12:29 AM
тАО02-20-2004 12:29 AM
Re: hostname length limitation
That'll make sure that you get all the locations that would need to be changed all at once.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2004 12:30 AM
тАО02-20-2004 12:30 AM
Re: hostname length limitation
You cannot do that until you install a patch for that
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2004 12:30 AM
тАО02-20-2004 12:30 AM
Re: hostname length limitation
did you include an entry of the server name and ip address in the /etc/hosts?
by the way, it should be uname -a, right?
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2004 12:31 AM
тАО02-20-2004 12:31 AM
Re: hostname length limitation
If the hostname exceeds eight characters you will face the problems defined in doc
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063236997
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2004 12:36 AM
тАО02-20-2004 12:36 AM
Re: hostname length limitation
I modified the following files
/etc/rc.config.d/netconf
/etc/hosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2004 12:39 AM
тАО02-20-2004 12:39 AM
Re: hostname length limitation
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2004 12:47 AM
тАО02-20-2004 12:47 AM
Re: hostname length limitation
hostname can't be more than 8 digits
you can be server.some.net
you can get longer domain names via DNS
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2004 02:58 AM
тАО02-20-2004 02:58 AM
Re: hostname length limitation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2004 03:34 AM
тАО02-20-2004 03:34 AM
Re: hostname length limitation
HOSTNAME=lab333444
NODENAME=lb333444 (or whatever you want)
You can set hostname and uname without rebooting:
hostname lab333444
uname -S lb333444
but make sure you edit the netconf file so the change is permanent after a reboot.
Bill Hassell, sysadmin