Amanda-Users

Re: Can't connect to client on Solaris 10

2009-04-29 13:55:35
Subject: Re: Can't connect to client on Solaris 10
From: Jean-Louis Martineau <martineau AT zmanda DOT com>
To: Abilio Carvalho <abilio.carvalho AT bbp DOT ch>
Date: Wed, 29 Apr 2009 13:42:15 -0400
You are using the bsdtcp auth mechanism, you must configure the client for it.

/etc/services: add
amanda          10080/tcp


SCOPE    NAME=VALUE
         name="amanda"
         endpoint_type="dytream"
         proto="tcp"
         isrpc=FALSE
         wait=FALSE
         exec="/libexec/amanda/amandad"
         user="amandabackup"


Jean-Louis

Abilio Carvalho wrote:
Hi. I tried to install amanda on a solaris 10 box (sparc) but it's not responding to amchecks.


amcheck's log gives:

1241020517.034653: amcheck-clients: make_socket opening socket with family 2 1241020517.034674: amcheck-clients: connect_port: Try port 703: available - Success 1241020517.035322: amcheck-clients: connect_portrange: Connect from 0.0.0.0.703 failed: Connection refused 1241020517.035333: amcheck-clients: connect_portrange: connect to 193.73.134.4.10080 failed: Connection refused 1241020517.035347: amcheck-clients: stream_client: Could not bind to port in range 700-710. 1241020517.035361: amcheck-clients: security_seterror(handle=0x8fe73b0, driver=0x2a9620 (BSDTCP) error=Connection refused) 1241020517.035370: amcheck-clients: security_close(handle=0x8fe73b0, driver=0x2a9620 (BSDTCP))
1241020517.035378: amcheck-clients: security_stream_close(0x8ff1900)
1241020517.271757: amcheck-server: changer: << EXITSTATUS 0
1241020517.271782: amcheck-server: changer: << current 99 0 1
1241020517.271799: amcheck-server: changer_query: changer return was 99 0 1
1241020517.271831: amcheck-server: changer_query: searchable = 1
1241020517.271843: amcheck-server: changer_find: looking for NULL changer is searchable = 1
1241020517.271856: amcheck-server: changer: >> -slot current
1241020522.034995: amcheck-clients: security_handleinit(handle=0x8fe73b0, driver=0x2a9620 (BSDTCP)) 1241020522.036002: amcheck-clients: security_streaminit(stream=0x8ff1900, driver=0x2a9620 (BSDTCP)) 1241020522.037590: amcheck-clients: connect_port: Skip port 700: owned by epp. 1241020522.038124: amcheck-clients: connect_port: Skip port 701: owned by lmp. 1241020522.038651: amcheck-clients: connect_port: Skip port 702: owned by iris-beep. 1241020522.041874: amcheck-clients: make_socket opening socket with family 2 1241020522.041895: amcheck-clients: connect_port: Try port 703: available - Success 1241020522.042523: amcheck-clients: connect_portrange: Connect from 0.0.0.0.703 failed: Connection refused 1241020522.042535: amcheck-clients: connect_portrange: connect to 193.73.134.4.10080 failed: Connection refused 1241020522.042549: amcheck-clients: stream_client: Could not bind to port in range 700-710. 1241020522.042563: amcheck-clients: security_seterror(handle=0x8fe73b0, driver=0x2a9620 (BSDTCP) error=Connection refused) 1241020522.042602: amcheck-clients: security_close(handle=0x8fe73b0, driver=0x2a9620 (BSDTCP))
1241020522.042611: amcheck-clients: security_stream_close(0x8ff1900)

On the client, /etc/services has the following lines:

amanda          10080/udp
amandaidx       10082/tcp
amidxtape       10083/tcp

and inetadm -l svc:/network/amanda/udp:default reports the following:

SCOPE    NAME=VALUE
          name="amanda"
          endpoint_type="dgram"
          proto="udp"
          isrpc=FALSE
          wait=TRUE
          exec="/libexec/amanda/amandad"
          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


However, netstat -a | grep amanda OR netstat -a | grep 1008 returns nothing. I have no idea how to proceed anymore. Can anyone help?

Abilio


-----------------------------------------------------------------------------------
This e-mail is strictly confidential and may be privileged.
It is intended solely for the addressee. If you are not the intended
recipient, any copying, distribution or any other use of this message
is prohibited and may be unlawful. In such case, please notify the
sender Immediately and destroy this e-mail.
------------------------------------------------------------------------------------



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