When I try to start BackupPC with "sudo systemctl restart backuppc"
on my CentOS-7 server (running kernel 3.10.0-229.14.1.el7.x86_64)
I get the following error in /var/log/BackupPC/LOG
2015-09-26 13:58:14 Reading hosts file
2015-09-26 13:58:14 unix bind() failed: No such file or directory
This message occurs in the Perl script /usr/share/BackupPC/bin/BackupPC :
my $sockFile = "/var/run/BackupPC/BackupPC.sock";
unlink($sockFile);
if ( !bind(SERVER_UNIX, sockaddr_un($sockFile)) ) {
print(LOG $bpc->timeStamp, "unix bind() failed: $!\n");
exit(1);
}
As far as I can see (I'm no guru) this is trying to open a unix socket
with the name /var/run/BackupPC/BackupPC.sock .
There is no directory /var/run/BackupPC/ on my server.
When I create this, setting backuppc.apache as owner,
and run "sudo systemctl restart backuppc"
I see in /var/log/BackupPC/LOG that BackupPC has (at long last) started
--
Timothy Murphy
gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin