I think it will be missing after a reboot again. Because /var/run is a
tmpfs mounted directory. So probably need to create the backuppc
directory in the init script.
Knut Petter
On 28.11.2014 07:35, David Cramblett wrote:
Turned out I was some how missing the /var/run/BackupPC directory,
where BackupPC creates the BackupPC.sock and BackupPC.pid files when
it's running. How I got BackupPC started the first time, without this
directory, I can not tell at this point.
Regardless, things are working well again and it seems that
BackupPC-4-alpha is solid for linux and windows clients so far.
David
On Thu, Nov 27, 2014 at 9:38 AM, David Cramblett
<da...@functionalchaos.net <mailto:da...@functionalchaos.net>> wrote:
Looks like its failing here trying to find libc.mo
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY)
= -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) =
-1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) =
-1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
write(3, "2014-11-27 09:29:48 unix bind() "..., 66) = 66
That "unix bind() failure" message is writtent to the backuppc log.
On Wed, Nov 26, 2014 at 9:38 PM, David Cramblett
<da...@functionalchaos.net <mailto:da...@functionalchaos.net>> wrote:
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
--
David Cramblett
--
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@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
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@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/