On Mon, Feb 13, 2012 at 11:06:19 -0500, Matt wrote:
>
>
> Recently, I had to install the amanda client package on my laptop
> to recover a file. However, Ubuntu installed it with the user "backup"
> and now I'm getting the following error when I try to backup the laptop
>
>
> selfcheck request failed: tcpm_recv_token: invalid size: "amandad:
> critical (fatal): Cannot create debug file
> "/var/log/amanda/amandad/amandad.20120213105928.debug": Permission
> deniedn"
>
> How do I fix this? I've tried changing the ownership on the
> directories to amandabackup on the laptop, but then get the error that I
> need to run as backup.
You didn't mention which version of Ubuntu, but as far as I know they
all use the "backup" user for the Amanda installations. (It's certainly
true up through Lucid.)
However, at least on Lucid it looks like the /var/log/amanda directory
is part of the amanda-server package, so it might not have been created
if you just installed the amanda-client (and amanda-common) packages.
On my Lucid systems it looks like this:
drwxrwx--- 7 backup backup 4096 2010-12-10 17:00 /var/log/amanda/
Does that directory exist on your laptop?
> I've tried changing the user to "backup" in the
> advanced.conf file on the server, but then get the error that I need to
> run as amandabackup.
That would change the user used on the server side but not on the
laptop... (As Jean-Louis pointed out, the user used on the client side
is controlled by the inetd.conf entry... but I'm pretty sure you'll run
into other trouble if you try to change that from the default used by
the Ubuntu packages.)
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