On Mon, Aug 06, 2012 at 22:23:30 +1000, Subscriptions wrote:
>
> Hi have posted this in the forum too, but have had no replies
>
> I have now downgraded/installed 3.3.0 on Ubuntu 12.04 LTS since the
> problem has been fixed but am now getting the following error
>
> WARNING: ml.zudiewiener.com: selfcheck request failed:
> tcpm_recv_token: invalid size: "amandad: running as user
> \"amandabackup\" instead of \"backup\"\n"
> Client check: 1 host checked in 0.045 seconds. 1 problem found.
>
>
> Everything is set up to use amandabackup as the user (and this
> worked for months prior to upgrading to 12.04), so not sure why it
> expects the user to be 'backup'
Debian (and thus Ubuntu) have always used the "backup" user in their
standard Amanda packages. So if your system was in fact using
"amandabackup" before 12.04, then you must have installed Amanda some
other way back then (e.g. from source, or using the .deb file from
amanda.org).
Note, though, that there are accounts in use on both the client and the
server; it's certainly possible that your Ubuntu system was using
"backup" as the account on the client side while your server has been
using "amandabackup" all along.
However, regarding your current problem: it does appear that the
/etc/xinetd.d/amanda file included in the 12.04 amanda-common package
specifies "user=amandabackup" for some reason; I assume this is a bug in
the packaging.
(If you do a
$ grep inetd /var/lib/dpkg/info/amanda-common.postinst
, you'll see that the setup command used for other-than-xinetd internet
"super-server" daemons is
update-inetd --add "amanda stream tcp nowait backup /usr/lib/amanda/amandad
amandad -auth=bsdtcp amdump amindexd amidxtaped"
... i.e. it uses "backup" as the user.)
So, if you haven't already done so, I think updating
/etc/xinetd.d/amanda so that the user= line uses "backup" should fix
your problem.
Note that you probably don't need to edit the /etc/amandahosts file,
since that grants incoming permission to the account on the server side
(which presumably hasn't changed).
Hope that helps.
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