Amanda-Users

Re: amrestore: NAK: user root from localhost is not allowed to execute the service amindexd

2009-03-01 14:56:12
Subject: Re: amrestore: NAK: user root from localhost is not allowed to execute the service amindexd
From: John Hein <jhein AT timing DOT com>
To: Charles Curley <charlescurley AT charlescurley DOT com>
Date: Sun, 1 Mar 2009 12:50:50 -0700
Charles Curley wrote at 11:48 -0700 on Mar  1, 2009:
 > On Sun, Mar 01, 2009 at 10:11:38AM -0700, John Hein wrote:
 > > Charles Curley wrote at 08:29 -0700 on Mar  1, 2009:
 > >  > root@dragon:/home/ccurley/projects/ror# amrecover -C 
 > > /etc/amanda/DailySet1
 > >  > AMRECOVER Version 2.5.2p1. Contacting server on localhost ...
 > >  > NAK: user root from localhost is not allowed to execute the service 
 > > amindexd: Please add "amindexd amidxtaped" to the line in 
 > > /var/backups/.amandahosts on the client
 > > 
 > > ^^^ Note, "user root"
 > > 
 > > 
 > >  > However, I have already added the quoted text to the .amandahosts
 > >  > file, on both client and server, like so:
 > >  > 
 > >  > chaffee.localdomain backup amindexd amidxtaped
 > > 
 > > You have the "backup" user here.
 > > 
 > > http://wiki.zmanda.com/index.php/How_To:Migrate_from_older_amanda_versions#Problems_with_amrecover_from_amanda_2.5
 > 
 > Right. I did:
 > 
 > --------------------------------------------------
 > chaffee.localdomain backup amdump
 > chaffee.localdomain root amindexd amidxtaped
 > --------------------------------------------------
 > 
 > and various permutations thereof on the client and the server. No go.
 > 
 > I also commented out server_args in the xinetd.d/amanda file. Also no
 > go.

Do you know how your stock ubuntu build of amanda was configured (the
args to configure)?

I just noticed that the request came from 'localhost' which does
not match your .amandahosts entry.