Amanda-Users

.amandahosts owned by id ## should be ##

2008-05-15 17:27:24
Subject: .amandahosts owned by id ## should be ##
From: Paul Yeatman <pyeatman AT mamacass.ucsd DOT edu>
To: "Amanda user's group" <amanda-users AT amanda DOT org>
Date: Thu, 15 May 2008 13:42:14 -0700
Hi AMANDA users!

 I am running AMANDA version 2.4.4p3-1 on a Red Hat enterprise box as
 the AMANDA server and am trying to build my first ever Mac OS Leopard
 client.  I compiled AMANDA 2.6.0 on the client and, using online help,
 created the amanda user account and created the LaunchDeamons for
 amanda on the client.

 I am familiar with most of this as I use AMANDA to back up several
 Macs (all pre- Leopard).  The biggest difference I faced in creating a
 client on specifically Leopard is that Leopard no longer has xinetd.
 I had to quickly learn about building a plist for Mac's LaunchDaemon
 service to allow the AMANDA server to connect to the client over the
 internet.  This new twist went pretty well and the server is now
 talking to the client yet, with an amcheck, I am getting

        "ERROR: NAK maclaptop: user amanda from
        amandaserver.ucsd.edu is not allowed to execute the service
        noop: /Users/amanda/.amandahosts: owned by id 5000, should be
        7"

The AMANDA user on the client is uid 5000.  Why is it insisting on
"7"?  And the even stranger part is that the "should be" uid can change
for different amcheck executions.  It is often 7 but sometimes it is
"134217735".  I've tried changing the uid of the .amandahosts file to
be owned by uid 7 for the times it seems it to want it to be owned by 7
and then I get

        "ERROR: NAK cass74: user amanda from cass251.ucsd.edu is not
        allowed to execute the service noop: cannot open
        /Users/amanda/.amandahosts: Permission denied"

Anyone have any ideas?


Paul