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

From wiki.zmanda.com
Jump to navigation Jump to search
(Add a note to solutions that you must use the canonical hostname - other hostnames will not work)
(man links)
 
Line 2: Line 2:
=Problem=
=Problem=


[[amdump]] fails with planner error and no backups are created; [[amreport]] output or the backup email contains the following in the "FAILURE and STRANGE DUMP SUMMARY" section.
{{man|8|amdump}} fails with planner error and no backups are created; {{man|8|amreport}} 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  
   planner: ERROR <server name> NAK :  user <amanda user> from <server name> is not allowed to execute  
Line 9: Line 9:


=Explanation=
=Explanation=
[[amandahosts|.amandahosts]] does not have correct entries to do backup.
<tt>.amandahosts</tt> does not have correct entries to do backup.


=Solution=
=Solution=
Line 19: Line 19:
* Make sure the hostname you use is the canonical hostname, ie the hostname to which the IP address resolves.  
* 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|.amandahosts]] permissions.  Ensure that the permisions are 400, like this:
* Amanda is very particular about <tt>.amandahosts</tt> permissions.  Ensure that the permisions are 400, like this:
     -r--------  1 amanda        63 Mar 23 08:42 .amandahosts
     -r--------  1 amanda        63 Mar 23 08:42 .amandahosts
At 600, mine fails the selfcheck
At 600, mine fails the selfcheck

Latest revision as of 22:52, 30 June 2008

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