This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Rsync service problem when shutting down

> -----Original Message-----
> From: [] On 
> Behalf Of Frank Fesevur
> Sent: Tuesday, October 28, 2008 5:32 PM
> To:
> Subject: Rsync service problem when shutting down
> Hi,
> We run into a problem when we run rsync 3.0.4 as a service. We have 
> had 2.x running as a service for at least half a year without any 
> problem, using cygrunsrv. But since the upgrade to 3.x when the server 
> is rebooted the service doesn't start anymore. It turns out that the 
> /var/run/ file does still exist, which prevents the service 
> from starting. We never had this problem with 2.x.
> When I manually stop the service, the file is deleted. But when I 
> shutdown my machine the file is not deleted. What can we do to solve 
> this problem?
> Regards,
> Frank

I have the same problem. Has this been addressed? During a reboot, shutdown-startup, suspend, or hibernate (on my laptop), rsync often fails to remove the *.PID file it generates. Is this a Cygwin problem of rsync, or a generic rsync problem? I have two computers on which this happens.

cygcheck -s from my laptop attached. I established rsync as a service using cygrunsrv:

cygrunsrv -I rsyncd -e CYGWIN=nontsec -p /cygdrive/c/cygwin/bin/rsync.exe -a "--config=/cygdrive/c/rsyncd/rsyncd.conf --daemon --no-detach"




Attachment: 20081124.txt
Description: Text document

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]