cancel
Showing results for 
Search instead for 
Did you mean: 

"localhost" entry in the SAP System

Former Member
0 Kudos

Hi All,

Today we have faced serious problem in our ECC system. In our ECC system, we have central Instance and 6 dialog instances and our analysis is as follows:

1. We have configured our hosts in DNS and also we maintained the entries of all the application server in the /etc/hosts file.

2. In our landscape, the Hostname will resolve like this: First it will check the DNS entry whether it exists and then it comes to the /etc/hosts file and resolves it.

3. From our network team they have configured the "localhost" entry with the ip address other than "127.0.0.1" in the DNS file. Because of that the workprocess went into stopped state. As the ICM parameters in the ECC system maintained as : icm/HTTP/j2ee_0 = PREFIX=/,HOST=localhost,CONN=0-500,PORT=5$$00. Since the ip resolution takes place first in DNS entry the system routed the requests to the new ip defined.

4. so all the http requests which are processing by the workprocess went into stopped state and later we have removed the entry for localhost in the DNS file and the problem is resolved.

But our concern is whether we can avoid this situation by changing the profile parameters i.e., icm/HTTP/j2ee_0= HOST="some new host". I think while during Installation this entry has been chosen as "localhost" by default and it has got created in lot of destinations. So kindly tell us whether it is feasible to change this profile entry so that in future If someone creates an entry with "localhost" in the DNS file it shouldnt effect the system.

Thanks in Advance,

GK.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

pls see SAP notes 8307 (ABAP) and 757692

(JAVA) on how to change the hostname

in an SAP installation.

Regarding ABAP: go through all profiles (RZ10) -> default profile, instance profile, start profile

of all involved central instances and application servers. There you should

change the hostname to the real name of the server.

Hope this helps.

Kind regards

An dreas