I am trying to install amanda-3.1.1 on a Sun Solaris 10 x86 host.

I have been running amanda 2.6.1p2 with auth=bsd and -with-user=amanda. This 
ran without any problems.

I decided to upgrade to amanda.3.1.1, and decided to change the configure to 
auth=bsdtcp, and --with-user=amandabackup.

I have compiled, tested and installed the software without any errors.

The host hertz is both the amanda server and client.

When I run amcheck I get the following:

>>>amcheck:

:~% ./sbin/amcheck -c daily

Amanda Backup Client Hosts Check
--------------------------------
WARNING: hertz: selfcheck request failed: Connection refused
Client check: 1 host checked in 10.031 seconds.  1 problem found.

(brought to you by Amanda 3.1.1)


I have googled for this error and have made corrections based on suggestions 
from my google search but I am still having the "Connection refused" problem.

I have run amservice

./sbin/amservice hertz bsdtcp noop < /dev/null
Request failed: Connection refused


Below are copies of amanda and debug files.

>From the files below can anyone make a recommendation why I am getting the 
>connection refused?


Thanks

Robert

----------------------------------------------------------------------------------------------------------------


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>/tmp/amanda amcheck debug file:

# cat amcheck.20100630170111.debug
Wed Jun 30 17:01:11 2010: amcheck: pid 21916 ruid 0 euid 30002 version 3.1.1: 
start at Wed Jun 30 17:01:11 2010
Wed Jun 30 17:01:11 2010: amcheck: pid 21916 ruid 0 euid 30002 version 3.1.1: 
rename at Wed Jun 30 17:01:11 2010
Wed Jun 30 17:01:11 2010: amcheck-clients: security_getdriver(name=bsdtcp) 
returns 80af820
Wed Jun 30 17:01:11 2010: amcheck-clients: security_handleinit(handle=80fbea0, 
driver=80af820 (BSDTCP))
Wed Jun 30 17:01:11 2010: amcheck-clients: security_streaminit(stream=81037e0, 
driver=80af820 (BSDTCP))
Wed Jun 30 17:01:11 2010: amcheck-clients: connect_port: Skip port 512: owned 
by exec.
Wed Jun 30 17:01:11 2010: amcheck-clients: connect_port: Skip port 513: owned 
by login.
Wed Jun 30 17:01:11 2010: amcheck-clients: connect_port: Skip port 514: owned 
by shell.
Wed Jun 30 17:01:11 2010: amcheck-clients: connect_port: Skip port 515: owned 
by printer.
Wed Jun 30 17:01:11 2010: amcheck-clients: make_socket opening socket with 
family 2
Wed Jun 30 17:01:11 2010: amcheck-clients: connect_port: Try  port 516: 
available - Success
Wed Jun 30 17:01:11 2010: amcheck-clients: connect_portrange: Connect from 
0.0.0.0.516 failed: Connection refused
Wed Jun 30 17:01:11 2010: amcheck-clients: connect_portrange: connect to 
128.210.3.201.10080 failed: Connection refused
Wed Jun 30 17:01:11 2010: amcheck-clients: stream_client: Could not bind to 
port in range 512-1023.
Wed Jun 30 17:01:11 2010: amcheck-clients: security_seterror(handle=80fbea0, 
driver=80af820 (BSDTCP) error=Connection refused)
Wed Jun 30 17:01:11 2010: amcheck-clients: security_close(handle=80fbea0, 
driver=80af820 (BSDTCP))
Wed Jun 30 17:01:11 2010: amcheck-clients: security_stream_close(81037e0)
Wed Jun 30 17:01:16 2010: amcheck-clients: security_handleinit(handle=80fd898, 
driver=80af820 (BSDTCP))
Wed Jun 30 17:01:16 2010: amcheck-clients: security_streaminit(stream=81037e0, 
driver=80af820 (BSDTCP))
Wed Jun 30 17:01:16 2010: amcheck-clients: connect_port: Skip port 512: owned 
by exec.
Wed Jun 30 17:01:16 2010: amcheck-clients: connect_port: Skip port 513: owned 
by login.
Wed Jun 30 17:01:16 2010: amcheck-clients: connect_port: Skip port 514: owned 
by shell.
Wed Jun 30 17:01:16 2010: amcheck-clients: connect_port: Skip port 515: owned 
by printer.
Wed Jun 30 17:01:16 2010: amcheck-clients: make_socket opening socket with 
family 2
Wed Jun 30 17:01:16 2010: amcheck-clients: connect_port: Try  port 516: 
available - Success
Wed Jun 30 17:01:16 2010: amcheck-clients: connect_portrange: Connect from 
0.0.0.0.516 failed: Connection refused
Wed Jun 30 17:01:16 2010: amcheck-clients: connect_portrange: connect to 
128.210.3.201.10080 failed: Connection refused
Wed Jun 30 17:01:16 2010: amcheck-clients: stream_client: Could not bind to 
port in range 512-1023.
Wed Jun 30 17:01:16 2010: amcheck-clients: security_seterror(handle=80fd898, 
driver=80af820 (BSDTCP) error=Connection refused)
Wed Jun 30 17:01:16 2010: amcheck-clients: security_close(handle=80fd898, 
driver=80af820 (BSDTCP))
Wed Jun 30 17:01:16 2010: amcheck-clients: security_stream_close(81037e0)
Wed Jun 30 17:01:21 2010: amcheck-clients: security_handleinit(handle=80fd910, 
driver=80af820 (BSDTCP))
Wed Jun 30 17:01:21 2010: amcheck-clients: security_streaminit(stream=81037e0, 
driver=80af820 (BSDTCP))
Wed Jun 30 17:01:21 2010: amcheck-clients: connect_port: Skip port 512: owned 
by exec.
Wed Jun 30 17:01:21 2010: amcheck-clients: connect_port: Skip port 513: owned 
by login.
Wed Jun 30 17:01:21 2010: amcheck-clients: connect_port: Skip port 514: owned 
by shell.
Wed Jun 30 17:01:21 2010: amcheck-clients: connect_port: Skip port 515: owned 
by printer.
Wed Jun 30 17:01:21 2010: amcheck-clients: make_socket opening socket with 
family 2
Wed Jun 30 17:01:21 2010: amcheck-clients: connect_port: Try  port 516: 
available - Success
Wed Jun 30 17:01:21 2010: amcheck-clients: connect_portrange: Connect from 
0.0.0.0.516 failed: Connection refused
Wed Jun 30 17:01:21 2010: amcheck-clients: connect_portrange: connect to 
128.210.3.201.10080 failed: Connection refused
Wed Jun 30 17:01:21 2010: amcheck-clients: stream_client: Could not bind to 
port in range 512-1023.
Wed Jun 30 17:01:21 2010: amcheck-clients: security_seterror(handle=80fd910, 
driver=80af820 (BSDTCP) error=Connection refused)
Wed Jun 30 17:01:21 2010: amcheck-clients: security_close(handle=80fd910, 
driver=80af820 (BSDTCP))
Wed Jun 30 17:01:21 2010: amcheck-clients: security_stream_close(81037e0)
Wed Jun 30 17:01:21 2010: amcheck: pid 21916 finish time Wed Jun 30 17:01:21 
2010


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>my .amandahosts file



