I apologize for the n00b help request out of the gate, but I'm having
trouble with the amcheck step in the "15 min" whitepaper using Amanda
3.3.0.

amcheck output looks great for the server, but the client fails:

-sh-3.2$ amcheck DailySet1
Amanda Tape Server Host Check
-----------------------------
found in slot 1: volume 'DailySet1-1'
slot 1: volume 'DailySet1-1'
Will write to volume 'DailySet1-1' in slot 1.
NOTE: skipping tape-writable test
NOTE: host info dir /etc/amanda/DailySet1/curinfo/carbonfiber.local
does not exist
NOTE: it will be created on the next run.
NOTE: index dir /etc/amanda/DailySet1/index/carbonfiber.local does not exist
NOTE: it will be created on the next run.
Server check took 2.371 seconds

Amanda Backup Client Hosts Check
--------------------------------
WARNING: carbonfiber.local: selfcheck request failed: Connection timed out
Client check: 1 host checked in 576.963 seconds.  1 problem found.

(brought to you by Amanda 3.3.0)

amservice tells me that there's a problem with permissions:

-sh-3.2$ amservice carbonfiber.local ssh noop </dev/null
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Request failed: EOF on read from carbonfiber.local

I'm guessing the problem lies on page 10 of the whitepaper, where it says:

"Note the creation of SSH keys, useful for backups over SSH. It is up
to you to manually
(and securely) add the public key to the client amandabackup user's
authorized_keys file."

As far as I can tell, the way to do this is to put the contents of:

"/var/lib/amanda/.ssh/client_authorized_keys" on the server box
(Tapper) into "/var/lib/amanda/.ssh/authorized_keys" on the client box
(CarbonFiber), which I've also done. The
/var/lib/amanda/.ssh/authorized_keys file didn't exist on the client,
so I created it. I've tested amservice with the authorized_keys file
on the client being owned by root as well as the amandabackup user,
and the file permissions are 600.

Google hasn't been much help in solving this issue. I'd appreciate any
nudges in the right direction. Permissions? Ownership? Something else?

Thanks in advance,

SteveJ

Reply via email to