cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to login to instance via SAP GUI after changing /etc/hosts

Former Member
0 Kudos

Hello all,

I am experiencing an odd problem with a new installation of Solution Manager 7.1 SP4

Running on AIX 5.3 TL12

Oracle 11.2

I configured my system and it is operating normally, except I was told to adjust my hosts file per an OSS message (to fix an issue with ICM)

My hosts file currently looks like this

IP <sid> <sid.company.net>

what it needs to be is

IP <sid> <sid.na.company.net>

When I make the adjustment to the hosts file, my instance starts and stops properly, however, I can no longer log into it using SAP GUI! (We are running 7.20 patch 10)

I get error

"Connection to partner <IP>:sapdp00 broken

return code: -6

system call: recv"

However, when I change hosts back to

IP <sid> <sid.company.net>

and restart R3 I can log in!

I have reviewed and adjusted my DEFAULT.PFL and instance profile to make sure they are OK and this has been verified by OSS.

Any help would be greatly appreciated as this is quite frustrating.

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I was able to finally fix this. When I maintained parms via RZ10 they did not stick. I was able to change them to the values specified in the SAPNote via altering them at OS level. I am now able to log in.

rupali_karbhari3
Active Contributor
0 Kudos

Hi,

As per suggestion from Deepak, you need to set FQDN (Fully Qualified Domain Name) for SolMan system.

Refer link:

http://help.sap.com/saphelp_erp2005/helpdata/en/67/be9442572e1231e10000000a1550b0/content.htm

You need to set below SAP Parameters:

● SAPLOCALHOST

● SAPLOCALHOSTFULL

● icm/host_name_full

Thanks,

former_member188883
Active Contributor
0 Kudos

Hi Ben,

Please change the host file as

IP <sid> <sid.na.company.net>

Then from your desktop machine check whether you can resolve this hostname using

ping <sid.na.company.net>

Additionally check on your desktop whether host file has appropriate entry as you mentioned in the /etc/hosts.

Let us know the results.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak,

The hosts file on my local machine matches /etc/hosts, and I am able to resolve it to <sid.na.company.net> when I ping.

I am still having issues with the connection timing out however.

former_member188883
Active Contributor
0 Kudos

Hi Ben,

Update the following SAP profile parameters in your instance profile

SAPLOCALHSOT = <sid.na.company.net>

SAPLOCALHOSTFULL = <sid.na.company.net>

Take restart of SAP and check the results.

Regards,

Deepak Kori