BackupPC-users

Re: [BackupPC-users] Changing rsyncd listen port on Windows XP computers.

2009-03-02 18:16:51
Subject: Re: [BackupPC-users] Changing rsyncd listen port on Windows XP computers.
From: Cody Dunne <cdunne AT cs.umd DOT edu>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 02 Mar 2009 18:13:52 -0500
Hi Corey,

Cory Rivera wrote:
> [data]
>     path = e:/data
>     comment = data share to back up
>     auth users = backuppc
>     secrets file = c:/rsyncd/rsyncd.secrets
>     strict modes = false
>     read only = false
>     list = false
>     port = 1873     (this changes according to what the server has 
> configured for each computer)
> 
> I then run services.bat, and verify that the service is running.  I've 
> set up Windows firewall to unblock port 1873 (or the respective port).  
> The problem is, when I go to run BackupPC I check the XferLOG for the 
> computer, and I get an "inet connect: Connection" refused error on port 
> 1873.
> I've narrowed the problem down to this:
> I run "netstat -a" from the Windows computer and see that TCP 
> computer:1873 is not even listed.  However, TCP computer:873 is in the 
> listening state.  Disabling the rsyncd service removes that line, and 
> enabling it brings it back.  It seems that even though I specified in 
> rsyncd.conf, port = 1873, the daemon still listens on 873.

'port' is a global parameter for rsyncd.conf, not a module one. You need 
to put it above the '[data]' module. See 
http://samba.anu.edu.au/ftp/rsync/rsyncd.conf.html for details. Also, 
make sure you're not specifying '--port' on the command line, which 
would supersede any value in the conf file.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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/