PDA

View Full Version : Problem with amrecover (timeout waiting for ACK)


JHoover
December 4th, 2006, 12:12 PM
I have just set up Amanda for the first time on a Linux FC6 test machine. Once I have a working setup, it will be installed on several RHEL 2.1 and 4.0 systems. I followed the quickstart, and got everything up and running for a backup. I'm able to write to my IBM DLT drive without any issue, my issue comes when I try to do a test restore.

Following the quickstart, I created /var/tmp/myrestoretest and made it my cwd. I then rewind the tape, and run "amrecover DailySet1".
This is the output I get: [root@linuxtest myrestoretest]# amrecover DailySet1
AMRECOVER Version 2.5.1p2. Contacting server on localhost ...
[request failed: timeout waiting for ACK]

I had this problem at first when trying to do a backup as well, and found that I had made a typo in my .amandahosts file. I have checked and rechecked that file now, and believe that it is correct, but here it is none the less.
[root@linuxtest DailySet1]# cat ~amandabackup/.amandahosts
linuxtest.<FQDN> amandabackup
linuxtest.<FQDN> root amindexd amidxtaped
linuxtest.<FQDN> amandabackup amdump
linuxtest.<FQDN> root

Obviously <FQDN> is replaced with the fully qualified domain name in that file, I just removed it for this posting to keep from breaking tables.

This is my /etc/xinetd.d/amanda file:
[root@linuxtest xinetd.d]# cat amanda
# default: off
# description: The client for the Amanda backup system.\
# This must be on for systems being backed up\
# by Amanda.

service amanda
{
only_from = linuxtest.jb.gov.state.ia.us
socket_type = stream
protocol = tcp
wait = no
user = amandabackup
group = disk
groups = yes
server = /usr/lib/amanda/amandad
server_args = -auth=bsdtcp amdump amindexd amidxtaped
disable = no
}

Please let me know if I've missed something glaringly obvious, or if I haven't... I'm used to AIX sysback, and I think this will be the closest thing to it for Linux (with the exception of booting from tape, unless I can do that too, in which case I'd be ecstatic). Sysback tends to "just run" since it's integrated into AIX and also tends to have a nice easy text based interface via smit, but hey... Amanda's free, and Sysback is decidedly not...

Thanks for any help you can offer, and feel free to contact me via email if needed...

JHoover
December 4th, 2006, 01:13 PM
DUH!!!
I realized that the command given in the quickstart was for running the restore command from the disk based backup...

I placed the /etc/amanda/amanda-client.conf file from /var/lib/amanda/examples and edited it to match my config and now I can just run "amrecover" with no arguments and get in...

I'm good now, I think.

cdillardrps
June 9th, 2008, 02:48 PM
I have a linux client running AMRECOVER Version 2.5.2p1. I'm trying to restore a file but get timeout waiting for ACK. I've copied the /var/lib/amanda/example/amanda-client.conf file to /etc/amanda/ and edited it but this does not fix my issue.

I'm running amrestore from the client.

I'm in desperate need of some assistance.

On the client I have:
-sh-3.00$ cat .amandahosts
localhost amandabackup amdump
localhost.localdomain amandabackup amdump
rdunas1.am.com amandabackup amdump
rdunas1.am.com root amdump
rdunas1.am.com root amindexd amidxtaped
rdunas1.am.com root

AMANDA CLIENT CONF:

conf "DailySet1" # your config name

index_server "rdunas1.am.com" # your amindexd server
tape_server "rdunas1.am.com" # your amidxtaped server
tapedev "/dev/null" # your tape device

# auth - authentication scheme to use between server and client.
# Valid values are "bsd", "krb4", "krb5" and "ssh".
# Default: [auth "bsd"]
auth "bsd"

ssh_keys "" # your ssh keys file if you use ssh auth