System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

needs to set uname with more than 8 charecters

ajitp
Occasional Contributor

needs to set uname with more than 8 charecters

We have installed SAP production system in one of our rx2660 server whose host name is nine characters. With this our SAP application is taking uname output of eight characters, eventhough hostname is nine characters and got failed to execute some functionalities where this is used.
7 REPLIES
Kapil Jha
Honored Contributor

Re: needs to set uname with more than 8 charecters

Which OS version,
kernel parameter uname_eoverflow should be able to help you.
Make sure you read last section of man page and try it on test server, as you may encounter lil application issue.

http://docs.hp.com/en/B2355-60130/uname_eoverflow.5.html


BR,
Kapil+
I am in this small bowl, I wane see the real world......
Michal Kapalka (mikap)
Honored Contributor

Re: needs to set uname with more than 8 charecters

vishnu.khandare
Respected Contributor

Re: needs to set uname with more than 8 charecters

Hi Ajitp,

Whats the OS version ur using?
With HP-UX 11.v1 and v2 there are limitations of Hostname wiht maximum 8 Character.
In HP-UX 11i v3 u can use hostname upto 256 characters
refer below link----
http://www.orapub.net/ebs/doc/r12_oracle_12.1.1_hpux_ia.htm

Hope this solves ur issue

Please assign points

Regards
Vishnu Khandare
You should deserve before U desire!!!!
rick jones
Honored Contributor

Re: needs to set uname with more than 8 charecters

Apart from the other responses, if the SAP application is doing anything other than UUCP, it should be pulling the result of the hostname command not the uname command. The two are completely different namespaces, even if they have coincidentally been overlapping in some places.
there is no rest for the wicked yet the virtuous have no pillows
Hakki Aydin Ucar
Honored Contributor

Re: needs to set uname with more than 8 charecters

Hi,
if you use HP-UX 11iv1 OR v2 it is limited, no uname_eoverflow parameter in kernel. Bu as Rick stated here why don t you use hostname ?

# hostname
server1
# hostname data12345678
data12345678
# hostname data12345678
# hostname
data12345678
Srimalik
Valued Contributor

Re: needs to set uname with more than 8 charecters

There is a long host name support bundle on 11.23 which enables nodenames greater than 8 characters.

The bundle name is also very long HPUX_LONGNODENAME_11.23 or similar, docs.hp.com is giving me "Document moved to BSC or missing" for every document I try to access. Unable to provide the exact bundle name.
abandon all hope, ye who enter here..
Pulse001
Regular Advisor

Re: needs to set uname with more than 8 charecters

Hi ajitp,

The bundle name is NodeHostNameXpnd_B.11.23.01.depot. I also had a similar problem and after installing this bundle uname started showing 9 characters.

But in my opinion, you are better off with 8 character hostname on HPUX 11.23, because even after installing the above bundle you may still face some problems with the application.

And on most sites, it becomes a blame game between the sysadmin team and application team.
So if it is possible to reduce the hostname to 8 characters , go for it.