Amanda-Users

Re: Amanda 2.5 Debian UDP problem

2006-04-19 10:07:41
Subject: Re: Amanda 2.5 Debian UDP problem
From: Luis Rodrigues <l17173 AT alunos.uevora DOT pt>
To: Paul Bijnens <paul.bijnens AT xplanation DOT com>
Date: Wed, 19 Apr 2006 14:53:01 +0100 (WEST)
Finally after 2 day I found out the problem:

I have an internal DNS server so I didn't had the server ip on the client
hosts file. If I add it there it works fine...

Does anyone know why amanda doesn't use the DNS?

In nsswitch.conf i have:
hosts:          files dns

so should work...

Thanks for  trying to help.

_LR

On Wed, 19 Apr 2006, Luis Rodrigues wrote:

> Yep:
> amanda dgram udp wait backup /usr/sbin/tcpd /usr/lib/amanda/amandad
> 
> I've just tested with client as using lo works  fine. If I
> disable lo doesn't work also :(
> 
> Aparently what happens it that amandad does a select syscall that just
> timesout (and  doen't understand why)
> 
> Thanks
> 
> _LR_
> 
> 
> On Wed, 19 Apr 2006, Paul Bijnens wrote:
> 
> > On 2006-04-18 22:40, Luis Rodrigues wrote:
> > > Hi,
> > > 
> > > I have setup amanda and a test client for it, my problem is that I get:
> > > WARNING: work: selfcheck request failed: timeout waiting for ACK
> > > when runing amcheck.
> > > 
> > > It works fine if I use the client on localhost but not with a client on
> > > another machine.
> > > 
> > > I've looked at the trafic with tcpdump: the server send packges but the
> > > client never reply's.
> > > 
> > > I've read the mailing list and googled a bit but nothing I found solved my
> > > problem.
> > > 
> > > Did anyone had this problem? Help, please...
> > > 
> > > Best regards,
> > > 
> > > Luis
> > > 
> > > PS: amandad is started with inetd because it saves the following log:
> > > 
> > > amandad: debug 1 pid 1883 ruid 34 euid 34: start at Tue Apr 18 12:54:51
> > > 2006
> > > amandad: version 2.5.0
> > [...]
> > > amandad:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
> > > amandad: time 29.972: pid 1883 finish time Tue Apr 18 12:55:21 2006
> > > 
> > 
> > 
> > Are you 100% sure you have "wait" in inetd.conf (the symptoms are
> > the same if you have "nowait" there).
> > 
> > 
> > 
> > -- 
> > Paul Bijnens, xplanation Technology Services        Tel  +32 16 397.511
> > Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
> > http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT 
> > com
> > ***********************************************************************
> > * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
> > * F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
> > * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
> > * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
> > * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
> > * ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
> > ***********************************************************************
> > 
> 


<Prev in Thread] Current Thread [Next in Thread>