Amanda-Users

Linux + ipv6 + inetd == non-working amandad (solution)

2006-07-05 16:40:39
Subject: Linux + ipv6 + inetd == non-working amandad (solution)
From: Christopher DeMarco <cmd AT alephant DOT net>
To: amanda-users AT amanda DOT org
Date: Wed, 5 Jul 2006 16:35:39 -0400
Hi all, I'm posting here for the benefit of the next person who runs
into this problem:

If amandad is running through inetd on a Linux system with the ipv6
kernel module loaded, it will try to talk to 0.0.0.0 instead of
whoever's on the other side of port 10080.  The fix is to either
remove the module (unverified) or to run in e.g. xinetd instead
(verified).

A helpful individual on #amanda suggested that setting the inetd
"service type" field to "tcp46" may also work.


Here's the symptom in amandad.debug:

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


Hope this helps somebody in the future...


-- 
Christopher DeMarco <cmd AT alephant DOT net>
Alephant Systems (http://alephant.net)
PGP public key at http://pgp.alephant.net
+1-412-708-9660

<Prev in Thread] Current Thread [Next in Thread>
  • Linux + ipv6 + inetd == non-working amandad (solution), Christopher DeMarco <=