Operating System - HP-UX
1748176 Members
4023 Online
108758 Solutions
New Discussion юеВ

Re: hostname gets truncated

 
Rommel T. Misa_2
Frequent Advisor

hostname gets truncated

Hello,

When we install SAP on our rx7640 with HP-UX 11.23, the hostname gets truncated. This posted a problem when we were installing SAP as this gave out the following error:

unknown SAPSYSTEMNAME

Also, we encountered the same error but instead of the hostname being truncated from the last characters, it was truncated from the middle characters of the hostname. Hope you can help.

Thanks,
ROMMEL
5 REPLIES 5
F Verschuren
Esteemed Contributor

Re: hostname gets truncated

It can happen that you have one than more configuration files,

Please make sure that you get only one response of:

grep ^HOSTNAME /etc/rc.config.d/*

If you get more than one reaction please remove the "copyed" files from this dir.

The other problem that can be the reason is that some sap versions does not suport more that 8 caracters of a system name.... so you have to reduce the number of caracters to a max of 8

Kind regards,

Freek Verschuren
Fabio Ettore
Honored Contributor

Re: hostname gets truncated

Hi,

please post the output of

hostname

Best regards,
Fabio
WISH? IMPROVEMENT!
Avinash20
Honored Contributor

Re: hostname gets truncated

Try having hostname to 8 character.
Try setting hostname with following command
# hostname <8_char_hostname>

If this works, then like to know if after the reboot the hostname gets changed. If yes, then probably you might be having the backup of netconf in /etc/rc.config.d/ which needs to be moved.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Rommel T. Misa_2
Frequent Advisor

Re: hostname gets truncated

Yes my hostname extends to more than 8 characters

output of hostname is SAPHRHPAPP01.

We are installing SAP ECC 6.0 SR1. Does this version support hostnames longer than 8 characters? Is it possible that the SAP installer truncates the hostname?

Please help.

Regards,
ROMMEL
Dennis Handly
Acclaimed Contributor

Re: hostname gets truncated

>Yes my hostname extends to more than 8 characters

This is one more reason you shouldn't have more than 8, as I mentioned in your previous thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1246964