BackupPC-users

Re: [BackupPC-users] Error ' getaddrinfo is not a valid Socket macro' after upgrading to 4.1

2017-03-27 23:34:55
Subject: Re: [BackupPC-users] Error ' getaddrinfo is not a valid Socket macro' after upgrading to 4.1
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 27 Mar 2017 20:33:51 -0700
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.

Craig

On Mon, Mar 27, 2017 at 6:25 PM, John Barton <jbarton AT sts-llc DOT 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 (hostname.domain.com)

2017-03-27 20:16:17 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

Jbarton AT sts-llc DOT 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/


------------------------------------------------------------------------------
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 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/