This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Dyndns DDClient no automatic update

Hi,
I´ve installed Astaro and I am very happy about it. I also wanted to use a dynds-updater and my decision was to use ddclient.
Now my problem:
When I restart my machine where astaro is installed, my IP will succesfull updated. But after 24 hours, when my provider kicks my and astaro has to dial again, the update of my dyndns account fails. I´m using the newest version of astaro (4.016) and version 3.6.3 of ddclient.
In the ddclient.conf, I set the following parameters:

daemon=300                              # check every 300 seconds
syslog=yes                              # log update msgs to syslog
mail=root                               # mail all msgs to root
mail-failure=root                       # mail failed update msgs to root
pid=/var/run/ddclient.pid               # record PID in file.

use=if,                     if=eth1     # via interfaces  (-> this is my external interface) 

login=myloginname                       # default login
password=mypassword                     # default password
#mx=mx.for.your.host                    # default MX
#backupmx=yes|no                        # host is primary MX?
wildcard=yes                            # add wildcard CNAME?

server=members.dyndns.org,              \
protocol=dyndns2                        \
mydyndnsname.dyndns.org

Is there something wrong with the parameters i set?
Thanks for you help
Gudze    


This thread was automatically locked due to age.
Parents
  • After the 24 hours, what does a ps -aux show?

    P.S. They want technical discussions confined to the Hackers forum; but maybe that's changing...
      
  • Hi,
    I get this list of processes:

    USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
    root         1  0.0  0.3  1316  452 ?        S    Nov09   0:04 init [3]
    root         2  0.0  0.0     0    0 ?        SW   Nov09   0:00 [keventd]
    root         3  0.0  0.0     0    0 ?        SWN  Nov09   0:00 [ksoftirqd_CPU0]
    root         4  0.0  0.0     0    0 ?        SW   Nov09   0:01 [kswapd]
    root         5  0.0  0.0     0    0 ?        SW   Nov09   0:00 [bdflush]
    root         6  0.0  0.0     0    0 ?        SW   Nov09   0:00 [kupdated]
    root         8  0.0  0.0     0    0 ?        SW   Nov09   0:15 [kjournald]
    root        38  0.0  0.0     0    0 ?        SW   Nov09   0:00 [kjournald]
    root        39  0.0  0.0     0    0 ?        SW   Nov09   0:53 [kjournald]
    root        40  0.0  0.0     0    0 ?        SW   Nov09   0:01 [kjournald]
    root        41  0.0  0.0     0    0 ?        SW   Nov09   0:00 [kjournald]
    root        42  0.0  0.0     0    0 ?        SW   Nov09   0:03 [kjournald]
    root        43  0.0  0.0     0    0 ?        SW   Nov09   0:00 [kjournald]
    root       168  0.0  0.3  1328  488 ?        RN   Nov09   0:06 /usr/local/bin/ipaccd
    root       201  0.0  0.4  1564  596 ?        S    Nov09   1:38 /usr/sbin/syslogd -m 60 -r -a /dev/log -a /var/chroot-ahi/dev/log -a /var/chroot-bind/dev/log
    root       202  0.0  0.3  1384  432 ?        S    Nov09   0:34 /usr/sbin/klogd -k /System.map -c 1
    root       245  0.0  0.6  2420  768 ?        S    Nov09   0:01 /sbin/sshd -4 -f /etc/sshd_config
    root       249  0.0  0.0     0    0 ?        SW   Nov09   0:00 [khubd]
    root       280  0.0  0.4  1372  568 ?        S    Nov09   0:00 /usr/sbin/cron
    nobody     332  0.0  0.8  2804 1136 ?        S    Nov09   0:02 /usr/bin/perl -w /usr/sbin/psd-watch.pl
    root       337  0.0  0.4  2976  516 ?        S    Nov09   0:28 /bin/license /etc/wfe/conf/license
    root       387  2.2  5.7 17508 7304 ?        S    Nov09  65:17 ./mdw_deamon.pl
    root       412  0.0  1.2  6108 1596 ?        S    Nov09   0:00 ./aua.bin /etc/wfe/conf/aua_main_config.ini
    root       433  0.1  0.3  1288  452 ?        S    Nov09   5:30 /usr/local/bin/daemon-watcher superdaemon.pl /usr/local/bin/superdaemon.pl & 5
    root       435  0.0  0.2  1284  312 tty2     S    Nov09   0:00 /sbin/mingetty --no-hostname tty2
    root       437  0.6  1.5  5616 2028 ?        S    Nov09  17:31 /usr/local/bin/superdaemon.pl
    root       472  0.0  0.1  2040  244 ?        S    Nov09   0:00 /bin/bash /bin/DSL.sh eth1#External
    root       529  0.0  0.0     0    0 ?        SW   Nov09   0:00 [eth1]
    root       571  0.0  0.5  4804  748 ?        S    Nov09   0:02 /usr/sbin/httpd -f /etc/httpd/httpd.conf
    wwwrun     623  0.0  1.4  4748 1884 ?        S    Nov09   0:00 /usr/sbin/fcgi- -f /etc/httpd/httpd.conf
    squid      639  0.0  0.5  4916  736 ?        S    Nov09   0:07 /bin/mrpopper 0.0.0.0:8110 666 666
    root     13235  0.0  0.5  1840  760 ?        S    19:47   0:00 /usr/sbin/pppd call External ipparam eth1#External pty /usr/sbin/pppoe -I eth1 -m 1452
    root     13236  2.0  0.3  1312  420 ?        S    19:47   0:40 /usr/sbin/pppoe -I eth1 -m 1452
    root     13464  0.0  1.5  3660 1912 ?        S    19:48   0:00 /usr/sbin/snmpd__
    root     13770  0.0  1.2  2588 1572 ?        S    19:48   0:00 /usr/sbin/named__
    squid    13792  0.0  0.8  3608 1108 ?        S    19:48   0:00 /bin/exim -bd -q20m
    root     13819  0.0  0.7  3676  996 ?        S    19:48   0:00 /bin/squidf -sYD
    nobody   13821  0.0  0.4  1476  584 ?        S    19:48   0:00 /bin/dhttpd -p 8081
    squid    13824  0.1  4.6  9084 5912 ?        S    19:48   0:02 (squid) -sYD
    squid    13829  0.0  0.2  1272  296 ?        S    19:48   0:00 (unlinkd)
    squid    13832  0.0  1.0  5008 1304 ?        SN   19:48   0:00 /bin/urlfilter -f -d
    squid    13833  0.0  1.0  5008 1304 ?        SN   19:48   0:00 /bin/urlfilter -f -d
    squid    13834  0.0  1.0  5008 1304 ?        SN   19:48   0:00 /bin/urlfilter -f -d
    wwwrun   19756  7.0 14.3 20900 18336 ?       S    20:15   0:24 /usr/local/httpd/htdocs/index.fpl
    root     19887  0.0  0.0     0    0 ?        Z    20:16   0:00 [aua.bin ]
    wwwrun   19891  0.4  1.9  5200 2460 ?        S    20:16   0:01 /usr/sbin/httpd -f /etc/httpd/httpd.conf
    wwwrun   19930  0.0  0.0     0    0 ?        Z    20:16   0:00 [du ]
    root     20518  0.0  0.2  1284  380 tty1     S    20:19   0:00 /sbin/mingetty --no-hostname tty1
    wwwrun   20628  0.0  1.6  4948 2092 ?        S    20:19   0:00 /usr/sbin/httpd -f /etc/httpd/httpd.conf
    root     20653  0.0  0.4  1684  568 ?        S    20:19   0:00 /bin/cnotifier /etc/wfe/conf/settings /usr/local/bin/anotifier /var/chroot-squid/var/run/notif
    root     20816  0.0  0.9  5008 1164 ?        S    20:20   0:00 sshd: loginuser [priv]
    loginuse 20818  0.0  0.9  5016 1244 ?        S    20:20   0:00 sshd: loginuser@notty
    loginuse 20819  0.0  0.7  2132  968 ?        S    20:20   0:00 -bash
    root     20992  0.2  1.0  5096 1308 ?        S    20:21   0:00 sshd: loginuser [priv]
    loginuse 21013  0.5  1.0  5028 1276 ?        R    20:21   0:00 sshd: loginuser@pts/0
    loginuse 21014  0.2  0.9  2192 1156 pts/0    S    20:21   0:00 -bash
    root     21023  0.3  0.8  2188 1128 pts/0    S    20:21   0:00 bash
    root     21120  0.0  0.5  2520  724 pts/0    R    20:21   0:00 ps -aux

    DDClient seems to be not running...

    Gudze  
  • I was really just expecting you to say "DDClient seems to be not running..."!!

    What I thought; it died! Now we have to do detective work as to why it died. Does it have a logging mechanism? Or can you run it interactively at console to get an error message? If it dies silently, that will be a bust to diagnose! You would have to introduce debugging messages in the code (hopefully you could contact the code's author and get a debug version -which might not be necessary if it's logging is good...)
       
  • gudze,

    instead of investigating you could try the package which can be found @ http://docs.astaro.org/older_versions/ASL-V3.2/docs_v3/hacking/dyndns.tar.gz It uses ez-ipupdate and runs rock stable on my box. 

    Greetings
    cyclops  
Reply Children