Amanda-Users

Re: Amrecover issue...

2008-12-30 07:49:41
Subject: Re: Amrecover issue...
From: Jean-Louis Martineau <martineau AT zmanda DOT com>
To: Christiaan de Vries <chris AT baxter-fx DOT com>
Date: Tue, 30 Dec 2008 07:44:55 -0500
Christiaan de Vries wrote:
Hello Jean-Louis,

File Permissions:
==========
backup@dub-amanda1:~$ ls -al /usr/lib/amanda/amidxtaped
-rwxr-xr-x 1 root root 16248 2007-11-09 01:08 /usr/lib/amanda/amidxtaped

Xinetd.d conf:
========
root@dub-amanda1:/etc/xinetd.d# cat /etc/xinetd.d/amidxtape
#default: on
# description: The amanda tape service
service amidxtape
{
#    only_from    = <Amanda client list>
   socket_type    = stream
   protocol    = tcp
   wait        = no
   user        = backup
   group        = backup
   groups        = yes
   server        = /usr/lib/amanda/amidxtaped
   server_args    = -auth=bsd amdump amindexd amidxtaped
   disable        = no
}

xinetd amindexd and amidxtaped are not use, you should disable them if you don't have older client.
Post /etc/xinetd.d/amanda
Post the amandad.*.debug file
Do /usr/lib/amanda/amidxtaped have the same permission as /usr/lib/amanda/amindexd?
Socket:
====
root@dub-amanda1:/etc/xinetd.d# netstat -an | grep 10083
tcp 0 0 0.0.0.0:10083 0.0.0.0:* LISTEN FYI: I have tried changing the file ownership to the backup user, but to no avail... I also tried to start the amixdtaped deamon with root, also no change, still the same error:

"amrecover - can't talk to tape server: NAK: execute access to "/usr/lib/amanda/amidxtaped" denied"

Kind regards again,
Christiaan de Vries

(Btw, where would I set the 'sethost' and 'settape' variables on the client machine permanently?)
Either when you configure amanda or in the amanda-client.conf file.

Jean-Louis



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