Amanda-Users

Problems with amrecover in 2.4.5p1

2006-02-21 03:32:50
Subject: Problems with amrecover in 2.4.5p1
From: Stephen Carville <carville AT cpl DOT net>
To: Amanda Users <amanda-users AT amanda DOT org>
Date: Tue, 21 Feb 2006 00:25:07 -0800
My attempt to restore files with amrecover keep failing since I upgraded to 2.4.5. The output in amidxtaped.debug looks like:

amidxtaped: debug 1 pid 14962 ruid 250 euid 250: start at Mon Feb 20 20:33:06 2006
amidxtaped: version 2.4.5
amidxtaped: time 0.000: > SECURITY USER root
amidxtaped: time 0.001: bsd security: remote host shannon.totalflood.com user root local user amanda
amidxtaped: time 0.001: amandahosts security check passed
amidxtaped: time 0.001: > CONFIG=daily1
amidxtaped: time 0.001: > LABEL=UX0027
amidxtaped: time 0.001: > FSF=18
amidxtaped: time 0.001: > HEADER
amidxtaped: time 0.001: > DEVICE=/dev/ait2
amidxtaped: time 0.001: > HOST=^shannon$
amidxtaped: time 0.001: > DISK=^/var$
amidxtaped: time 0.001: > DATESTAMP=20060217
amidxtaped: time 0.001: > END
amidxtaped: time 0.002: amrestore_nargs=0
amidxtaped: time 0.002: Ready to execv amrestore with:
path = /usr/local/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-p"
argv[2] = "-h"
argv[3] = "/dev/ait2"
argv[4] = "^shannon$"
argv[5] = "^/var$"
argv[6] = "20060217"
amrestore: could not open /dev/ait2: Permission denied
amidxtaped: time 0.004: amrestore terminated normally with status: 2
amidxtaped: time 0.004: rewinding tape ...
amidxtaped: time 0.004: tape_rewind: tape open: /dev/ait2: Permission denied
amidxtaped: time 0.005: pid 14962 finish time Mon Feb 20 20:33:06 2006

This makes no sense to me since I was able to recover the files using amrestore on the server.

The client in the above is 2.4.5p1 the server is 2.4.5

--
Stephen Carville -- polluting the ranks of skeptics since 1995.
---------------------------------------------------------------
Government is actually the worst failure of civilized man. There has never been a really good one, and even those that are most tolerable are arbitrary, cruel, grasping and unintelligent.
             -- H. L. Mencken

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