On Tuesday, May 24, 2011 11:10:55 PM Jean-Louis Martineau did opine:
gene heskett wrote:
bsdtcp in this, from my coyote.coyote.den/etc/xinetd.d/amanda:
# default = off
#
# description: Part of the Amanda server package
# This is the list of daemons & such it needs
service amanda
{
disable = no
# only_from = coyote.coyote.den
socket_type = dgram
protocol = udp
wait = yes
user = amanda
group = disk
groups = yes
server = /usr/local/libexec/amanda/amandad
server_args = -auth=bsd amdump amindexd amidxtaped
}
This is a configuration for bsd auth, is it what you are using for that
client?
amadmin CONF disklist CLIENT-NAME | grep -i auth
This comes back as BSD because its set that way so 4040 will work.
Your amcheck debug files show your dle are configured for bsdtcp!!!
THERE IS A MISMATCH.
Obviously. As I stated, that was after I had reset it so that 4040 worked.
All dles for one client must use the same AUTH (auth in the dumptype),
and the xinetd for that client must also be configured for that auth.
The first thing to do and decide with auth you want to use.
If you want to use BSD, then the fix your dumptype.
If you want to use bsdtcp, then fix your xinetd configuration (man
amanda-auth, check the example for bsdtcp)
Ok, I will do that. And then reinstall 4048. Starting with the xinetd.d:
So now I have:
You can verify which auth the server try to use by looking at the
amcheck debug file, it is in uppercase.
I just did, "BSDTCP".
[root@coyote ~]# su - amanda -c "grep -i auth /etc/xinetd.d/amanda"
server_args = -auth=bsdtcp amdump amindexd amidxtaped
xinetd was restarted here.
And an amcheck with 4040 is a total failure.
Next, fix amanda.conf...
[root@coyote ~]# su - amanda -c "amadmin Daily disklist coyote | grep -i
auth"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
[root@coyote ~]# su - amanda -c "amadmin Daily disklist shop | grep -i
auth"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
auth "bsdtcp"
Amcheck is still 100% connection refused for the 4040 install.
Now install 4048. Done.
[root@coyote amanda-4.0.0alpha.svn.4048]# su - amanda -c "amcheck Daily"
Amanda Tape Server Host Check
-----------------------------
Holding disk /usr/dumps: 434552832 kB disk space available, using 434040832
kB
Searching for label 'Dailys-22':found in slot 22: volume 'Dailys-22'
Will write to volume 'Dailys-22' in slot 22.
NOTE: skipping tape-writable test
Server check took 0.203 seconds
Amanda Backup Client Hosts Check
--------------------------------
WARNING: coyote: selfcheck request failed: Connection refused
WARNING: shop: selfcheck request failed: Connection refused
Client check: 2 hosts checked in 10.027 seconds. 2 problems found.
(brought to you by Amanda 4.0.0alpha.svn.4048)
Now I've blown away the 4048 tree, and restarting the install from the
tarball. Exactly the same, now trying 4058 since I grabbed it an hour ago.
Exactly the same except for the version reported by amcheck.
And, just for grins, 4063. And I just found iptables is running, so I
stopped it before 4063 has finished. Its no great loss, I am behind DD-WRT
here, and nothing gets through that unless I give them the password, and it
would take John the Ripper long past the universe running down to guess
that password.
But that didn't make any diff either:
install done, now running amcheck as the user amanda
Amanda Tape Server Host Check
-----------------------------
Holding disk /usr/dumps: 434540544 kB disk space available, using 434028544
kB
Searching for label 'Dailys-22':found in slot 22: volume 'Dailys-22'
Will write to volume 'Dailys-22' in slot 22.
NOTE: skipping tape-writable test
Server check took 0.346 seconds
Amanda Backup Client Hosts Check
--------------------------------
WARNING: coyote: selfcheck request failed: Connection refused
WARNING: shop: selfcheck request failed: Connection refused
Client check: 2 hosts checked in 10.031 seconds. 2 problems found.
(brought to you by Amanda 4.0.0alpha.svn.4063)
Now, I have about 40 minutes to restore things so that 4040 will run
tonight. But I will attach the last amcheck-*-debug first. Done.
Thanks Jean-Louis