NAK error on client during Check Host/amcheck

This article is for Amanda Enterprise (AE)

Amanda uses a config file on the client to authorize service connections. If that file is not configured to allow the server to communicate with the client, the following error will be returned during a Check Host or amcheck:

ERROR: NAK client.com: user amandabackup from server.com is not allowed to execute the service noop: Please add the line "server.com amandabackup amdump" to /var/lib/amanda/.amandahosts on the client

In the error message, Amanda will indicate the exact line to add to the config file located on the client.

Linux

Copy and Paste the line from the error message and echo it into the config file. If your server is named server.com, you would run the following command on the client.

# echo "server.com amandabackup amdump" >> /var/lib/amanda/.amandahosts

Solaris

Copy and Paste the line from the error message and echo it into the config file. If your server is named server.com, you would run the following command on the client.

# echo "server.com amandabackup amdump" >> /opt/zmanda/amanda/amanda/.amandahosts

Windows

To authorize a server for a Windows Client:

  1. Click on the Server tab in the Zmanda Windows Client Configuration Utility.
  2. Enter the FQDN in the Server Name field and click the Add Server button
  3. Enter the IP Address in the IP Address field and click the Add Server Button

Mac

Copy and Paste the line from the error message and echo it into the config file. If your server is named server.com, you would run the following command on the client.

# echo "server.com amandabackup amdump" >> /var/lib/amanda/.amandahosts