Addr 0.0.0.0: hostname lookup failed
- Issue
- amandad fails with error "addr 0.0.0.0: hostname lookup failed". amdump, amcheck commands could see this failure.
- Logs
- 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
- Cause
- One of the possible reasons can be
- Using inetd in IPv6 environment on a linux system
- Solutions
- Use xinetd instead of inetd services
- Set protocol field to tcp46 in xinetd or inetd service entry. See Amanda and IPv6
See more amandad issues.