Planner: ERROR amanda user is not allowed to execute the service noop

From The Open Source Backup Wiki (Amanda, MySQL Backup, BackupPC)
Revision as of 22:52, 30 June 2008 by Dustin (talk | contribs) (man links)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This article is a part of the Troubleshooting collection.

Problem

amdump(8) fails with planner error and no backups are created; amreport(8) output or the backup email contains the following in the "FAILURE and STRANGE DUMP SUMMARY" section.

 planner: ERROR <server name> NAK :  user <amanda user> from <server name> is not allowed to execute 
 the service noop:   Please add "amdump" to the line in /<home directory of amanda user>/.amandahosts
 <client name>    <directory> RESULTS MISSING

Explanation

.amandahosts does not have correct entries to do backup.

Solution

  • Add the following entry to .amandahosts on the client.
 <server name> <amanda user> amdump

Example:

 amandaserver.company.com amandabackup amdump
  • Make sure the hostname you use is the canonical hostname, ie the hostname to which the IP address resolves.
  • Amanda is very particular about .amandahosts permissions. Ensure that the permisions are 400, like this:
    -r--------   1 amanda         63 Mar 23 08:42 .amandahosts

At 600, mine fails the selfcheck