I've patched and installed the new version on my server-clients...  

I'll send an update to the list tomorow once tonight's backup run finishes to 
confirm that this fixes the problem.

Merci!   

----- Original Message -----
From: "Jean-Louis Martineau" <[email protected]>
To: "Luc Lalonde" <[email protected]>
Cc: [email protected], "Technique GIGL" <[email protected]>
Sent: Friday, November 19, 2010 8:22:07 AM GMT -05:00 US/Canada Eastern
Subject: Re: Connection refused, timed out, successfully retried (v3.1.3)

Bonjour Luc,

It's a known bug in 3.1.3
The attached patch fix it.

Jean-Louis

Luc Lalonde wrote:
> Hello Folks,
>
> Since I've upgraded from Amanda-2.5.2p1 to Amanda-3.1.x, I've been getting 
> connection errors almost every day...
>
> Here's a snipet of the type of errors I'm getting:
>
> ############### Begin ###########################
> These dumps were to tape vtape-14.
> The next tape Amanda expects to use is: vtape-15.
> FAILURE DUMP SUMMARY:
>   chunker: FATAL startup_chunker failed: error accepting header stream: 
> Connection timed out
>   server1 /etc lev 1  FAILED [Can't open data output stream: Connection 
> refused]
>   server1 /etc lev 1  FAILED [error accepting data stream: Connection timed 
> out]
>   server1 /etc lev 1  was successfully retried
>   server2 /root lev 1  FAILED [port open: Connection refused]
>   server2 /root lev 1  was successfully retried
> ############### End  ###########################
>
> Here are my config files:
>
> ############### Begin amanda.conf ##############
> inparallel 10
> netusage  100 mbps
> maxdumps 2
>
> dumpcycle 2 weeks
> runspercycle 14 
> tapecycle 16 tapes
>
> bumpsize 20 Mb
> bumpdays 1
> bumpmult 4
>
> etimeout -21600
> dtimeout 10800
>
> autoflush yes
>
> runtapes 1
> tpchanger "chg-disk:/amanda/VTAPE/slots"
>
> tapetype HARDDISK
> define tapetype HARDDISK {
> length 204800 mbytes
> }
>
> holdingdisk hd1 {
>     comment "main holding disk"
>     directory "/amanda/stage/Journalier-VTAPE"
>     use 1000 Gb
>     chunksize 1Gb
>     }
>
> columnspec 
> "Hostname=0:8,Disk=1:14,OrigKB=1:10,OutKB=1:10,DumpRate=1:7,TapeRate=1:7"
>
> infofile "/amanda/home/Journalier-VTAPE/curinfo"
> logdir   "/amanda/home/Journalier-VTAPE"
> indexdir "/amanda/home/Journalier-VTAPE/index"
>
> # dumptypes
>
> define dumptype global {
>         comment "Global definitions"
>         index yes
>         record yes
>         auth "bsdtcp"
> }
>
> define dumptype full-tar {
>         global
>         program "GNUTAR"
>         comment "Full tar of this filesystem always"
>         compress client fast
>         priority high
>         dumpcycle 0
> }
>
> define dumptype exclude-tar {
>     global
>     program "GNUTAR"
>     comment "root partitions dumped with tar"
>     compress client fast
>     exclude list "/etc/amanda/exclude.gtar"
>     priority low
> }
>
> define dumptype enseign-tar {
>     global
>     program "GNUTAR"
>     comment "root partitions dumped with tar"
>     compress client fast
>     priority low
> }
>
> define dumptype server-estimate {
>     global
>     program "GNUTAR"
>     comment "root partitions dumped with tar"
>     compress client fast
>     estimate server
>     priority low
> }
>
> define dumptype root-tar {
>     global
>     program "GNUTAR"
>     comment "root partitions dumped with tar"
>     compress client fast
>     priority low
> }
>
>
> # network interfaces
>
> define interface local {
>     comment "a local disk"
>     use 20 mbps
> }
>
> define interface eth2 {
>     comment "1000 Mbps ethernet"
>     use 1000 mbps
> }
> ############### End amanda.conf  ##############
>
> #### Begin /etc/xinetd.d/amandaserver #########
> service amanda
> {
>         disable         = no
>         socket_type     = stream
>         protocol        = tcp
>         wait            = no
>         user            = amandabackup
>         group           = disk
>         groups          = yes
>         server          = /usr/libexec/amanda/amandad
>         server_args     = -auth=bsdtcp amdump amindexd amidxtaped
> }
> #### End /etc/xinetd.d/amandaserver   #########
>
> #### Begin /etc/xinetd.d/amandaclient #########
> service amanda
> {
>         disable         = no
>         socket_type     = stream
>         protocol        = tcp
>         wait            = no
>         user            = amandabackup
>         group           = disk
>         groups          = yes
>         server          = /usr/libexec/amanda/amandad
>         server_args     = -auth=bsdtcp amdump
> }
> #### End /etc/xinetd.d/amandaclient  #########
>
> And finally, here's a snippet of a pertinent dumper debug:
>
> ############## begin dump debug #####################
> Wed Nov 17 23:34:44 2010: dumper: security_streaminit(stream=0x1b64d110, 
> driver=0x3414c66520 (BSDTCP))
> Wed Nov 17 23:34:44 2010: dumper: security_streaminit(stream=0x1b655170, 
> driver=0x3414c66520 (BSDTCP))
> Wed Nov 17 23:34:44 2010: dumper: security_streaminit(stream=0x1b65d1d0, 
> driver=0x3414c66520 (BSDTCP))
> Wed Nov 17 23:34:44 2010: dumper: security_close(handle=0x1b643760, 
> driver=0x3414c66520 (BSDTCP))
> Wed Nov 17 23:34:44 2010: dumper: security_stream_close(0x1b644760)
> Wed Nov 17 23:34:44 2010: dumper: Building type FILE header of 32768-32768 
> bytes with name='server1' disk='/etc' dumplevel=1 and blocksize=32768
> Wed Nov 17 23:34:44 2010: dumper: Sending data to 127.0.0.1:11039
> Wed Nov 17 23:34:44 2010: dumper: make_socket opening socket with family 2
> Wed Nov 17 23:34:44 2010: dumper: connect_port: Try  port 11004: available - 
> Address already in use
> Wed Nov 17 23:34:44 2010: dumper: connect_port: Skip port 11000: owned by 
> irisa.
> Wed Nov 17 23:34:44 2010: dumper: connect_port: Skip port 11001: owned by 
> metasys.
> Wed Nov 17 23:34:44 2010: dumper: make_socket opening socket with family 2
> Wed Nov 17 23:34:44 2010: dumper: connect_port: Try  port 11002: available - 
> Success
> Wed Nov 17 23:34:44 2010: dumper: connect_portrange: Connect from 
> 0.0.0.0.11002 failed: Connection refused
> Wed Nov 17 23:34:44 2010: dumper: connect_portrange: connect to 
> 127.0.0.1.11039 failed: Connection refused
> Wed Nov 17 23:34:44 2010: dumper: stream_client: Could not bind to port in 
> range 11000-11040.
> Wed Nov 17 23:34:44 2010: dumper: security_stream_close(0x1b64d110)
> Wed Nov 17 23:34:44 2010: dumper: security_stream_close(0x1b655170)
> Wed Nov 17 23:34:44 2010: dumper: security_stream_close(0x1b65d1d0)
> Wed Nov 17 23:34:44 2010: dumper: putresult: 10 FAILED
> Wed Nov 17 23:39:45 2010: dumper: getcmd: PORT-DUMP 02-00036 11023 server1 
> ffffffff9efefbffffffffff01 /etc NODEVICE 1 2010:11:17:4:0:3 GNUTAR "" "" "" 
> "" bsdtcp AMANDA 12
> 7.0.0.1:11024 |"  <auth>bsdtcp</auth>\n  <compress>FAST</compress>\n  
> <record>YES</record>\n  <index>YES</index>\n  <datapath>AMANDA</datapath>\n  
> <exclude>\n    <lis
> t>/etc/amanda/exclude.gtar</list>\n  </exclude>\n"
> Wed Nov 17 23:39:45 2010: dumper: Sending header to localhost:11023
>
> Wed Nov 17 23:39:45 2010: dumper: make_socket opening socket with family 2
> Wed Nov 17 23:39:45 2010: dumper: connect_port: Try  port 11004: available - 
> Success
> Wed Nov 17 23:39:45 2010: dumper: connected to 127.0.0.1.11023
> Wed Nov 17 23:39:45 2010: dumper: our side is 0.0.0.0.11004
> Wed Nov 17 23:39:45 2010: dumper: try_socksize: send buffer size is 65536
> Wed Nov 17 23:39:45 2010: dumper: send request:
> ############## end dump debug   #####################
>
> Anyone have ideas on how to resolve this problem?  
>
> Thanks!
>   


-- 
Luc Lalonde, analyste
---------------------------------------------------------------------
Département de génie informatique:
École polytechnique de Montréal
(514) 340-4711 x5049
[email protected]
---------------------------------------------------------------------

Reply via email to