cancel
Showing results for 
Search instead for 
Did you mean: 

Operating system call getaddrinfo failed (error no. 0 )

Former Member
0 Kudos

Hi.. I could see lot of sm21 logs in the system with the following entries.

"Operating system call getaddrinfo failed (error no. 0 )"

Dialog Work process trace as follow:

***LOG Q0I=> NiPGetHostByName: 'SID' not found: getaddrinfo [/bas/742_REL/src/base/ni/niuxi.c 1759]

sapstartsrv.log in /usr/sap/hostctrl/work as follows:

*** WARNING => Unable to resolve hostname for address 127.0.0.2 [ITSAMProvide 943]

I am able to ping to and from that server no issues. I assume saphostctl restart can fix this apart from that any other way to fix this?

Accepted Solutions (0)

Answers (1)

Answers (1)

marco_sampaio
Explorer
0 Kudos

You should usually have only one loopback address, and it should be 127.0.0.1. It seems you may have an added line in /etc/hosts to 127.0.0.2 - try commenting the line in /etc/hosts and see if it resolves the message.

Marco