BackupPC-users

[BackupPC-users] BackupPC won't start, no output when command executed

2014-11-27 01:03:22
Subject: [BackupPC-users] BackupPC won't start, no output when command executed
From: David Cramblett <david AT functionalchaos DOT net>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 26 Nov 2014 21:38:01 -0800

I recently decided to upgrade my long running BackupPC system (personal home instance). Since it's for personal use, I decided to give the BackupPC-4.0.0alpha3 a go.  I installed on a CentOS 7 system.

My initial install went fine. I added four hosts and made several backups over the past several days. Today I restarted the sever to move some cabling around and now the BackupPC daemon wont start.

I ran /usr/local/BackupPC/bin/BackupPC manually and got no output and no errors, but the program just exited ( I expected it to run in the foreground without the -d option). I tried again several times, both with and without the -d option. No output, just exits and I can't find any instance of the BackupPC daemon running.

I tried running BackupPC as root and received the expected "Wrong user" message.

I added the -w flag after #!/usr/bin/perl in the BackupPC command file, hoping to get some help, but nothing stands out to me:

[backuppc@backuppc ~]$ /usr/local/BackupPC/bin/BackupPC
"my" variable $lockFd masks earlier declaration in same scope at /usr/local/BackupPC/lib/BackupPC/Storage/Text.pm line 474.
"my" variable $locked masks earlier declaration in same scope at /usr/local/BackupPC/lib/BackupPC/Storage/Text.pm line 474.
Statement unlikely to be reached at /usr/local/BackupPC/lib/BackupPC/Lib.pm line 1153.
        (Maybe you meant system() when you said exec()?)
Statement unlikely to be reached at /usr/local/BackupPC/lib/BackupPC/Lib.pm line 1218.
        (Maybe you meant system() when you said exec()?)
Statement unlikely to be reached at /usr/local/BackupPC/bin/BackupPC line 565.
        (Maybe you meant system() when you said exec()?)
Statement unlikely to be reached at /usr/local/BackupPC/bin/BackupPC line 737.
        (Maybe you meant system() when you said exec()?)
Possible attempt to separate words with commas at /usr/local/BackupPC/bin/BackupPC line 1314.
Name "BackupPC::Storage::Text::LOCK" used only once: possible typo at /usr/local/BackupPC/lib/BackupPC/Storage/Text.pm line 482.
Use of uninitialized value $topDir in string eq at /usr/local/BackupPC/lib/BackupPC/Lib.pm line 68.
Use of uninitialized value $installDir in string eq at /usr/local/BackupPC/lib/BackupPC/Lib.pm line 69.
Use of uninitialized value $confDir in string eq at /usr/local/BackupPC/lib/BackupPC/Lib.pm line 77.
Use of uninitialized value $host in string ne at /usr/local/BackupPC/lib/BackupPC/Lib.pm line 346.
Use of uninitialized value in string ne at /usr/local/BackupPC/bin/BackupPC line 244.

Regards, 

David


--
David Cramblett
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&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/