I have been using backuppc on centos for over eight years, but now I am trying to upgrade my server to Centos 7 and unfortunately there does not seem to be a backuppc package for centos 7 as yet, so I tried using BackupPC-3.3.0-2.el6.x86_64.rpm.
Centos 7 uses apache 2.4 which required me to mess around with BackupPC.conf file, but I think that is now OK as I can access backuppc from a browser.
However, it looks like I have a permissions problem somewhere and I am not sure exactly what the cause is. The extract from the BackupPC log file is:
Reading hosts file
Adding host …
Adding host …
Unix bind(): failed: No such file or directory
When I connect a browser to localhost/backuppc, I get the expected screen and I can browse the backups, but this screen also gives me this error:
Error: Unable to connect to BackupPC server
This CGI script (/sbin/BackupPC_Admin) is unable to connect to the BackupPC server on localhost port -1.
The error was: unix connect: No such file or directory.
Perhaps the BackupPC server is not running or there is a configuration error. Please report this to your Sys Admin.
Naturally the service is running and I have selinux in permissive mode. This error occurs both on localhost and from a computer on my LAN, so it should not be a firewall issue. I have checked permissions in /var/lib/BackupPC/* and they are all owned by backuppc: this directory is a mounted logical volume. I use rsync on the pcs for backup purposes and at the moment no backups are occurring.
Can anyone point me to where this error is likely to be coming from?
OK, I have found the issue and my apologies for an empty posting (it was probably caused by me digitally signing my previous e-mail). The issue was that /var/run/BackupPC did not exist. I created that, but now I have another issue when I try and start a backup, this time in perl:
/usr/bin/perl: symbol lookup error: /usr/lib64/perl5/vendor_perl/auto/File/RsyncP/Digest/Digest.so undefined symbol: Perl_Gthr_key_ptr
After a bit of investigation it looks like I am stuffed. The latest version of File-RsyncP-Digest (0.70) I could find requires rsync 2.x up to protocol version 28. Centos 7 has rsync 3.0.9 protocol version 30.
I note that backuppc v4 uses rsync v3.0.9 (in place of File::RsyncP) but is still in alpha release. How stable is this release?