Ah, I didn't update to 4.1.1, especially since If found the problem I didn't 
want to change anything until I had it resolved. LOL

I also saw reference to creating a file in /etc/tmpfiles.d/BackupPC.conf 
containing one line:
D /var/run/BackupPC 0775 root backuppc

This supposedly creates the file at a more "system" level before the script 
runs. They suggested doing this instead of having your startup script create 
it, but I don't know which is better.

Thanks for the reply!
 Steve


> On Apr 12, 2017, at 3:22 PM, Craig Barratt <cbarr...@users.sourceforge.net 
> <mailto:cbarr...@users.sourceforge.net>> wrote:
> 
> Steve,
> 
> In 4.1.1 I added this directive to the systemd backuppc.service file:
> 
> RuntimeDirectory=BackupPC
> 
> which creates the /var/run/BackupPC directory just before it starts BackupPC.
> 
> Craig
> 
> On Wed, Apr 12, 2017 at 12:45 PM, Steve Palm <n9...@n9yty.com 
> <mailto:n9...@n9yty.com>> wrote:
> Looked at the code, ${RunDir} is the location, and its s a directory not a 
> file.
> 
> Not sure why it couldn't be created, but I did so manually, changed ownership 
> to backuppc and it works.
> 
> Still don't know why it went wrong...
> 
> Steve
> 
> > On Apr 12, 2017, at 2:35 PM, Steve Palm <n9...@n9yty.com 
> > <mailto:n9...@n9yty.com>> wrote:
> >
> > Hello,
> >
> > I had a hard server crash, seems a RAM module went bad. After diagnosing 
> > and getting it back up and running, BackupPC will no longer start. I simply 
> > get:
> >
> > systemd[1]: Starting SYSV: Starts and stops the BackupPC server...
> > runuser[6605]: pam_unix(runuser:session): session opened for user backuppc 
> > by (uid=0)
> > backuppc[6604]: Starting BackupPC: 2017-04-12 14:32:20 Can't create 
> > /var/run/BackupPC... quitting
> > runuser[6605]: pam_unix(runuser:session): session closed for user backuppc
> > backuppc[6604]: [FAILED]
> > systemd[1]: backuppc.service: control process exited, code=exited status=1
> > systemd[1]: Failed to start SYSV: Starts and stops the BackupPC server.
> > systemd[1]: Unit backuppc.service entered failed state.
> > systemd[1]: backuppc.service failed.
> >
> > I am puzzled because I hadn't changed anything configuration-wise, system 
> > or BackupPC, so I don't know why it won't start all of a sudden.
> >
> > I can manually (as root) touch /var/run/BackupPC without issue, so I am 
> > perplexed as to where to look from here.
> >
> > Any ideas?
> > ------------------------------------------------------------------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org <http://slashdot.org/>! 
> > http://sdm.link/slashdot <http://sdm.link/slashdot>
> > _______________________________________________
> > BackupPC-users mailing list
> > BackupPC-users@lists.sourceforge.net 
> > <mailto:BackupPC-users@lists.sourceforge.net>
> > List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users 
> > <https://lists.sourceforge.net/lists/listinfo/backuppc-users>
> > Wiki:    http://backuppc.wiki.sourceforge.net 
> > <http://backuppc.wiki.sourceforge.net/>
> > Project: http://backuppc.sourceforge.net/ <http://backuppc.sourceforge.net/>
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org <http://slashdot.org/>! 
> http://sdm.link/slashdot <http://sdm.link/slashdot>
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net 
> <mailto:BackupPC-users@lists.sourceforge.net>
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users 
> <https://lists.sourceforge.net/lists/listinfo/backuppc-users>
> Wiki:    http://backuppc.wiki.sourceforge.net 
> <http://backuppc.wiki.sourceforge.net/>
> Project: http://backuppc.sourceforge.net/ <http://backuppc.sourceforge.net/>
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org <http://slashdot.org/>! 
> http://sdm.link/slashdot_______________________________________________ 
> <http://sdm.link/slashdot_______________________________________________>
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net 
> <mailto: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