Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Общий по FreeBSD (http://forum.oszone.net/forumdisplay.php?f=10)
-   -   Глюки с ddclient (http://forum.oszone.net/showthread.php?t=148075)

xolod. 15-08-2009 21:57 1194405

Глюки с ddclient
 
Всем здравия и благополучий!

Столкнулся с интересной проблемой...Установил: /usr/ports/dns/ddclient
chmod 600 /usr/local/etc/ddclient.conf
ee /usr/local/etc/ddclient.conf
Код:

        use=web
        login=login
        password=password
        server=members.dyndns.org
        protocol=dyndns2
        daemon=180
        syslog=yes
        pid=/var/run/ddclient.pid
        ssl=yes
        xxx.homeip.net

Всё работало, в течении последних трёх месяцев...
и вот вчера обнаружил в логах:
Код:

Aug 15 01:44:14 root ddclient[2776]: FATAL:    Error loading the Perl module IO::Socket::SSL needed for SSL connect.
Aug 15 01:44:14 root ddclient[2776]: FATAL:    On Debian, the package libio-socket-ssl-perl must be installed.

Целый день гуглил...и всё безрезультатно...

cd /usr/ports/security/p5-IO-Socket-SSL && make install clean
Также, пробовал переустанавливать ddclient...с обновлением портов

У самого freebsd 6.4., причём тут "On Debian, the package libio-socket-ssl-perl must be installed." - не понятно???
Но если закомментить ssl=yes в конфиге, то всё прекрасно работает...))) Конечно же без шифрования...плохо )

xolod. 16-08-2009 14:35 1194799

cd /usr/ports/dns/ddclient
make deinstall
cd /usr/ports/security/p5-IO-Socket-SSL
make deinstall
cd /usr/ports/security/p5-Net-SSLeay
make deinstall
rm -Rf /usr/ports
portsnap fetch extract
cd /usr/ports/dns/ddclient
make install clean
Код:

        ===>  Registering installation for ddclient-3.7.3
        ===>  Cleaning for p5-IO-Socket-SSL-1.27
        ===>  Cleaning for p5-Net-SSLeay-1.35_2
        ===>  Cleaning for ddclient-3.7.3

cp /usr/local/etc/ddclient.conf.sample /usr/local/etc/ddclient.conf
chmod 600 /usr/local/etc/ddclient.conf
ee /usr/local/etc/ddclient.conf
Код:

        use=web
        login=login
        password=password
        server=members.dyndns.org
        protocol=dyndns2
        daemon=180
        syslog=yes
        pid=/var/run/ddclient.pid
        ssl=yes
        xxxx.homeip.net

echo `ddclient_enable="YES"` >> /etc/rc.conf
/usr/local/etc/rc.d/ddclient start
cat /var/log/messages | grep ddclient
Код:

Aug 17 00:48:13 root ddclient[17495]: WARNING:  caught SIGTERM; exiting
reboot

cat /var/log/messages | grep ddclient
Код:

Aug 17 00:57:48 root ddclient[938]: WARNING:  cannot connect to checkip.dyndns.org:80 socket: IO::Socket::INET: connect: Network is unreachable
Aug 17 00:57:58 root ddclient[938]: WARNING:  cannot connect to checkip.dyndns.org:80 socket: IO::Socket::INET: connect: Network is unreachable

root# perl-after-upgrade -f
Код:

