On Mon, May 13, 2019 at 12:42:33 -0400, Gene Heskett wrote:
> Amanda Backup Client Hosts Check
> --------------------------------
> WARNING: coyote: selfcheck request failed: Connection refused <------
> Client check: 5 hosts checked in 10.010 seconds.  1 problem found.
> 
> (brought to you by Amanda 3.3.9)
> amanda@coyote:/GenesAmandaHelper-0.61$
> 
> But, changing user to amanda is not yet completed, after changing the 
> amanda file in /etc/xinetd.d to user=amanda and restarting xinetd, I get 
> this at the end of an amcheck:
> WARNING: coyote: selfcheck request failed: tcpm_recv_token: invalid 
> size: "amandad: must be executed as the \"backup\" user instead of the 
> \"amanda\" user\n
> looking at where amandad is installed, its 99% root:root. Looking at my 
> old wheezy install in /usr/local/libexec/amanda its 97% root:staff.
> 
> So how do I fix this one? /etc/group says that amanda and backuo s/b 
> aliases, same group IOW.


If you are indeed installing the official Debian Amanda packages, the
user will be "backup".  The /etc/xinetd.d/amanda file included in
amanda-common should already point to "user=backup".

The original error you got, "Connection refused", would imply that the
xinitd wasn't listening on the expected Amanda port when you ran your
first amcheck, but since that error isn't happening any more it seems
like the "amanda" file is now correct except for the user.

I don't have amanda-common v.3.3.9 available but presumably the
/etc/xinetd.d/amanda from 3.3.3 is the same:

=====
# default: on
#
# description: Amanda services for Amanda server and client.
#

service amanda
{
        disable         = no
        flags           = IPv4
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = backup
        group           = disk
        groups          = yes
        server          = /usr/lib/amanda/amandad
        server_args     = -auth=bsdtcp amdump amindexd amidxtaped
}
=====


Anyway, I suspect that if you fix the file back to the above (and tell
xinitd to reload it), amcheck will start working.



                                                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

Reply via email to