Menu

Help with 3.9.0

Help
dnikola
2018-10-14
2018-11-01
  • dnikola

    dnikola - 2018-10-14

    Hi there,
    thanks for keeping ddclient alive.

    I have a problem with ddclient 3.9.0
    trying to install it manual, and when i want to start it i get error

    [root@proxy ddclient-3.9.0]# ddclient -daemon=0 -debug -verbose -noquiet
    Bareword found where operator expected at /usr/sbin/ddclient line 2277, near "/((:{0,2}[A-F0-9]{1,4}){0,7}:{1,2}[A-F0-9]{1,4})/ai"
            (Missing operator before ai?)
    syntax error at /usr/sbin/ddclient line 2277, near "/((:{0,2}[A-F0-9]{1,4}){0,7}:{1,2}[A-F0-9]{1,4})/ai"
    Type of arg 1 to keys must be hash (not private array) at /usr/sbin/ddclient line 4576, near "@hosts) "
    Execution of /usr/sbin/ddclient aborted due to compilation errors.
    

    Best regards,
    Nikola

     
  • wimpunk

    wimpunk - 2018-10-16

    Which version of perl are you using? Could you post your configuration (with passwords removed) on pastbin?
    It's also a bit surprising to see you're in a ddclient-3.9.0 directory and you are starting ddclient by running ddclient -daemon=0 -debug -verbose -noquiet. Shouldn't you use ./ddclient?

     
    • Carlos Lozada

      Carlos Lozada - 2018-11-01

      Hi I'm facing the same issue only on CentOS 6.10 , the Os comes built with Perl 5.10.1

      my steps

      wget https://github.com/ddclient/ddclient/archive/v3.9.0.tar.gz
      tar -xvf v3.9.0.tar.gz
      cd ddclient-3.9.0/
      cp ddclient /usr/sbin/
      mkdir /etc/ddclient
      mkdir /var/cache/ddclient
      cp sample-etc_ddclient.conf /etc/ddclient/ddclient.conf
      cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
      /sbin/chkconfig --add ddclient
      vi /etc/ddclient/ddclient.conf
      

      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
      
      use=web                 # via web
      
      ##
      ## CloudFlare (www.cloudflare.com)
      ##
      ssl=yes
      protocol=cloudflare,                           \
      zone=domain.com                                \
      ttl=1,
      server=www.cloudflare.com,                         \
      login=xxxxx@mail.com,                      \
      password=1xxxxxxxxxxxxxxx2             \
      domain.com
      

      start the first time by hand

      /etc/rc.d/init.d/ddclient start

      /etc/rc.d/init.d/ddclient start
      Starting ddclient: Bareword found where operator expected at /usr/sbin/ddclient line 2277, near "/((:{0,2}[A-F0-9]{1,4}){0,7}:{1,2}[A-F0-9]{1,4})/ai"
              (Missing operator before ai?)
      syntax error at /usr/sbin/ddclient line 2277, near "/((:{0,2}[A-F0-9]{1,4}){0,7}:{1,2}[A-F0-9]{1,4})/ai"
      Type of arg 1 to keys must be hash (not private array) at /usr/sbin/ddclient line 4576, near "@hosts) "
      Execution of /usr/sbin/ddclient aborted due to compilation errors.
                                                                 [FAILED]
      

      EOF

       

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.