Michael is correct that BackupPC does use $Info->{pid} (which is read from
status.pl).  But it does check that that process exists before printing the
error message (using perl's kill(0, pid) that doesn't really send a signal,
but tells you whether the process is alive).  So I don't know why it claims
process 1289 is running; that would mean "kill(0, 1289)" returns 1
(success)...

Without finding the root cause, Michael's work-around is the right one -
remove the pid setting from status.pl.

Craig

On Tue, May 30, 2017 at 2:06 PM, Holger Parplies <wb...@parplies.de> wrote:

> Hi,
>
> I really don't know where to start on this one, and my reply is off-topic,
> even if the original post wasn't, so sorry about that.
>
> For the archives: don't "kill -9". Period.
>
> "kill -9" means "I saw someone use this for a different problem, and I
> wanted
> to try it, too. I don't really know what it does or why I am using it. I
> don't
> really care whether things get better or worse, I'll just take my chances."
>
> If you think you forgot your keys, what do you do? "kill -9" is the "break
> down the door" variant. More sane approaches might be
> - check your pockets to make sure you really don't have your keys with you
> - knock on the door or ring the bell. Maybe someone is home.
> - call a locksmith.
>
> Of course, breaking down the door always works, whereas the other
> approaches
> might not, so that's what you should start with, right?
>
> I'll skip the details on why this was a bad idea in this instance.
>
> Hope that helps someone.
>
> Regards,
> Holger
>
> P.S.: Yes, it might ultimately turn out that you need to break down the
> door,
>       but, in my experience, you usually don't break down a *random* door
>       even then.
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to