Menu

ddclient starts, but only updates if I restart from terminal

Help
watgrad
2014-06-07
2014-06-08
  • watgrad

    watgrad - 2014-06-07

    Hello,
    I have installed ddclient in Manjaro 0.8.9 Cinnamon.
    It is set to run as daemon - it starts appropriately as "systemctl status ddclient" returns:

     ddclient.service - Dynamic DNS Update Client
       Loaded: loaded (/usr/lib/systemd/system/ddclient.service; enabled)
       Active: active (running) since Sat 2014-06-07 08:16:55 EDT; 26min ago
      Process: 1307 ExecStart=/usr/bin/ddclient (code=exited, status=0/SUCCESS)
     Main PID: 1315 (ddclient - slee)
       CGroup: /system.slice/ddclient.service
               └─1315 ddclient - sleeping for 240 seconds
    
    Jun 07 08:16:55 johnandalice-Desktop systemd[1]: Starting Dynamic DNS Update Client...
    Jun 07 08:16:55 johnandalice-Desktop systemd[1]: Started Dynamic DNS Update Client.
    

    If I force a restart of ddclient with "systemctl restart ddclient" my ip address is updated immediately, so I believe my conf file is correct.

    Any ideas of why this is happening - how can I get ddclient to work automatically?

    Below is my conf file with ## replacing personal info:

    # Configuration file for ddclient generated by debconf
    #
    # /etc/ddclient.conf
    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.
    ssl=yes                 # use ssl-support.  Works with ssl-library
    use=web, web=myip.dnsomatic.com
    server=updates.dnsomatic.com
    protocol=dyndns2
    login=####@#######.###
    password=########
    #############
    
     
  • wimpunk

    wimpunk - 2014-06-08

    This looks more like a issue of the operating system which should start ddclient than ddclient it self. Maybe you can try to contact the packager and find out if he can help. More info for arch can be found on https://www.archlinux.org/packages/community/any/ddclient/

    Btw, you wrote that systemctl status ddclient says it's running. I suggest you to check if it's really running by checking the running processes. If it runs you can check your system logging because by default ddclient logs to syslog. It should at least tell you why it doesn't update.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.