Amanda-Users

Re: new linux client install

2006-04-26 12:15:04
Subject: Re: new linux client install
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: John Clement <j.clement AT readingroom DOT com>
Date: Wed, 26 Apr 2006 18:12:22 +0200
On 2006-04-26 17:23, John Clement wrote:
Paul Bijnens wrote:
On 2006-04-26 15:59, John Clement wrote:
Paul Bijnens wrote:
On 2006-04-26 12:03, John Clement wrote:
/, /var, /lib, /var/lib/amanda are all readable.

To be complete, they should also be executable.

Just made that change.

Do you mean that one of the directories were not executable before,
but now is?
Just the file wasn't executable, I didn't think it had to be, but I've made it so now.


The FILE does not need to be executable.
The DIRECTORIES must be executable.

You're making things sooooo confusing...



ERROR access as amandabackup not allowed from amanda@orinoco: cannot open /var/lib/amanda/.amand
ahosts: Permission denied


Having run several times with amanda and amandabackup as the user in xinetd, its definately not making any debug files in /tmp/amanda when xinetd's user is set to amandabackup, I've double checked that amandabackup is a valid user, and that there's no uid clash either.


I think I see the light... :-)
The /tmp/amanda directory is owned by the wrong user!



So do you mean that you have both a user "amanda" AND a user "amandabackup"?

1. When you put user "amanda" in the xinetd conf file, you do get a
debug file, and you get the errormessage:  "access as amandabackup not
allowed from amanda@orinoco:  cannot open /var/lib/amanda/.amandahosts:
Permission denied".

I can understand the "Permission denied" error here: the file is owned
by user "amandabackup", and user "amanda" does not have access to the
file.

I do not understand why the programs says it runs as user "amandabackup"
while you clearly state that you run it as "amanda".



2.  When you put user "amandabackup" in xinetd conf file, you do NOT
get a debug file at all.
That means that xinetd didn't even got the program to START (any error
in /var/log/messages?)  but also that the debug file could not be
created.

Amandad tries to create the debug file the directory /tmp/amanda, but
that was created on the first run with the wrong owner:
amanda instead of amandabackup.

ERASE the directory /tmp/amanda, and then try to run again with
user "amandabackup" in the xinetd conf file.  And let us know the
complete error message.  (Do not forget to signal xinetd if you
made changes to the config file.)







--
Paul Bijnens, xplanation Technology Services        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, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************


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