Yes, when I run them manually they do solve the problem.
I understand that "checkTempFs" script that is run by what user? root?
And if I understand what your saying, inserting "checkTempFs" into the /etc/init.d/backuppc startup script. But, I am confused as to where /etc/init.d/backuppc "looks" for the script to run it on start up?
(FYI, my OS is a CentOS 7, like yours, I believe. And is a dedicated machine that runs only BackupPC.)
---
_______________________________
Bob Wooden of Donelson Trophy
615.885.2846
www.donelsontrophy.com
"Everyone deserves an award!!"
On 2015-08-04 09:44, David Cramblett wrote:
That is a function call I added to my init script that runs the following commands:
# mkdir -p /var/run/BackupPC
# chown [backuppc-user]:[backuppc-group] /var/run/BackupPC
You can run them manually before attempting to start BackupPC to test if it solves the problem.
If it works then you can add the function to the init script sample provided in the BackupPC install directory.
David
Sent from my mobile device
David Cramblett
On Aug 4, 2015 4:45 AM, "Bob of Donelson Trophy" < bob AT donelsontrophy DOT net> wrote:
David,
I have placed your "checkTempFs" file but it appears to not be running on restart.
What directory did you place your "checkTempFs" file in?
What file permissions does "checkTempFs" need?
Then finally, simply insert the "checkTempFs" above the "echo -n "Starting BackupPC: " line?
On 2015-08-03 20:48, David Cramblett wrote:
How are you currently starting BackupPC? If you doing via the daemon mode, you may want to leave off the -d and start it in the foreground so you can see the error. I'm guessing your having the issue with the temp file system I mentioned before.
David
Sent from my mobile device
David Cramblett
On Aug 3, 2015 6:44 PM, "Bob of Donelson Trophy" < bob AT donelsontrophy DOT net> wrote:
I am so-o-o close to functional.
When I run "ps -ef | grep BackupPC" I get only:
root 2379 2344 0 21:39 pts/0 00:00:00 grep --color=auto BackupPC
There is no "backuppc (bunch of numbers) /usr/bin/perl /usr/local/BackupPC/bin/BackupPC -d" like your output!
Suggestions?
On 2015-08-03 11:24, David Cramblett wrote:
Comments below:
|