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

From wiki.zmanda.com
Jump to navigation Jump to search
(→‎Problem: new possible messages)
(better hints)
 
Line 9: Line 9:
==Solution==
==Solution==
(see also [[amandates]])
(see also [[amandates]])
* check the permission of /etc/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:
* make sure amanda service is started by the user who owns /etc/amandates
* 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.