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 <(321)%20296-7724>
Direct 407-542-7697 <(407)%20542-7697>
Cell 407-925-7030 <(407)%20925-7030>
www.riptidesoftware.com
*From:* Michael Stowe [mailto:mst...@chicago.us.mensa.org]
*Sent:* Tuesday, May 30, 2017 12:26 PM
*To:* General list for user discussion, questions and support <
backuppc-users@lists.sourceforge.net>
*Cc:* helpdesk <helpd...@riptidesoftware.com>; Jeffrey West <
jeffrey.w...@riptidesoftware.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
<https://u2182357.ct.sendgrid.net/wf/click?upn=WNzMAUsZ-2BA3FzBul7dPz-2FLK3WNz0eeGVTV3qhXftcetG7THvTnRMhJe1XZeSHdhW0B74mfrzBWYNxd76Po4ZjFbUml43OpmYMgD5rkSio-2B0-3D_jqrdyix3KEBlO45VMkmke70dzcGmwqfIL7-2Biew6RfAFPjMeTXDIBnq4oHASK-2F4daMENpX5Wul3B4-2BMiTTVA27mo4sSA2qAA4xOgvZQeUFSxsr9W8cFalcD6e7jAc-2Btc5gYG-2FZNO-2B7dLQyt2DQf5JQH3a2Twrtkcnk78Bkdl7d05bKKJNprMJAjwM0lWnsXntRtVYYIfk41gMSn2ZL-2B2HZhoxSSKyHpWSIblVuVEJGd4-3D>
—
— 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@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/