BackupPC-users

Re: [BackupPC-users] daemon not starting on Ubuntu start-up

2014-02-21 13:44:51
Subject: Re: [BackupPC-users] daemon not starting on Ubuntu start-up
From: <backuppc AT kosowsky DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 21 Feb 2014 12:42:52 -0500
Adam Hardy wrote at about 12:00:39 +0000 on Thursday, February 20, 2014:
 >    Every time I reboot my Ubuntu server, I have to restart the backuppc
 >    manually.
 >    I figured this must be an Ubuntu packaging problem, something to do
 >    with the sysvinit config, but I've checked those out and from my
 >    limited knowledge of sysvinit, backuppc appears to have good settings
 >    in the appropriate run-levels:
 >    0 - -
 >    1 - K20
 >    2 - S20
 >    3 - S20
 >    4 - S20
 >    5 - S20
 >    6 - -
 >    S20 seems a bit early though. Apache for instance has S91.
 >    However it could also be an error in the start-up script rather than it
 >    not executing at all - for instance I have the backups on a removable
 >    USB harddrive, and I am playing with Apache at the moment - could
 >    either of those stop backuppc from starting or even logging? I can't

My guess is that the USB drive is the problem.
On start-up, BackupPC checks to see if hard links can be written to
TopDir -- which in your case is on the USB drive.
Then, either because BackupPC starts too early or the USB drive
takes too long to be recognized and mounted, BackupPC exits on
start-up.
The fact that it works now and didn't at other times could just be the
luck/flakiness of whether the USB mount point is ready before or after
BackupPC launches.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
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/