On Mon, Feb 13, 2012 at 12:12:36PM -0500, Nathan Stratton Treadway wrote: > 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.) >
As a workaround you could create a second user with the same UID/GID. Even with the same home directory. Primary difficulty is that a password change to one does not change the other. jon -- Jon H. LaBadie [email protected] 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (609) 477-8330 (C)
