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
No edit summary
 
(man links)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Issue : [[amdump]] fails with planner error and no backups are created.
{{Troubleshooting Header}}
=Problem=


;Logs : [[amreport]] output or the backup email contains the following in 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 7: Line 8:
   <client name>    <directory> RESULTS MISSING
   <client name>    <directory> RESULTS MISSING


;Causes :
=Explanation=
* .amandahosts does not have correct entries to do backup.
<tt>.amandahosts</tt> does not have correct entries to do backup.
 
; Solution :


=Solution=
* Add the following entry to .amandahosts on the client.
* Add the following entry to .amandahosts on the client.
   <server name> <amanda user> amdump
   <server name> <amanda user> amdump
  Example:
Example:
   amandaserver.company.com amandabackup amdump
   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 <tt>.amandahosts</tt> permissions.  Ensure that the permisions are 400, like this:
    -r--------  1 amanda        63 Mar 23 08:42 .amandahosts
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