-rw-------   1 amandabackup amanda        63 Jun 30 15:40 .amandahosts

and contains

hertz.math.purdue.edu root
hertz.math.purdue.edu amandabackup




>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>/etc/inet/services

amanda      10080/udp          amandabackup      # Amanda backup system
amanda      10080/tcp          amandabackup      # Amanda backup system
amandaidx   10082/tcp                            # Amanda backup system
amidxtape   10083/tcp                            # Amanda backup system


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>configure file:

        --with-user=amandabackup \
        --with-group=amanda  \
        --with-gnuplot=/opt/csw/bin/gnuplot \
        --with-gnutar-listdir=/var/amanda/gnutar-lists \
        --with-index-server=hertz \
        --with-tape-server=hertz \
        --without-ipv6 \
        --with-bsd-security \
        --with-bsdtcp-security \
        --enable-static-binary \
        --disable-s3-device


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>SMF information:

inetadm -l amanda/udp

SCOPE    NAME=VALUE
         name="amanda"
         endpoint_type="dgram"
         proto="udp"
         isrpc=FALSE
         wait=TRUE
         exec="/local/amanda/amanda/libexec/amanda/amandad -auth=bsdtcp amdump 
amindexd amidxtaped"
         user="amandabackup"
default  bind_addr=""
default  bind_fail_max=-1
default  bind_fail_interval=-1
default  max_con_rate=-1
default  max_copies=-1
default  con_rate_offline=-1
default  failrate_cnt=40
default  failrate_interval=60
default  inherit_env=TRUE
default  tcp_trace=FALSE
default  tcp_wrappers=FALSE
default  connection_backlog=10

 _____________________________________________________________________
Robert P. McGraw, Jr.
Manager, Computer System                     EMAIL: rmcg...@purdue.edu
Purdue University                             ROOM: MATH-807
Department of Mathematics                    PHONE: (765) 494-6055
150 N. University Street
West Lafayette, IN 47907-2067

Reply via email to