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

From wiki.zmanda.com
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.