LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   problem getting ddclient (dyndns) to work in CentOS (https://www.linuxquestions.org/questions/linux-general-1/problem-getting-ddclient-dyndns-to-work-in-centos-748272/)

mia_tech 08-17-2009 06:29 PM

problem getting ddclient (dyndns) to work in CentOS
 
guys, I'm trying to install ddclient from dyndns in my CentOS server but for some reason is not updating the host name at the server with the correct ip. I wonder if Centos has perl installed because the ddclient is a perl script....

thanks

mia_tech 08-17-2009 06:45 PM

this is the message I'm getting in my logs

Code:

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.


mia_tech 08-17-2009 06:47 PM

well, it seems that perl comes preinstalled in Centos

Code:

Setting up Install Process
Parsing package install arguments
Package 4:perl-5.8.8-18.el5_3.1.i386 already installed and latest version
Nothing to do


mia_tech 08-18-2009 01:23 AM

never mind, I decided to install from yum, and it intalled any dependencies.

oscaremu 01-22-2011 06:16 PM

install de perl module
 
Quote:

Originally Posted by mia_tech (Post 3647540)
never mind, I decided to install from yum, and it intalled any dependencies.

Install the module:

As root and whit internet connection.

# perl -MCPAN -e shell


CPAN is the world-wide archive of perl resources. It consists of about
300 sites that all replicate the same contents around the globe. Many
countries have at least one CPAN site already. The resources found on
CPAN are easily accessible with the CPAN.pm module. If you want to use
CPAN.pm, lots of things have to be configured. Fortunately, most of
them can be determined automatically. If you prefer the automatic
configuration, answer 'yes' below.

If you prefer to enter a dialog instead, you can answer 'no' to this
question and I'll let you configure in sma.......
BLA BLA BLA
........
te '/usr/lib/perl5/5.10.1/CPAN/Config.pm'
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.9402)
Enter 'h' for help.

cpan[1]> install IO::Socket::SSL
CPAN: Storable loaded ok (v2.20)
Warning: no success downloading '/root/.cpan/sources/authors/01mailrc.txt.gz.tmp9236'. Giving up on it. at /usr/lib/perl5/5.10.1/CPAN/Index.pm line 225
LWP not availa....
BLA BLA BLA
......
ppending installation info to /usr/lib/perl5/5.10.1/i486-linux-thread-multi/perllocal.pod
SULLR/IO-Socket-SSL-1.38.tar.gz
/usr/bin/make install -- OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state

cpan[2]> quit

Terminal does not support GetHistory.
Lockfile removed.
# ./rc.ddclient start
Starting ddclient:

Ok now run.

Jan 22 19:08:03 alguito ddclient[9813]: SUCCESS: updating cositaseria.ath.cx: good: IP address set to 190.24.66.205


All times are GMT -5. The time now is 09:23 AM.