SHIFT

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

User Tools

Site Tools


fixaixsendmailgethostbyaddrfailed
Differences

This shows you the differences between two versions of the page.

Link to this comparison view

fixaixsendmailgethostbyaddrfailed [2013/02/25 21:00] (current)
sjoerd created
Line 1: Line 1:
 += 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:
 +<​code>​
 +message forwarded from aixbox: sendmail[475316]:​ gethostbyaddr(ipv6:::​1) failed: 1
 +</​code>​
 +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
 +<​code>​
 +::1 loopback localhost
 +</​code>​
 +* /​etc/​netsvc.conf
 +<​code>​
 +hosts=local,​bind4 ​
 +</​code>​
 +This solved the problem, no restart needed of anything. The messages just disappeared. ​
 +
 += Resources =
 +[[https://​www-304.ibm.com/​support/​docview.wss?​uid=isg3T1012061|IBM Technote]] \\
 +
 +{{tag>​fix aix email}}
fixaixsendmailgethostbyaddrfailed.txt ยท Last modified: 2013/02/25 21:00 by sjoerd