Re: permission problem with amrecover
2006-04-26 10:25:16
On Wednesday 26 April 2006 08:38, Thomas Ginestet wrote:
>Hi list,
>
>Thanks to your help, I've successful launched amcheck and amdump :-)
>I've tried amrecover to check recovery too but some new problems
> occured.
>
>After playing with access not allowed error, I'm still stuck on the
>following one:
>
>backup:/# amrecover DailySet
>
>AMRECOVER Version 2.5.0. Contacting server on backup ...
>
>220 backup AMANDA index server (2.5.0) ready.
>
>200 Access OK
>
>Setting restore date to today (2006-04-26)
>
>200 Working date set to 2006-04-26.
>
>501 Could not read config file /etc/amanda/DailySet/amanda.conf!
>
>
>I've checked amindexd logs:
>
>backup:/var/log/amanda# vi amindexd.20060426132954.debug
>
>amindexd: debug 1 pid 12531 ruid 34 euid 34: start at Wed Apr 26
>13:23:57 2006
>
>amindexd: version 2.5.0
>
>amindexd: < 220 backup AMANDA index server (2.5.0) ready.
>
>amindexd: > SECURITY USER root
>
>bsd security: remote host backup.gpsa.fr user root local user backup
>
>amindexd: < 200 Access OK
>
>amindexd: > FEATURES fffffeff9ffeffff07
>
>amindexd: < 200 FEATURES fffffeff9ffeffff07
>
>amindexd: > DATE 2006-04-26
>
>amindexd: < 200 Working date set to 2006-04-26.
>
>amindexd: > SCNF DailySet
>
>could not open conf file "/etc/amanda/DailySet/amanda.conf":
> Permission denied
>
>amindexd: < 501 Could not read config file
> /etc/amanda/DailySet/amanda.conf!
>
>
>
>My permissions for /etc/amanda/DailySet/amanda.conf:
>
>backup:/var/log/amanda# ls -al /etc/amanda/DailySet/amanda.conf
>-rwxrwx--- 1 root amanda 4451 2006-04-25 16:19
>/etc/amanda/DailySet/amanda.conf
>
>I don't understand why it complain about that...
You've apparently edited the amanda.conf as root (never do that, always
become amanda to do that) and the perms are now fubar. It should look
something like this:
-rw-r--r-- 1 amanda disk 22049 Apr 16
08:59 /usr/local/etc/amanda/Daily/amanda.conf
The user amanda should be a member of the group disk or backup. AFAIK,
there is no group 'amanda', at least not here.
Is this a new install?
>Any help would be appreciate
>
>
>Thomas
--
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules. I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.
|
|
|