On Friday, May 20, 2011 10:11:38 AM Jean-Louis Martineau did opine:

> gene heskett wrote:
> > Greetings;
> > 
> > Using my usual scripts to install Amanda 4.0.0alpha.svn.4048, which
> > does an amcheck as the final install check, from that script:
> > =================
> > install done, now running amcheck as the user amanda
> > Amanda Tape Server Host Check
> > -----------------------------
> > Holding disk /usr/dumps: 435064832 kB disk space available, using
> > 434552832 kB
> > Searching for label 'Dailys-17':found in slot 17: volume 'Dailys-17'
> > Will write to volume 'Dailys-17' in slot 17.
> > NOTE: skipping tape-writable test
> > Server check took 0.396 seconds
> > 
> > Amanda Backup Client Hosts Check
> > --------------------------------
> > WARNING: coyote: selfcheck request failed: Connection refused
> > WARNING: shop: selfcheck request failed: Connection refused
> 
> "Connection refused", check the xinetd setting. Check system log to find
> why the connection is refused.
> 
Absolutely zip in the logs.

/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
}
service amandaidx
{
        disable = no
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = amanda
        group           = disk
        groups          = yes
        server          = /usr/local/libexec/amanda/amindexd
}
service amidxtape
{
        disable = no
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = amanda
        group           = disk
        groups          = yes
        server          = /usr/local/libexec/amanda/amidxtaped
}
--------------------
which has not been changed in at least a year.

> > Client check: 2 hosts checked in 10.016 seconds.  2 problems found.
> > 
> > (brought to you by Amanda 4.0.0alpha.svn.4048)
> > ==========================

> > Reinstalling the slightly older version I ran last night, the amcheck
> > is fine:
> > [root@coyote amanda-4.0.0alpha.svn.4026]# su - amanda -c "amcheck
> > Daily" Amanda Tape Server Host Check
> > -----------------------------
> > Holding disk /usr/dumps: 435064832 kB disk space available, using
> > 434552832 kB
> > Searching for label 'Dailys-17':found in slot 17: volume 'Dailys-17'
> > Will write to volume 'Dailys-17' in slot 17.
> > NOTE: skipping tape-writable test
> > Server check took 0.209 seconds
> > 
> > Amanda Backup Client Hosts Check
> > --------------------------------
> > Client check: 2 hosts checked in 2.363 seconds.  0 problems found.
> > 
> > (brought to you by Amanda 4.0.0alpha.svn.4026)

And the backup ran normally on 4026.  I just took the printout from the 
printer & stacked it with the rest of the printouts.

My configure script gh.cf:
===================
./configure --with-user=amanda \
        --with-group=disk \
        --with-owner=amanda \
        --with-gnu-ld \
        --prefix=/usr/local/ \
        --with-debugging=/tmp/amanda-dbg/ \
        --with-tape-server=coyote \
        --with-bsdtcp-security --with-amandahosts \
        --with-configdir=/usr/local/etc/amanda \
        --with-gnutar=/bin/tar
======================

I did find the attached amcheck logfile in /tmp/amanda-dbg/server/Daily.
Its time roughly corresponds to the failed amcheck.  It is the only file 
that fell out of a "grep -R refused /tmp/amanda-dbg"

