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
# echo "server.com amandabackup amdump" >> /opt/zmanda/amanda/amanda/.amandahosts
Windows
To authorize a server for a Windows Client:
Mac