apache-2.2.11_7: 0 moved, 0 modified, 0 adjusted
autoconf-2.62: 0 moved, 0 modified, 0 adjusted
automake-1.10.1: 0 moved, 0 modified, 0 adjusted
bsdpan-Crypt-DES-2.05: 0 moved, 0 modified, 0 adjusted
bsdpan-Data-Dumper-2.124: 0 moved, 0 modified, 0 adjusted
bsdpan-DBI-1.609: 0 moved, 0 modified, 0 adjusted
bsdpan-Digest-MD4-1.5: 0 moved, 0 modified, 0 adjusted
bsdpan-Digest-MD5-2.39: 0 moved, 0 modified, 0 adjusted
bsdpan-Digest-SHA1-2.12: 0 moved, 0 modified, 0 adjusted
bsdpan-Net-Telnet-3.03: 0 moved, 0 modified, 0 adjusted
bsdpan-Time-HiRes-1.9719: 0 moved, 0 modified, 0 adjusted
bsdpan-YAML-0.68: 0 moved, 0 modified, 0 adjusted
ddclient-3.7.3: 0 moved, 0 modified, 0 adjusted
dvipsk-tetex-5.95a_2: 0 moved, 0 modified, 0 adjusted
freeradius-1.1.7_3: 0 moved, 0 modified, 0 adjusted
gamin-0.1.10_3: 0 moved, 0 modified, 0 adjusted
gio-fam-backend-2.20.4: 0 moved, 0 modified, 0 adjusted
glib-2.20.4: 0 moved, 0 modified, 0 adjusted
help2man-1.36.4_3: 0 moved, 0 modified, 0 adjusted
intltool-0.40.6: 0 moved, 0 modified, 0 adjusted
mod_fastcgi-2.4.6: 0 moved, 0 modified, 0 adjusted
p5-Crypt-CBC-2.30: 0 moved, 0 modified, 0 adjusted
p5-Crypt-DES-2.05: 0 moved, 0 modified, 0 adjusted
p5-DBD-mysql50-4.012: 0 moved, 0 modified, 0 adjusted
p5-DBI-1.60.7: 0 moved, 0 modified, 0 adjusted
p5-Digest-MD4-1.5: 0 moved, 0 modified, 0 adjusted
p5-Digest-MD5-2.39: 0 moved, 0 modified, 0 adjusted
p5-Digest-SHA1-2.12: 0 moved, 0 modified, 0 adjusted
p5-GD-2.44: 0 moved, 0 modified, 0 adjusted
p5-GD-Graph-1.44.01_2: 0 moved, 0 modified, 0 adjusted
p5-GD-TextUtil-0.86_1: 0 moved, 0 modified, 0 adjusted
p5-gettext-1.05_2: 0 moved, 0 modified, 0 adjusted
p5-IO-Socket-SSL-1.27: 0 moved, 0 modified, 0 adjusted
p5-MIME-Base64-3.08: 0 moved, 0 modified, 0 adjusted
p5-Net-SSLeay-1.35_2: 0 moved, 0 modified, 0 adjusted
p5-Storable-2.20: 0 moved, 0 modified, 0 adjusted
p5-Time-HiRes-1.9719,1: 0 moved, 0 modified, 0 adjusted
p5-type1inst-0.6.1_5: 0 moved, 0 modified, 0 adjusted
p5-XML-Parser-2.36: 0 moved, 0 modified, 0 adjusted
p5-YAML-0.68: 0 moved, 0 modified, 0 adjusted
pango-1.24.5: 0 moved, 0 modified, 0 adjusted
php5-5.2.10: 0 moved, 0 modified, 0 adjusted
rrdtool-1.3.8: 0 moved, 0 modified, 0 adjusted
teTeX-base-3.0_15: 0 moved, 0 modified, 0 adjusted
texi2html-1.82,1: 0 moved, 0 modified, 0 adjusted
/
---
Fixed 0 packages (0 files moved, 0 files modified)
Skipped 111 packages
root#


WhitePangolin 17-08-2009 01:20 1195263

Цитата:

Цитата xolod.
Aug 17 00:57:48 root ddclient[938]: WARNING: cannot connect to checkip.dyndns.org:80 socket: IO::Socket::INET: connect: Network is unreachable »

Это Ж-Ж-Ж не спроста... проверяйте настройки сети. Нат, фаер, днс. "Сеть недоступна" система просто так не напишет


Время: 23:15.

Время: 23:15.
© OSzone.net 2001-