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

From The Open Source Backup Wiki (Amanda, MySQL Backup, BackupPC)

Jump to: navigation, search

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.
Personal tools