- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hostname length
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
01-12-2004 08:13 PM
01-12-2004 08:13 PM
Which problem types can I find using a long hostname?
Thank You
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 08:17 PM
01-12-2004 08:17 PM
Re: hostname length
The max lenght of the hostname should be 8 characters.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 08:22 PM
01-12-2004 08:22 PM
Re: hostname length
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 08:25 PM
01-12-2004 08:25 PM
SolutionCheck out this detailed question and answers;
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=301546
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 08:31 PM
01-12-2004 08:31 PM
Re: hostname length
8 characters is the maxumum standard length, you can also set the name longer the 8 characters, but it gives problem while executing problems like, swlist etc.
In such case set the hostname from command line
#hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 08:31 PM
01-12-2004 08:31 PM
Re: hostname length
you could have problems with long hostname; they are about resolution names, using uname or something else. Just another example: I know a lot of cases about problem of systems with long hostname working on Omniback (now Data Protector).
From the hostname(1) man page:
The name_of_host argument is restricted to
MAXHOSTNAMELEN characters as defined in .
Running grep MAXHOSTNAMELEN /usr/include/sys/param.h shows:
#define MAXHOSTNAMELEN 64 /* max length of hostname */
So, the hostname can be 64 characters but the uname nodename can only be 8.
I hope this helps you.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2004 06:34 PM
01-13-2004 06:34 PM
Re: hostname length
This would be, among others, DNS, NIS/YP, and so on.
Some of the sub-routines like gethostent and so on do not check the name length, but assume 8 chars, I suppose.
Funny how UNIX works, eh?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2004 01:52 AM
01-14-2004 01:52 AM
Re: hostname length
The nodename is set for UUCP connections but... who uses UUCP connections today ?
Have you ever used a similar command to this:
uucp myfile.txt sys2!sys3!sys4!/home/joe
?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2004 11:59 AM
01-14-2004 11:59 AM
Re: hostname length
I use uucp.
1. Unlike ftp UUCP does handle failed transfers and retries.
2. UUCP notifies the sysadmin when transfers fails
3. UUCP works for dailup and tcp transfers
4. You can restrict commands and directory locations for transfers. (Permissions)
5. UUCP provideds sane notification of arriving data files.
6. You can use scripting with UUCP
Rory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2004 04:01 PM
01-14-2004 04:01 PM
Re: hostname length
Now hostname is limited to 64 characters but nodename (the value reported by uname) is limited to 8 characters. BOTH can be set by editing the /etc/rc.conig.d/netconf file and entering separate values for HOSTNAME and NODENAME.
Bill Hassell, sysadmin