Amanda-Users

Re: First try at backing up other clients

2006-02-06 13:21:36
Subject: Re: First try at backing up other clients
From: Kevin Till <kevin.till AT zmanda DOT com>
To: Gordon.Mills AT usa DOT net
Date: Mon, 06 Feb 2006 10:19:15 -0800
Gordon J. Mills III wrote:
Thanks Stefan, I do have iptables running on the client since it is my
firewall machine. It is currently set to allow all connections from the
internal network to the fw though. There is always a chance that I have
mangled something there though :-). I will check out the article you cited
below.
Monitoring the fw logs I see connections from the backup server to the fw on
10080 being accepted. However on the fw machine in the amanda sendbackup
logs I see:

sendbackup: try_socksize: send buffer size is 65536
sendbackup: time 0.001: stream_server: waiting for connection: 0.0.0.0.50084
sendbackup: time 0.001: stream_server: waiting for connection: 0.0.0.0.50085
sendbackup: time 0.001: stream_server: waiting for connection: 0.0.0.0.50086
sendbackup: time 0.006: waiting for connect on 50084, then 50085, then 50086
sendbackup: time 30.001: stream_accept: timeout after 30 seconds
sendbackup: time 30.001: timeout on data port 50084
sendbackup: time 59.997: stream_accept: timeout after 30 seconds
sendbackup: time 59.997: timeout on mesg port 50085
sendbackup: time 89.992: stream_accept: timeout after 30 seconds
sendbackup: time 89.992: timeout on index port 50086
sendbackup: time 89.992: pid 16879 finish time Sat Feb  4 18:09:20 2006

Any suggestions?

Gordon,

the Amanda Client is wating on port 50084, 50085 and 50086. The Amanda server will be using ports in the TCPPORTRANGE to communicate with the Amanda Client.

To see if your Amanda is configured with TCPPORTRANGE, do the following:
amadmin config version |grep with-tcpportrange



--Kevin









Thanks,
Gordon

-----Original Message-----
From: Stefan G. Weichinger [mailto:sgw AT amanda DOT org] Sent: Saturday, February 04, 2006 2:28 PM
To: Gordon.Mills AT usa DOT net
Subject: Re: First try at backing up other clients

Gordon J. Mills III wrote:

I am having a problem backing up another host with my amanda server. This is my first try at backing up another linux machine. These are both debian machines. The tape server can backup itself just fine. I installed amanda-common and amanda-client on the client machine. I setup the amandahosts file. On the tape server I added the client to the disklist, etc. If I run amcheck it gives no errors and says all clients are fine. But when I run the backup (amdump) I get an error for

the remote client.

Here are the lines out of amdump.1:
dumper: stream_client: connect to 10.10.10.3.50037 failed: Connection refused driver: result time 69.587 from dumper0: TRY-AGAIN 00-00001 could not connect to data port: Connection refused

After that it tries again with the same result. Can someone please point me in the right direction. I know its probably something stupid but I cannot figure it out.

Using vtapes, 2.4.5p1


Any firewall active on server and/or client?
These issues are very often related to AMANDA's usage of high ports.
I don't know how the maintainer of the Debian-AMANDA-pkgs has configured the
software, but there are configure-options to choose the port-range AMANDA
uses.

Maybe read http://wiki.zmanda.com/index.php/Configuration_with_iptables
for a start and look for any active firewalling rules.

Stefan.





--
Thank you!
Kevin Till

Amanda documentation: http://wiki.zmanda.com
Amanda forums:        http://forums.zmanda.com