Page last modified 18:30, 23 May 2006 by Ppragin?
Redirected from Error: amanda.transolutions.net: can not read/Write /Etc/Amandates: Permission denied

Error: amanda.transolutions.net: can not read/write /etc/amandates: Permission denied

Table of contents
No headers

This error occurs when running amcheck on amanda config:

ERROR: amanda.transolutions.net: [can not read/write /etc/amandates: Permission denied]
Client check: 1 host checked in 0.019 seconds, 1 problem found

Check what owner, group and permissions you have set on the /etc/amandates file on the client:

bash-3.00# ls -al /etc/amandates
-rw-r--r--  1 amandabackup disk 586 May 19 16:53 /etc/amandates

Run these commands as root to set the correct owner, group, and permissions:

chown amandabackup:disk /etc/amandates
chmod 644 /etc/amandates

If the problem still pressists after you check that all file attributes are correct run this command to check if selinux is enabled on your client system. Selinux must be disabled in order for amanda to work:

[root@vmfc5 ~]# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   permissive
Mode from config file:          permissive
Policy version:                 20
Policy from config file:        targeted

If you get the above notification that elinux is enabled you must disable it for amanda to work. You need to edit the selinux config file /etc/selinux/config to disable selinux and then reboot the client system:

SELINUX=disable

After editing the /etc/selinux/config and rebooting the system run this command to check that selinux is now disabled and amcheck should now pass without giving the above error:

[root@vmfc5 ~]# sestatus
SELinux status:                 disabled