BackupPC-users

Re: [BackupPC-users] Ryncd issues

2008-06-24 07:08:01
Subject: Re: [BackupPC-users] Ryncd issues
From: Rob Owens <rob.owens AT biochemfluidics DOT com>
Date: Tue, 24 Jun 2008 07:07:50 -0400
I'd try commenting out the "hosts allow" line, just to eliminate it as a 
possibility.

-Rob

Rick Cooper wrote:
> I am trying to perform a backup using rsyncd
> The host to be backup up resides on a remote network connected via ipsec
> tunnel
> 
> The client and host are both running rsync version 3.0.2  protocol version
> 30
> 
> The daemon (remote to be backed up) set up is
> 
> /etc/rsyncd.secrets
> 
> -rw-r-----  1 root root 33 Jun 23 17:02 /etc/rsyncd.secrets
> Contents:
> backuppc:password 
> 
> Rsyncd.conf:
> 
> [BackupPC]
>         comment = BackupPC Data Directory
>         path = /data
>         read only = yes
>         secrets file = /etc/rsyncd.secrets
>         hosts allow = 192.168.1.0/24
>         auth users = backuppc
> 
> The host config relating to this host xfers
> 
> $Conf{RsyncShareName} = [
>   'BackupPC'
> ];
> 
> $Conf{RsyncdAuthRequired} = '1';
> $Conf{RsyncdPasswd} = 'password';
> $Conf{RsyncdUserName} = 'backuppc';
> 
> The error that BackupPC gives is:
> 
> full backup started for directory BackupPC
> Connected to dfnsrv01:873, remote version 30
> Negotiated protocol version 28
> Error connecting to module BackupPC at dfnsrv01:873: auth required, but
> service BackupPC is open/insecure
> Got fatal error during xfer (auth required, but service BackupPC is
> open/insecure)
> Backup aborted (auth required, but service BackupPC is open/insecure)
> Not saving this as a partial backup since it has fewer files than the prior
> one (got 0 and 0 files versus 0)
> 
> The error that the remote rsync daemon gives is
> Jun 23 19:17:38 dfnsrv01 rsyncd[25783]: connect from srv2 (192.168.1.1)
> Jun 23 19:17:43 dfnsrv01 rsyncd[25783]: rsync: read error: Connection reset
> by peer (104)
> Jun 23 19:17:43 dfnsrv01 rsyncd[25783]: rsync error: error in rsync protocol
> data stream (code 12) at io.c(794) [receiver=3.0.2]
> 
> 
> If I set both sides so they do not require authentication BackupPC gives
> this error:
> 
> 2008-06-23 19:00:32 full backup started for directory BackupPC
> 2008-06-23 19:00:32 Got fatal error during xfer (auth required, but service
> BackupPC is open/insecure)
> 2008-06-23 19:00:37 Backup aborted (auth required, but service BackupPC is
> open/insecure)
> 2008-06-23 19:01:06 full backup started for directory BackupPC
> 2008-06-23 19:01:06 Got fatal error during xfer (unexpected response: '')
> 2008-06-23 19:01:11 Backup aborted (unexpected response: '')
> 
> 
> I have no idea where to go next. Clearly the rsync daemon side is *not*
> open/insecure and suspect this might have something to do with the fact that
> the last version of File::RsyncP is from November 2006 and something has
> changed in the last *several* versions. Has anyone encountered and found a
> way around this situation?
> 
> 
> Rick Cooper
> 
> 
> 
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users AT lists.sourceforge DOT net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
********************************************************

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this transmission in
error please notify the sender immediately and then delete this e-mail.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard copy
version.

********************************************************


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

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