Thanks Jean-Louis

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
<http://tinyurl.com/ddg5bz>
<http://www.cantrip.org/gatto.html>
The story you are about to hear is true.  Only the names have been
changed to protect the innocent.
Thu May 19 23:09:54 2011: amcheck: pid 18429 ruid 0 euid 501 version 
4.0.0alpha.svn.4048: start at Thu May 19 23:09:54 2011
Thu May 19 23:09:54 2011: amcheck: pid 18429 ruid 0 euid 501 version 
4.0.0alpha.svn.4048: rename at Thu May 19 23:09:54 2011
Thu May 19 23:09:54 2011: amcheck-clients: security_getdriver(name=BSDTCP) 
returns 0xb77711e0
Thu May 19 23:09:54 2011: amcheck-clients: 
security_handleinit(handle=0x9061718, driver=0xb77711e0 (BSDTCP))
Thu May 19 23:09:54 2011: amcheck-clients: 
security_streaminit(stream=0x9062fd8, driver=0xb77711e0 (BSDTCP))
Thu May 19 23:09:54 2011: amcheck-clients: connect_port: Skip port 512: owned 
by exec.
Thu May 19 23:09:54 2011: amcheck-clients: connect_port: Skip port 513: owned 
by login.
Thu May 19 23:09:54 2011: amcheck-clients: connect_port: Skip port 514: owned 
by shell.
Thu May 19 23:09:54 2011: amcheck-clients: connect_port: Skip port 515: owned 
by printer.
Thu May 19 23:09:54 2011: amcheck-clients: make_socket opening socket with 
family 2
Thu May 19 23:09:54 2011: amcheck-clients: connect_port: Try  port 516: 
available - Success
Thu May 19 23:09:54 2011: amcheck-clients: connect_portrange: Connect from 
0.0.0.0:516 failed: Connection refused
Thu May 19 23:09:54 2011: amcheck-clients: connect_portrange: connect to 
192.168.71.3:10080 failed: Connection refused
Thu May 19 23:09:54 2011: amcheck-clients: stream_client: Could not bind to 
port in range 512-1023.
Thu May 19 23:09:54 2011: amcheck-clients: security_seterror(handle=0x9061718, 
driver=0xb77711e0 (BSDTCP) error=Connection refused)
Thu May 19 23:09:54 2011: amcheck-clients: security_close(handle=0x9061718, 
driver=0xb77711e0 (BSDTCP))
Thu May 19 23:09:54 2011: amcheck-clients: security_stream_close(0x9062fd8)
Thu May 19 23:09:54 2011: amcheck-clients: security_getdriver(name=BSDTCP) 
returns 0xb77711e0
Thu May 19 23:09:54 2011: amcheck-clients: 
security_handleinit(handle=0x906bd10, driver=0xb77711e0 (BSDTCP))
Thu May 19 23:09:54 2011: amcheck-clients: 
security_streaminit(stream=0x906c028, driver=0xb77711e0 (BSDTCP))
Thu May 19 23:09:54 2011: amcheck-clients: connect_port: Skip port 512: owned 
by exec.
Thu May 19 23:09:54 2011: amcheck-clients: connect_port: Skip port 513: owned 
by login.
Thu May 19 23:09:54 2011: amcheck-clients: connect_port: Skip port 514: owned 
by shell.
Thu May 19 23:09:54 2011: amcheck-clients: connect_port: Skip port 515: owned 
by printer.
Thu May 19 23:09:54 2011: amcheck-clients: make_socket opening socket with 
family 2
Thu May 19 23:09:54 2011: amcheck-clients: connect_port: Try  port 516: 
available - Success
Thu May 19 23:09:54 2011: amcheck-clients: connect_portrange: Connect from 
0.0.0.0:516 failed: Connection refused
Thu May 19 23:09:54 2011: amcheck-clients: connect_portrange: connect to 
192.168.71.4:10080 failed: Connection refused
Thu May 19 23:09:54 2011: amcheck-clients: stream_client: Could not bind to 
port in range 512-1023.
Thu May 19 23:09:54 2011: amcheck-clients: security_seterror(handle=0x906bd10, 
driver=0xb77711e0 (BSDTCP) error=Connection refused)
Thu May 19 23:09:54 2011: amcheck-clients: security_close(handle=0x906bd10, 
driver=0xb77711e0 (BSDTCP))
Thu May 19 23:09:54 2011: amcheck-clients: security_stream_close(0x906c028)
Thu May 19 23:09:54 2011: amcheck-server: Spawning 
"/usr/local/libexec/amanda/amcheck-device 
/usr/local/libexec/amanda/amcheck-device Daily" in pipeline
Thu May 19 23:09:54 2011: amcheck-server: userbad: 0
Thu May 19 23:09:54 2011: amcheck-server: confbad: 0
Thu May 19 23:09:54 2011: amcheck-server: tapebad: 0
Thu May 19 23:09:54 2011: amcheck-server: disklow: 0
Thu May 19 23:09:54 2011: amcheck-server: logbad: 0
Thu May 19 23:09:54 2011: amcheck-server: infobad: 0
Thu May 19 23:09:54 2011: amcheck-server: indexbad: 0
Thu May 19 23:09:54 2011: amcheck-server: pgmbad: 0
Thu May 19 23:09:59 2011: amcheck-clients: 
security_handleinit(handle=0x906bd10, driver=0xb77711e0 (BSDTCP))
Thu May 19 23:09:59 2011: amcheck-clients: 
security_streaminit(stream=0x906c028, driver=0xb77711e0 (BSDTCP))
Thu May 19 23:09:59 2011: amcheck-clients: connect_port: Skip port 512: owned 
by exec.
Thu May 19 23:09:59 2011: amcheck-clients: connect_port: Skip port 513: owned 
by login.
Thu May 19 23:09:59 2011: amcheck-clients: connect_port: Skip port 514: owned 
by shell.
Thu May 19 23:09:59 2011: amcheck-clients: connect_port: Skip port 515: owned 
by printer.
Thu May 19 23:09:59 2011: amcheck-clients: make_socket opening socket with 
family 2
Thu May 19 23:09:59 2011: amcheck-clients: connect_port: Try  port 516: 
available - Success
Thu May 19 23:09:59 2011: amcheck-clients: connect_portrange: Connect from 
0.0.0.0:516 failed: Connection refused
Thu May 19 23:09:59 2011: amcheck-clients: connect_portrange: connect to 
192.168.71.3:10080 failed: Connection refused
Thu May 19 23:09:59 2011: amcheck-clients: stream_client: Could not bind to 
port in range 512-1023.
Thu May 19 23:09:59 2011: amcheck-clients: security_seterror(handle=0x906bd10, 
driver=0xb77711e0 (BSDTCP) error=Connection refused)
Thu May 19 23:09:59 2011: amcheck-clients: security_close(handle=0x906bd10, 
driver=0xb77711e0 (BSDTCP))
Thu May 19 23:09:59 2011: amcheck-clients: security_stream_close(0x906c028)
Thu May 19 23:09:59 2011: amcheck-clients: 
security_handleinit(handle=0x906bd10, driver=0xb77711e0 (BSDTCP))
Thu May 19 23:09:59 2011: amcheck-clients: 
security_streaminit(stream=0x906c028, driver=0xb77711e0 (BSDTCP))
Thu May 19 23:09:59 2011: amcheck-clients: connect_port: Skip port 512: owned 
by exec.
Thu May 19 23:09:59 2011: amcheck-clients: connect_port: Skip port 513: owned 
by login.
Thu May 19 23:09:59 2011: amcheck-clients: connect_port: Skip port 514: owned 
by shell.
Thu May 19 23:09:59 2011: amcheck-clients: connect_port: Skip port 515: owned 
by printer.
Thu May 19 23:09:59 2011: amcheck-clients: make_socket opening socket with 
family 2
Thu May 19 23:09:59 2011: amcheck-clients: connect_port: Try  port 516: 
available - Success
Thu May 19 23:09:59 2011: amcheck-clients: connect_portrange: Connect from 
0.0.0.0:516 failed: Connection refused
Thu May 19 23:09:59 2011: amcheck-clients: connect_portrange: connect to 
192.168.71.4:10080 failed: Connection refused
Thu May 19 23:09:59 2011: amcheck-clients: stream_client: Could not bind to 
port in range 512-1023.
Thu May 19 23:09:59 2011: amcheck-clients: security_seterror(handle=0x906bd10, 
driver=0xb77711e0 (BSDTCP) error=Connection refused)
Thu May 19 23:09:59 2011: amcheck-clients: security_close(handle=0x906bd10, 
driver=0xb77711e0 (BSDTCP))
Thu May 19 23:09:59 2011: amcheck-clients: security_stream_close(0x906c028)
Thu May 19 23:10:04 2011: amcheck-clients: 
security_handleinit(handle=0x906bd10, driver=0xb77711e0 (BSDTCP))
Thu May 19 23:10:04 2011: amcheck-clients: 
security_streaminit(stream=0x906bfb8, driver=0xb77711e0 (BSDTCP))
Thu May 19 23:10:04 2011: amcheck-clients: connect_port: Skip port 512: owned 
by exec.
Thu May 19 23:10:04 2011: amcheck-clients: connect_port: Skip port 513: owned 
by login.
Thu May 19 23:10:04 2011: amcheck-clients: connect_port: Skip port 514: owned 
by shell.
Thu May 19 23:10:04 2011: amcheck-clients: connect_port: Skip port 515: owned 
by printer.
Thu May 19 23:10:04 2011: amcheck-clients: make_socket opening socket with 
family 2
Thu May 19 23:10:04 2011: amcheck-clients: connect_port: Try  port 516: 
available - Success
Thu May 19 23:10:04 2011: amcheck-clients: connect_portrange: Connect from 
0.0.0.0:516 failed: Connection refused
Thu May 19 23:10:04 2011: amcheck-clients: connect_portrange: connect to 
192.168.71.3:10080 failed: Connection refused
Thu May 19 23:10:04 2011: amcheck-clients: stream_client: Could not bind to 
port in range 512-1023.
Thu May 19 23:10:04 2011: amcheck-clients: security_seterror(handle=0x906bd10, 
driver=0xb77711e0 (BSDTCP) error=Connection refused)
Thu May 19 23:10:04 2011: amcheck-clients: security_close(handle=0x906bd10, 
driver=0xb77711e0 (BSDTCP))
Thu May 19 23:10:04 2011: amcheck-clients: security_stream_close(0x906bfb8)
Thu May 19 23:10:04 2011: amcheck-clients: 
security_handleinit(handle=0x90648f8, driver=0xb77711e0 (BSDTCP))
Thu May 19 23:10:04 2011: amcheck-clients: 
security_streaminit(stream=0x906bfb8, driver=0xb77711e0 (BSDTCP))
Thu May 19 23:10:04 2011: amcheck-clients: connect_port: Skip port 512: owned 
by exec.
Thu May 19 23:10:04 2011: amcheck-clients: connect_port: Skip port 513: owned 
by login.
Thu May 19 23:10:04 2011: amcheck-clients: connect_port: Skip port 514: owned 
by shell.
Thu May 19 23:10:04 2011: amcheck-clients: connect_port: Skip port 515: owned 
by printer.
Thu May 19 23:10:04 2011: amcheck-clients: make_socket opening socket with 
family 2
Thu May 19 23:10:04 2011: amcheck-clients: connect_port: Try  port 516: 
available - Success
Thu May 19 23:10:04 2011: amcheck-clients: connect_portrange: Connect from 
0.0.0.0:516 failed: Connection refused
Thu May 19 23:10:04 2011: amcheck-clients: connect_portrange: connect to 
192.168.71.4:10080 failed: Connection refused
Thu May 19 23:10:04 2011: amcheck-clients: stream_client: Could not bind to 
port in range 512-1023.
Thu May 19 23:10:04 2011: amcheck-clients: security_seterror(handle=0x90648f8, 
driver=0xb77711e0 (BSDTCP) error=Connection refused)
Thu May 19 23:10:04 2011: amcheck-clients: security_close(handle=0x90648f8, 
driver=0xb77711e0 (BSDTCP))
Thu May 19 23:10:04 2011: amcheck-clients: security_stream_close(0x906bfb8)
Thu May 19 23:10:04 2011: amcheck: pid 18429 finish time Thu May 19 23:10:04 
2011

Reply via email to