BackupPC-users

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

2009-03-02 18:47:37
Subject: Re: [BackupPC-users] Changing rsyncd listen port on Windows XP computers.
From: Ruslan Sivak <russ AT vshift DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 02 Mar 2009 18:04:09 -0500
Cory Rivera wrote:
> Hello all,
>
> A little summary of my scenario:
> I'm using the latest version of BackupPC to backup Windows XP 
> computers that are behind routers on our network.  I've set up the 
> client-configuration files on the Ubuntu server running BackupPC to 
> override the ClientNameAlias option - I've set it to the router name 
> for each config file.  I've also overriden the ports for each file, 
> starting with 873 then moving to 1873, 2873, etc. assigning a 
> different port to each computer.  I've then setup the router to 
> forward these ports to each computer, respecitively.  However, I'm 
> having a problem setting up Rsyncd on each computer - I've setup 
> rsyncd.conf for each computer as given:
> [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.
>
> Any ideas on how to resolve this issue?
>   

I haven't tried this myself, but I'm not completely sure that it will 
take a port argument in a conf file.  Can you try modifying your 
service.bat to include "--port=1873".  You'll probably need to delete 
and then install the service using the service.bat file.

Russ


------------------------------------------------------------------------------
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/