Amanda-Users

Re: Amdump utility still hasn't run across the firewall amcheck reports no errors.

2006-02-23 05:46:17
Subject: Re: Amdump utility still hasn't run across the firewall amcheck reports no errors.
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: chuck AT smtl.co DOT uk
Date: Thu, 23 Feb 2006 11:42:55 +0100
On 2006-02-23 11:36, Chuck Amadi Systems Administrator wrote:
Hi Paul again I received via the Amanda Report this morning that my
server client Failed.

I am still lost in the woods.

On the ipchains firewall I added ipchains -M -S tcp tcpin udp to
masqueraded and set the timeouts.

My Amanda Report output below:

server / lev 0 FAILED [Estimate timeout from server.my.co.uk]

Here is my amanda client debug file It looks OK to me:

There should be more debug files.
This is the succeeded "noop" request (for the exchange of the
features between client and host).

There should also be a "sendsize" request in another amanda.*.debug
file.  That one should contain timestamps.  Verify if the ACK is
sent within the udp timeout from ipchains.

Do you see that UDP packet logged in the firewall logs?


amandad: time 0.024: got packet:
--------
Amanda 2.4 REQ HANDLE 003-D0990808 SEQ 1140687005
SECURITY USER amanda
SERVICE noop
OPTIONS features=fffffeff9ffe0f;
--------

The text between the hyhens is the REQuest packet and you see
the line "SERVICE noop".


amandad: time 0.024: sending ack:
----
Amanda 2.4 ACK HANDLE 003-D0990808 SEQ 1140687005
----

ANd this is the ACK package, sent back immediatly (without the millisecond).


amandad: time 0.065: bsd security: remote host firewall.my.co.uk user
amanda local user amanda
amandad: time 0.065: amandahosts security check passed
amandad: time 0.065: running service "noop"
amandad: time 0.066: sending REP packet:
----
Amanda 2.4 REP HANDLE 003-D0990808 SEQ 1140687005
OPTIONS features=fffffeff9ffe0f;
----

And here is the reply package, 0.021 seconds later.


amandad: time 0.067: got packet:
----
Amanda 2.4 ACK HANDLE 003-D0990808 SEQ 1140687005
----

And an ACK from the server indicating good delivery over there.


amandad: time 0.068: pid 4211 finish time Thu Feb 23 10:35:42 2006

And all this took only 0.068 seconds.

Now find the amanda.*.debug file for the "SERVICE sendsize", and
look for the timestamps. Find out where the connection is lost.


--
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>