Hi All,
With my new SMP Box, I'm seeing that on reboots, BackupPC will refuse to start
because it sees another process w/ it's previous PID already running. Looking
through the code, BackupPC seems to store it's own PID in two places:
status.pl
$TOPDIR/log/BackupPC.pid
It seems that on ServerShutdown() in BackupPC.pl correctly unlinks BackupPC.pid,
but nothing sets pid in status.pl to undef (or other).
Which is the more correct fix:
set status.pl to undef as part of shutdown
check PID as defined in TOPDIR/log/BackupPC.pid (if it exists)
I'm happy to make the change and submit a diff, I just don't want to go down the
wrong road.
Tony
--
Tony Nelson
Director of IT Operations
Starpoint Solutions LLC
115 Broadway, 2nd Fl
New York, NY 10006
This email message from Starpoint Solutions LLC is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Opinions, conclusions and other information in this message that do not relate to the official business of Starpoint Solutions shall be understood as neither given nor endorsed by it.
