Here is info from my machine, currently running CentOS 6.8. I was able to
resolve the problem by manually installing both ExtUtils-Constant-0.23 and
Socket-2.024 by hand, they would not compile with CPAN.
Thanks,
-John
# perl -v
This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
Copyright 1987-2009, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
# perl -e 'use Socket; print $Socket::VERSION . "\n"'
1.82
From: Craig Barratt [mailto:cbarr...@users.sourceforge.net]
Sent: Monday, March 27, 2017 10:34 PM
To: General list for user discussion, questions and support
<backuppc-users@lists.sourceforge.net>
Subject: Re: [BackupPC-users] Error ' getaddrinfo is not a valid Socket macro'
after upgrading to 4.1
Steve Palm reported that error last week on this list. It relates to a patch
included in 4.x to make ipv6 work.
It's likely you have an old version of perl and Socket.pm. Could you tell us
your versions? Run this:
perl -v
perl -e 'use Socket; print $Socket::VERSION . "\n"'
Try upgrading Socket.pm:
sudo cpan
install Socket
I'll add a version check on Socket to configure.pl<http://configure.pl>.
Craig
On Mon, Mar 27, 2017 at 6:25 PM, John Barton
<jbar...@sts-llc.net<mailto:jbar...@sts-llc.net>> wrote:
I recently upgraded from BackupPC 3.3.0 to version 4.1. The upgrade process
itself seemed to go OK, and I only had to fix a few unquoted items in my config
file for BackupPC to successfully restart. Now, however, when I try to run a
backup on a client that was working prior to the upgrade, I get the following
error in my log, and the backup never attempts to run, nor is there any error
in the web interface. Any input is appreciated.
2017-03-27 20:16:17 User admin requested backup of
hostname.domain.com<http://hostname.domain.com>
(hostname.domain.com<http://hostname.domain.com>)
2017-03-27 20:16:17 hostname.domain.com<http://hostname.domain.com>:
getaddrinfo is not a valid Socket macro at
/usr/local/BackupPC/lib/BackupPC/Lib.pm line 1413
John Barton
Specialized Tech Solutions, LLC
jbar...@sts-llc.net<mailto:jbar...@sts-llc.net>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto: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/
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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/