Amanda-Users

Re: not allowed to execute the service noop: Please add "amdump" to the line in /root/.amandahosts

2006-12-08 09:55:32
Subject: Re: not allowed to execute the service noop: Please add "amdump" to the line in /root/.amandahosts
From: mario <ml AT bortal DOT de>
To: Frank Smith <fsmith AT hoovers DOT com>
Date: Fri, 08 Dec 2006 15:44:45 +0100
Hi,

On Fri, 2006-12-08 at 08:40 -0600, Frank Smith wrote:
> mario wrote:
> > Hi,
> > 
> > On Fri, 2006-12-08 at 09:12 -0500, Jean-Louis Martineau wrote:
> >> mario wrote:
> >>> Hello List,
> >>>
> >>> i am running Amanda version 2.4.5 on Ubuntu Breezy and i get this error:
> >>>
> >>> These dumps were to tape TEST-2.
> >>> The next tape Amanda expects to use is: a new tape.
> >>> The next new tape already labelled is: TEST-3.
> >>>
> >>> FAILURE AND STRANGE DUMP SUMMARY:
> >>>   planner: ERROR testserverNAK :  user backup from testserver is not
> >>> allowed to execute the service noop: Please add "amdump" to the line
> >>> in /root/.amandahosts
> >>>   testserver      /dev/sda2 RESULTS MISSING
> >>>
> >>>
> >>>
> >>> But amdump is already in /root/.amandahosts:
> >>>
> >>> cat /root/.amandahosts
> >>> localhost root amdump
> >>>
> >>>   
> >> why localhost? why root? The message tell you it's testserver and backup.
> >>
> >> add: testserver backup amdump
> >>
> > 
> > I still get the same error. Looks like localhost gets resolved to
> > testserver?
> 
> Check /etc/hosts.  Some distros don't separate the localhost entry
> from the actual hostname (i.e., put localhost on the real IP and
> not just on 127.0.0.1)

My /etc/hosts:

127.0.0.1             localhost
192.168.178.20    localhost testserver

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


That looks good to me. Did you mean it like that?