Amanda-Users

Re: Ongoing issues

2002-08-27 13:30:03
Subject: Re: Ongoing issues
From: Frank Smith <fsmith AT hoovers DOT com>
To: Larry Dunham <ldunham AT 1tech DOT net>, amanda-users AT amanda DOT org
Date: Tue, 27 Aug 2002 12:06:16 -0500


--On Tuesday, August 27, 2002 11:33:01 -0500 Larry Dunham <ldunham AT 1tech DOT 
net> wrote:

I know I've seen this issue here thousand times but I've tried everything I
have been able to find, to no avail.  When running amcheck as the backup
user I'm getting the classic "access to [problemhost] not allowed from
[backupuser@problemhost]"

This Amanda installation also backs up remote machines with no problem; it
just won't access the local machine to back itself up.

Things I've Checked:
1)  .amandahosts permissions are set to -rw-------
2)  .amandahosts is owned by the backup user
3)  .amandahosts has entries
                [problemhost]  [root]
                [problemhost]  [backupuser]

4)  the machine is listed in the disklist file (obviously, or it wouldn't
generate the error)
5)  xinetd.d has an 'amanda' file with the correct backup user shown
6)  all of the executables in /usr/local/sbin are owned by the backup user
(except amcheck which is owned by root)
7)  all of the executables in /usr/local/sbin have permissions rwxr-xr-x
(except amcheck which is rwsr-xr-x)

By the way we also have another Amanda server backing up itself and some
remote machines, and it works fine, and all the above things (except host
names, of course) are identical to the machine that works ok.  What am I
missing?

Larry Dunham

Since it all looks correct, I'll suggest two things you've probably already
checked:

Does your .amandahosts entry match 'exactly' what is in the 'not allowed from
[backupuser@problemhost]' error?  I have seen a few (incorrectly) set up
hosts trying 'backupuser@host' instead of 'backupuser AT host.fq DOT dn' and
failing.  To amanda, 'host' is not the same as 'host.fq.dn'.

Is it in backupuser's home directory? Not likely to be wrong, but if you
have a multi-platform shop (with some homes in /home/user and others in
/export/home/user, for example), and you move things between platforms,
it is possible to forget and put something in the wrong place.

Frank



--
Frank Smith                                                fsmith AT hoovers 
DOT com
Systems Administrator                                     Voice: 512-374-4673
Hoover's Online                                             Fax: 512-374-4501

<Prev in Thread] Current Thread [Next in Thread>