SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Lockfile /..../rsnapshot.pid exists, can
Author Message
Post Lockfile /..../rsnapshot.pid exists, can 
If rsync dies for any reason, rsnapshot will continue to fail with the
above message, forever.

Since the PID is stored in that file, would it be possible for rsnapshot
to check if the pid is running, and if not, remove the stale lock file?

Thanks,

--Yan

--
o__
,>/'_ o__
(_)\(_) ,>/'_ o__
Yan Seiner (_)\(_) ,>/'_ o__ o__
Certified Personal Trainer (_)\(_) ,>/'_ ,>/'_
Licensed Professional Engineer (_)\(_) (_)\(_)

Linux stuff has made big progress over the competition. When things sit and don't start right away, we have a watch, and those poor guys have to settle for an hourglass.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post Lockfile /..../rsnapshot.pid exists, can 
Yan Seiner wrote:

If rsync dies for any reason, rsnapshot will continue to fail with the
above message, forever.

Since the PID is stored in that file, would it be possible for rsnapshot
to check if the pid is running, and if not, remove the stale lock file?

And indeed version 1.3.0 does exactly that :-)

--
David Cantrell | Nth greatest programmer in the world

Wow, my first sigquoting! I feel so special now!
-- Dan Sugalski

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB