Amanda-Users

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

2009-03-01 13:52:48
Subject: Re: amrestore: NAK: user root from localhost is not allowed to execute the service amindexd
From: Charles Curley <charlescurley AT charlescurley DOT com>
To: John Hein <jhein AT timing DOT com>
Date: Sun, 1 Mar 2009 11:48:50 -0700
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.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

Attachment: signature.asc
Description: Digital signature