Jon LaBadie wrote:
On Mon, Nov 03, 2003 at 09:43:30AM -0500, Joshua Baker-LePain wrote:
On 3 Nov 2003 at 8:37am, Jim Summers wrote
===========
amrestore: could not open /dev/nst0: Permission denied
What does 'ls -l /dev/nst0' say? And what user and group runs amanda on
the server?
amrecover, in my hands, has a "root user" check at startup.
Thus, I assume that Jim was running amrecover as root.
Does amreocover su to another user before calling amrestore?
If not, would local permissions come into play?
but amrecover talks to amidxtape over the network (even when you restore
on the server) for reading the tape, and that should be started as
user amanda on the server. Verify the (x)inetd configuration.
--
Paul Bijnens, Xplanation Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************
|