You are not logged in.

#1 2008-02-24 16:41:59

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Error with ddclient (Update fails loading IO::Socket::SSL)

Trying to run ddclient, I get the following error.

[root@Muspelheimr ddclient]# ddclient -daemon 0 --verbose --force
CONNECT:  checkip.dyndns.org
CONNECTED:  using HTTP
SENDING:  GET / HTTP/1.0
SENDING:   Host: checkip.dyndns.org
SENDING:   User-Agent: ddclient/3.7.3
SENDING:   Connection: close
SENDING:   
RECEIVE:  HTTP/1.1 200 OK
RECEIVE:  Content-Type: text/html
RECEIVE:  Server: DynDNS-CheckIP/1.0
RECEIVE:  Connection: close
RECEIVE:  Cache-Control: no-cache
RECEIVE:  Pragma: no-cache
RECEIVE:  Content-Length: 104
RECEIVE:  
RECEIVE:  <html><head><title>Current IP Check</title></head><body>Current IP Address: 24.63.25.139</body></html>
INFO:     forcing update of daenyth.ath.cx.
INFO:     setting IP address to 24.63.25.139 for daenyth.ath.cx
UPDATE:   updating daenyth.ath.cx
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.8/i686-linux-thread-multi/Scalar/Util.pm line 30.
FATAL:    Error loading the Perl module IO::Socket::SSL needed for SSL connect.
FATAL:     On Debian, the package libio-socket-ssl-perl must be installed.

Here's my conf file:

[root@Muspelheimr ddclient]# grep -v '^#' /etc/ddclient/ddclient.conf | grep -vi 'password'
daemon=600                              # check every 300 seconds
syslog=yes                              # log update msgs to syslog
pid=/var/run/ddclient.pid               # record PID in file.
ssl=yes                                 # use ssl-support.  Works with
                                        # ssl-library
use=web, web=checkip.dyndns.org/, web-skip='IP Address' # found after IP Address

login=daenyth                                   # default login

 server=members.dyndns.org,             \
 protocol=dyndns2                       \
 daenyth.ath.cx

If I change ssl to "no" in the conf, it works, but that's really not acceptable. Has anyone else seen this problem or know how to work around it?

Offline

#2 2008-02-24 16:48:30

abhidg
Member
From: City of Kol
Registered: 2006-07-01
Posts: 184
Website

Re: Error with ddclient (Update fails loading IO::Socket::SSL)

install perl-io-socket-ssl and see if it works.

Offline

#3 2008-02-24 16:51:24

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Error with ddclient (Update fails loading IO::Socket::SSL)

It was already installed as a dependency of ddclient.

[root@Muspelheimr ddclient]# pacman -Qil perl-io-socket-ssl
Name           : perl-io-socket-ssl
Version        : 1.08-1
URL            : http://search.cpan.org/dist/IO-Socket-SSL
Licenses       : GPL  PerlArtistic  
Groups         : None
Provides       : io-socket-ssl  
Depends On     : perl-net-ssleay  
Optional Deps  : None
Required By    : ddclient  
Conflicts With : None
Replaces       : None
Installed Size : 103.92 K
Packager       : Jan de Groot <jgc@archlinux.org>
Architecture   : i686
Build Date     : Sat 01 Sep 2007 09:09:31 PM EDT
Install Date   : Sat 23 Feb 2008 08:12:29 PM EST
Install Reason : Installed as a dependency for another package
Install Script : No
Description    : Perl/CPAN IO::Socket::SSL module: Nearly transparent SSL encapsulation for IO::Socket::INET.

perl-io-socket-ssl /usr/
perl-io-socket-ssl /usr/lib/
perl-io-socket-ssl /usr/lib/perl5/
perl-io-socket-ssl /usr/lib/perl5/site_perl/
perl-io-socket-ssl /usr/lib/perl5/site_perl/current/
perl-io-socket-ssl /usr/lib/perl5/site_perl/current/IO/
perl-io-socket-ssl /usr/lib/perl5/site_perl/current/IO/Socket/
perl-io-socket-ssl /usr/lib/perl5/site_perl/current/IO/Socket/SSL.pm
perl-io-socket-ssl /usr/man/
perl-io-socket-ssl /usr/man/man3/
perl-io-socket-ssl /usr/man/man3/IO::Socket::SSL.3.gz

Offline

#4 2008-02-25 00:15:17

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Error with ddclient (Update fails loading IO::Socket::SSL)

After poking around in perl a bit, I found that it fails due to the following code in SSL.pm:
# non-XS Versions of Scalar::Util will fail
BEGIN{ 
        eval { use Scalar::Util 'dualvar'; dualvar(0,'') };
        die "You need the XS Version of Scalar::Util for dualvar() support"
                if $@;
}

So installing the correct version should fix it. Next step is for me to go find it. I might make a pkgbuild if I'm in the mood.

Offline

Board footer

Powered by FluxBB