On Tuesday 19 May 2015 09:23:45 Nathan Stratton Treadway wrote:
> On Mon, May 18, 2015 at 17:02:04 -0400, Gene Heskett wrote:
> > From here at the server machine;
> >
> > root@coyote:~# su amanda -c "/usr/local/sbin/amcheck Daily"
>
> [...]>
>
> > Amanda Backup Client Hosts Check
> > --------------------------------
> > WARNING: shop: selfcheck request failed: tcpm_recv_token: invalid
> > size: "amandad: running as user \"amandabackup\" instead of
> > \"backup\"\n"
> > Client check: 3 hosts checked in 4.098 seconds.  1 problem found.
> >
> > (brought to you by Amanda 3.3.7p1)
>
> [...]
>
> > ========================================
> > On shop /etc/xinetd.d/amandaclient;
> > service amanda
> > {
> >         disable         = no
> >         flags           = IPv4
> >         socket_type     = stream
> >         protocol        = tcp
> >         wait            = no
> >         user            = amandabackup
> >         group           = disk
> >         groups          = yes
> >         server          = /usr/lib/amanda/amandad
> >         server_args     = -auth=bsdtcp amdump amindexd amidxtaped
> > }
> > =================================
>
> "backup" is the username used by the Debian-compiled packages, so from
> the error message you are getting it looks like the Amanda binaries on
> shop come from a Debian package.

They did, wheezy.

> You can either update your 
> xinetd.d/amandaclient file there to run with the user "backup", or
> install your locally-compiled binaries (which presumably were compiled
> to run under the "amandabackup" user) on that machine instead of the
> Debian ones.
>
>                                                       Nathan
I did update it to run as backup.  Progress but no perms to create 
the /var/log/amanda/amandad/amandad.date.dbg file.

Then I chown -R the ownership of the whole amanda tree to backup:disk
and that gives this error now:
ERROR: NAK shop: user amanda from coyote.coyote.den is not allowed to 
execute the service noop: cannot open /var/backups/.amandahosts: No such 
file or directory

So I renamed /var/log/amanda to /var/log/backups and back to amanda when 
that didn't work because it couldn't find .amandahosts 
in /var/log/backups, it was in /var/lib/amanda on the lathe.  Still is 
on both machines.

Thanks Nathan.
>
> ----------------------------------------------------------------------
>------ Nathan Stratton Treadway  -  [email protected]  -  Mid-Atlantic
> region Ray Ontko & Co.  -  Software consulting services  -  
> http://www.ontko.com/ GPG Key:
> http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239 Key
> fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

Reply via email to