|
|
mike mcclernon
|
|
Dec 18, 2000 19:23:37 GMT
|
|
We have cold installed a server with 11.00 and have given it a 10 digit host name. We can execute the hostname command and it will return the name. We are having trouble running SAM in certain areas. It will prompt us for a hostname, and then will not allow us to put in the new name.
If I use the uname -S command, it states the host name cannot be longer than 9 characters.
We have changed the param.h file to MAXHOSTNAMELEN = 64.
If this is the place to specify the hostname length, how is the file executed or when in the boot cycle is it read. We were unable to find a kernel parameter to change host length.
|
|
|
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click
here
|
|
|
Sort Answers By:
Date or Points
|
|
Rita C Workman
|
|
Dec 18, 2000 19:28:28 GMT
Unassigned
|
|
|
|
Paul Frederiksen
|
|
Dec 18, 2000 19:58:43 GMT
Unassigned
|
|
|
If you set it for more than 8, it probably just ignores any otther characters after the 8th. |
|
Richard Darling
|
|
Dec 19, 2000 02:49:05 GMT
Unassigned
|
|
rename it to 8 or less using:
set_parms hostname
anymore and you are asking for trouble...from one who knows... |
|
Dan Hetzel
|
|
Dec 19, 2000 05:39:03 GMT
Unassigned
|
|
Hi Mike,
As Rita said, the actual limit is 8 characters, starting with an alphabetic char, even if the file sys/param.h states the limit is 64.
This is to guarantee compatibility with any name server (different O/S) and with old code where the 8 char limit was enforced.
Best regards,
Dan |
|
Vincente Fernandes
|
|
Dec 19, 2000 08:09:42 GMT
Unassigned
|
|
|
The best thing is to keep hostname within the 8 characters limit even though you can have hostname upto 64 char just to avoid all sorts of problems. |
|
|
Jagadesh
|
|
Nov 6, 2003 07:40:18 GMT
Unassigned
|
|
Thanks for the information.
What is the maximum lenght of Hostname. As the reply i come to know that is 64, but kindly clarify me whether is it 64 or 63.
Thanks Jagadesh |
|