SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


Sidebar

Recently Changed Pages:

View All Pages


View All Tags


LinkedIn




WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.


Pages with comments

View All Comments

fixaixsendmailgethostbyaddrfailed

Fix: AIX: Sendmail: Gethostbyaddr ipv6 Failed

I got these errors in my syslog server after installing new AIX servers on (almost) the latest Technology Levels, for as well AIX 5.3 as for AIX 6.1:

message forwarded from aixbox: sendmail[475316]: gethostbyaddr(ipv6:::1) failed: 1

It turned out that since a few technology levels ago sendmail has become IPv6 aware and is now not able to resolve hosts over IPv6. It is solvable by editing these two files and adding the showed lines:

  • /etc/hosts
::1 loopback localhost
  • /etc/netsvc.conf
hosts=local,bind4 

This solved the problem, no restart needed of anything. The messages just disappeared.

Resources

You could leave a comment if you were logged in.
fixaixsendmailgethostbyaddrfailed.txt · Last modified: 2021/09/24 00:24 (external edit)