Amanda-Users

Re: Problems with amrecover in 2.4.5p1

2006-02-21 05:23:58
Subject: Re: Problems with amrecover in 2.4.5p1
From: Stephen Carville <carville AT cpl DOT net>
To: Paul Bijnens <paul.bijnens AT xplanation DOT com>
Date: Tue, 21 Feb 2006 02:19:35 -0800
Paul Bijnens wrote:
On 2006-02-21 09:25, Stephen Carville wrote:

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

[...]

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


My first question then is, what are the permissions of /dev/ait2,
and what are the user/group you are using for starting amidxtaped in
(x)inetd.

Sound of palm slapping forhead...That was it.

/dev/ait2 is a symlink to /dev/nst0. I checked the old server and the permissions there were:

crw-rw-r--    1 root     disk       9, 128 Aug 30  2001 /dev/nst0

On the new server:

crw-rw----  1 root disk 9, 128 Feb 19 11:53 /dev/nst0

Once I added the global read, amrecover worked again. I don't know how many time I looked at those permissions wihtseeing the problem.

Thanks

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