Joe,
I've seen that error, I've usually found it to be a read herring.
I've found that in an otherwise correct amanda config,
- if the client is unable to resolve the IP NAME of the server
and the server NAME is in .amandahosts than we fail to authenticate.
I've resolved this by adding the amanda SERVER to the client's
/etc/hosts or adding the server IP NUMBER in .amandahosts.
YMMV,
Brian
On Tue, Mar 01, 2011 at 11:06:27AM -0500, Joe Konecny wrote:
> I am running amanda server 3.1.0 on ubuntu server 10.10 trying to back up a
> client running
> Freebsd 5.2.1 and amanda client 2.5.1p3. These machines are right next to
> each other and
> not connected to the internet. Therefore auth=bsd is ok for now.
>
> I am receiving this error when runing "sudo -u backup amcheck Daily"
>
> ERROR: NAK r4p17: user backup from rmt170 is not allowed to execute the
> service noop: Please add "amdump" to the line in //.amandahosts
>
> The "//.amandahosts" seems strange to me.
>
> The freebsd amanda client is set to run as bin.
> The ubuntu amanda server is set to run as backup.
>
> (client r4p17)
> cat /home/bin/.amandahosts:
> rmt170 backup amdump
>
> cat /etc/hosts
> 10.0.0.8 r4p17
> 10.0.0.52 rmt170
>
> cat /etc/inetd.conf
> amanda dgram udp wait bin /usr/local/libexec/amandad amandad -auth=bsd
> amdump amindexd amidxtaped
>
> (server rmt170)
> cat /etc/hosts
> 10.0.0.8 r4p17
> 10.0.0.52 rmt170
>
>
> cat /etc/amanda/Daily/amanda.conf
> org "MyConfig"
> infofile "/usr/amanda/state/curinfo"
> logdir "/usr/amanda/state/log"
> indexdir "/usr/amanda/state/index"
> tpchanger "chg-disk:/usr/amanda/vtapes"
> labelstr "Daily[0-9][0-9]"
> autolabel "Daily%%" EMPTY VOLUME_ERROR
> tapecycle 15
> dumpcycle 1 week
> amrecover_changer "changer"
>
> tapetype "HARD-DISK"
> define tapetype HARD-DISK {
> length 210 gbytes
> filemark 4 kbytes
> }
>
> define dumptype simple-gnutar-local {
> auth "local"
> compress none
> program "GNUTAR"
> }
>
> holdingdisk hd1 {
> directory "/holding"
> use 1740 gbytes
> chunksize 1 mbyte
> }
>
> define dumptype simple-gnutar-remote {
> client_username "bin"
> auth "bsd"
> compress none
> program "GNUTAR"
> }
>
>
>
> cat /etc/amanda/Daily/disklist
> r4p17 /etc simple-gnutar-remote
>
---
Brian R Cuttler [email protected]
Computer Systems Support (v) 518 486-1697
Wadsworth Center (f) 518 473-6384
NYS Department of Health Help Desk 518 473-0773
IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure. It
is intended only for the addressee. If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments. Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.