BackupPC-users

Re: [BackupPC-users] OT: rsyncd as a service on Windows 8

2013-10-28 14:05:44
Subject: Re: [BackupPC-users] OT: rsyncd as a service on Windows 8
From: Mark Campbell <mcampbell AT emediatrade DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 28 Oct 2013 10:46:46 -0700
I also have this issue on Windows 8 (and yet also run it flawlessly on Server 
2012 going on a year now). I haven't fixed it yet, but in my case, I have 
noticed that the problem primarily exists on laptops.  So my current running 
theory is that when the laptop goes to sleep, or hibernates, it screws with the 
service, and fails to restart, because the .pid file already exists.  I've 
considered rewriting (whenever I have the time) the startup script to check 
for, and delete the .pid file before trying to start the actual binary.

Thanks,

--Mark


-----Original Message-----
From: Dan Johansson [mailto:Dan.Johansson AT dmj DOT nu] 
Sent: Sunday, October 27, 2013 2:26 PM
To: backuppc-users AT lists.sourceforge DOT net
Subject: Re: [BackupPC-users] OT: rsyncd as a service on Windows 8

On 26.10.2013 23:32, Timothy J Massey wrote:
> Dan Johansson <Dan.Johansson AT dmj DOT nu> wrote on 10/26/2013 08:37:48 AM:
> 
>> Any suggestions on
>> a)   how to find out why rsyncd dies in the first place
> 
> Not really:  I have never run rsync on Windows 8.  I *have* done it on 
> Windows Server 2012 (based on Win8) with zero crashes across 3-4 
> servers on that OS and maybe 3 months of time.  So it may not be a 
> Windows 8 problem exactly, it may be just *your* Windows 8.
> 
> Have you checked the Event Viewer?  It usually shows you what's going 
> on with rsync...
> 
>> b)   how to fix this
> 
> If we don't know why it dies how can we fix it?
> 
>> c)   if this is "unfixable" how can I make rsyncd restart even if there
>> are a .pid and .lock file around
> 
> You can't, to my knowledge.  I have wrapped launching rsync in a CMD 
> to delete stale files before launching the daemon.  (I hope I'm wrong:  
> it would be nice not to need it!)
> 
> Tim Massey

Tim, do you mind sharing the CMD-file?

Regards,
--
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
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/