Addr 0.0.0.0: hostname lookup failed: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
(rollow redirect)
(reformat, use header template)
Line 1: Line 1:
{{Troubleshooting Category|amandad}}{{Troubleshooting Category|Error Messages}}
{{Troubleshooting Header}}
{{Troubleshooting Problem}}
=Problem=
[[amandad]] fails with error  
[[amandad]] fails with error  
  addr 0.0.0.0: hostname lookup failed
  addr 0.0.0.0: hostname lookup failed
The [[amdump]] and [[amcheck]] commands may display this error.
The [[amdump]] and [[amcheck]] commands may display this error.


{{Troubleshooting Solution}}
=Solution=


Check the amandad debug logs on the client. For example: ''/tmp/amanda/amandad.<Datestamp>''. Example of log messages:  
Check the amandad debug logs on the client. For example: ''/tmp/amanda/amandad.<Datestamp>''. Example of log messages:  

Revision as of 23:18, 22 May 2007



This article is a part of the Troubleshooting collection.

Problem

amandad fails with error

addr 0.0.0.0: hostname lookup failed

The amdump and amcheck commands may display this error.

Solution

Check the amandad debug logs on the client. For example: /tmp/amanda/amandad.<Datestamp>. Example of log messages:

amandad: time 0.000: dgram_send_addr: sendto(0.0.0.0.566) failed:
Invalid argument
amandad: time 0.003: sending REP packet:
----
Amanda 2.4 REP HANDLE 001-A8850608 SEQ 1152114891
ERROR [addr 0.0.0.0: hostname lookup failed]

One of the possible reasons can be using inetd in IPv6 environment on a linux system. If this is the case, then

  • use xinetd instead of inetd services; and
  • set protocol field to tcp46 in xinetd or inetd service entry. See also How To:Run Amanda Over IPv6.