On Sat, 23 Apr 2005 06:13:44 -0400, Dan Langille wrote:

> On 22 Apr 2005 at 21:40, Jesse Guardiani wrote:
> 
>> On Tue, 19 Apr 2005 11:33:48 -0400, Jesse Guardiani wrote:
>> 
>> > Hello,
>> > 
>> > I've installed bacula for a customer using this stunnel version:
>> > 
>> > stunnel 3.26 on i386-redhat-linux-gnu PTHREAD+LIBWRAP with OpenSSL
>> > 0.9.6b [engine] 9 Jul 2001
>> > 
>> > on both machines to encrypt the control and data sockets. I can run
>> > status commands for the remote file daemons, and I can run a job on
>> > the remote file daemon, see the connection come into the storage
>> > daemon, see bytes increment on my storage file, and see my T1 max
>> > out during the job, but at the end of the job I get this:
>> > 
>> > 19-Apr 08:11 teahut-dir: Lionfish-job.2005-04-19_07.11.15 Fatal
>> > error: Network error with FD during Backup: ERR=Connection reset by
>> > peer 19-Apr 08:11 teahut-dir: Lionfish-job.2005-04-19_07.11.15 Fatal
>> > error: No Job status returned from FD. 19-Apr 08:11 teahut-dir:
>> > Lionfish-job.2005-04-19_07.11.15 Error: Bacula 1.36.2 (28Feb05):
>> > 19-Apr-2005 08:11:52
>> >   JobId:                  40
>> >   Job:                    Lionfish-job.2005-04-19_07.11.15
>> >   Backup Level:           Full (upgraded from Incremental)
>> >   Client:                 lionfish-fd
>> >   FileSet:                "Lionfish-fileset" 2005-04-13 15:24:07
>> >   Pool:                   "Default" Storage:                "File"
>> >   Start time:             19-Apr-2005 07:11:17 End time:            
>> >     19-Apr-2005 08:11:52 FD Files Written:       0 SD Files Written:
>> >         0 FD Bytes Written:       0 SD Bytes Written:       0 Rate: 
>> >                    0.0 KB/s Software Compression:   None Volume
>> >   name(s): Volume Session Id:      7 Volume Session Time:   
>> >   1113849706 Last Volume Bytes:      12,937,787,703 Non-fatal FD
>> >   errors:    0 SD Errors:              0 FD termination status: 
>> >   Error SD termination status:  Running Termination:            ***
>> >   Backup Error ***
>> > 
>> > Any idea what the problem is?
>> 
>> Anyone?
> 
> You have two stunnel instances here?  One between Director and FD, 
> another between FD and SD?

Yes.


> Each must be in the proper direction 
> (i.e. the client must be the Director for the first stunnel, the SD 
> must be the server for the second stunnel).

Yes. Here are the lines from my rc.local that start the tunnels:

# added by JDG on 2005/04/08 to encrypt connections TO the bacula
# storage daemon
/usr/sbin/stunnel -D 6 -S 0 -d 29103 -r localhost:9103 -p 
/usr/share/ssl/certs/host.key.pem

# added by JDG on 2005/04/13 - these are stunnel clients connecting
# to remote stunnel servers to encrypt bacula CONTROL connections
# *TO* remote file daemons from the local director. One stunnel per
# client to be backed up. Note that the localhost port is different
# for each remote machine!
/usr/sbin/stunnel -c -D 6 -S 0 -a /usr/share/ssl/certs/cacerts -d 
localhost:29102 -r lionfish.org:29102
/usr/sbin/stunnel -c -D 6 -S 0 -a /usr/share/ssl/certs/cacerts -d 
localhost:29104 -r host2.net:29104
/usr/sbin/stunnel -c -D 6 -S 0 -a /usr/share/ssl/certs/cacerts -d 
localhost:29105 -r host3.net:29105

(I tweaked the host names a bit for privacy. Sorry.)


> Is your SD and Director on the same machine?

Yes.
Like I said, the storage daemon's storage file increments when I run
a backup, and if I cancel the backup in the middle, then I get an
accurate status report, but if I just let it run then it complains as
shown in the original email.

Any ideas what the problem might be? TCP/IP connection timeout? stunnel
timeout?

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to