Can not read/write /var/lib/amanda/amandates: Permission denied: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
 
(better hints)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
* check the permission of /etc/amandates
{{Troubleshooting Header}}
 
==Problem==
* make sure amanda service is started by the user who owns /etc/amandates
Error message:
Can not read/write /var/lib/amanda/amandates: Permission denied
or, variously:
Can not read/write /var/amanda/amandates: Permission denied
Can not read/write /etc/amandates: Permission denied


==Solution==
(see also [[amandates]])
This file's default location changed in Amanda 2.6.0; it used to be <tt>/etc/amandates</tt>.  If you are encountering this error on upgrade, the easiest solution is to simply move the file from <tt>/etc</tt> to the specified directory.  Otherwise:
* check the permission of the file
* make sure amanda service is started by the user who owns the file
* is SELinux running? Run sestatus to find out.
* is SELinux running? Run sestatus to find out.

Latest revision as of 15:35, 4 April 2008

This article is a part of the Troubleshooting collection.

Problem

Error message:

Can not read/write /var/lib/amanda/amandates: Permission denied

or, variously:

Can not read/write /var/amanda/amandates: Permission denied
Can not read/write /etc/amandates: Permission denied

Solution

(see also amandates) This file's default location changed in Amanda 2.6.0; it used to be /etc/amandates. If you are encountering this error on upgrade, the easiest solution is to simply move the file from /etc to the specified directory. Otherwise:

  • check the permission of the file
  • make sure amanda service is started by the user who owns the file
  • is SELinux running? Run sestatus to find out.