Thursday, September 27, 2012

Running Rsync Server as Service on Windows 7 (64 Bit)

What if i want running Rsync server as service on Windows, here :
cygrunsrv -I "RSYNC" -d "Rsync daemon" -p rsync.exe -a "--config=rsyncd.conf --daemon --no-detach" -f "Fast incremental file transfer"
This command will create Rsync daemon service on Windows 7

To start service you can type
cygrunsrv.exe  --start rsync

To stop service you can type
cygrunsrv.exe  --stop rsync


3 comments:

  1. Hi, when I try to start the service it returns this:
    cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: the service has not been started.

    Does it work on Win 2k8 R2?

    Thanks
    Luka

    ReplyDelete
  2. Check your Windows log and find something like: "sshd: PID : Possible duplicate cygwin1.dll:"

    rename/delete another cygwin1.dll

    ReplyDelete
  3. Yessss, in my case there was another cygwin1.dll in Vmware\Infrastructure\....\Linux

    Thank you so much! :-)

    ReplyDelete