BackupPC-users

Re: [BackupPC-users] Problems Starting BackupPC

2017-05-30 15:43:00
Subject: Re: [BackupPC-users] Problems Starting BackupPC
From: Jeffrey West <jeffrey.west AT riptidesoftware DOT com>
To: mstowe AT chicago.us.mensa DOT org, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 30 May 2017 15:42:39 -0400

Thank you!  My friend figured it out and issues the following command which seemed to fix it.

 

Kill -9 1289

 

Apparently, that killed the missing process which I could not find using ps -ax

 

A simple service restart brought it back up.

 

Jeff West
Systems Engineer
Riptide Software
Office 
321-296-7724 ext 216
Direct 
407-542-7697
Cell    
407-925-7030
www.riptidesoftware.com

 

From: Michael Stowe [mailto:mstowe AT chicago.us.mensa DOT org]
Sent: Tuesday, May 30, 2017 12:26 PM
To: General list for user discussion, questions and support <backuppc-users AT lists.sourceforge DOT net>
Cc: helpdesk <helpdesk AT riptidesoftware DOT com>; Jeffrey West <jeffrey.west AT riptidesoftware DOT com>
Subject: Re: [BackupPC-users] Problems Starting BackupPC

 

On 2017-05-30 09:30, Jeffrey West wrote:

All,

Over the weekend we had a power outage and the servers all went down due to a faulty APC. BackupPC will boot back up, but I cannot start the service. I get the following error.

â?? Unit backuppc.service has begun starting up.

May 30 10:29:12 backuppc.riptidesoftware.com [1] BackupPC[2537]: 2017-05-30 10:29:12 Another BackupPC is running (pid 1289); quittingâ?¦

May 30 10:29:12 backuppc.riptidesoftware.com [1] systemd[1]: backuppc.service: Main process exited, code=exited, status=1/FAILURE

May 30 10:29:12 backuppc.riptidesoftware.com [1] systemd[1]: Failed to start BackupPC server.

â?? Subject: Unit backuppc.service has failed

â?? Defined-By: systemd

â?? Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

â??

â?? Unit backuppc.service has failed.

â??

â?? The result is failed.

May 30 10:29:12 backuppc.riptidesoftware.com [1] audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=backuppc comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? r

May 30 10:29:12 backuppc.riptidesoftware.com [1] systemd[1]: backuppc.service: Unit entered failed state.

May 30 10:29:12 backuppc.riptidesoftware.com [1] systemd[1]: backuppc.service: Failed with result â??exit-codeâ??.

I looked for a PID file in /var/run/BackupPC, but nothing is there. I am assuming this is some leftover PID or SOCK file that needs to be renamed or removed. Running ps -ax does not show any process running under pid 1289 or by the name BackupPC.

Any ideas?

Jeff West Systems Engineer Riptide Software Office 321-296-7724 ext 216 [2] Direct 407-542-7697 [3] Cell 407-925-7030 [4] www.riptidesoftware.com [5]

BackupPC keeps track of its own PID/status independently of systemd (or whatever else is launching/monitoring it) in a file called â??status.pl,â?? which can usually be found in /var/log/BackupPC, unless you or your package manager have placed it elsewhere.

You'll find the relevant variable under â??pidâ?? within this file, which as I recall, you can either blank out, or set to zero. (I note that status.pl contains a number of other things, so you probably don't want to just delete it.)

My own systemd uses helper scripts to coordinate the state of status.pl with the pidfiles and systemd, something which I thought was ridiculous overkill when I saw the considerably simpler systemd's on this list (and that's probably still the case) but it's something to consider if this happens frequently.

------------------------------------------------------------------------------
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 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/

ADSM.ORG Privacy and Data Security by KimLaw, PLLC