On 2006-04-25 16:35, John Clement wrote:
Having read through some of the documentation it seemed a fairly
straight forward thing to install an Amanda client. However, I used an
rpm for it, having been forced to upgrade my tar software too but it
appears to be running as amandabackup and in /var/lib... So I'm now
getting the following:
amandad: time 0.002: accept error: access as amandabackup not allowed
from amanda@orinoco: cannot open /var/lib/amanda/.amandahosts:
Permission denied
amandad: time 0.002: sending NAK pkt:
<<<<<
ERROR access as amandabackup not allowed from amanda@orinoco: cannot
open /var/lib/amanda/.amandahosts: Permission denied
>>>>>
at the bottom of my amcheck. I've confirmed that the file is owned and
chmoded correctly:
-rw------- 1 amandabackup disk 109 Apr 25 14:23 .amandahosts
Seems ok.
Check the directories /var /var/lib and /var/lib/amanda too
for access as amandabackup.
If I change the ownership or permissions it complains, so I think they
are correct. In the .amandahosts file I have
server.domain.tld amanda
server amanda
server.domain.tld amandabackup #added incase it made a difference
server amandabackup #added incase it made a difference
The last two lines are not needed.
This is enough (note the errors message above):
orinoco amanda
--
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 *
***********************************************************************
|