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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
Best regards,
Nikola
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
?Hi I'm facing the same issue only on CentOS 6.10 , the Os comes built with Perl 5.10.1
my steps
ddclient.conf
start the first time by hand
/etc/rc.d/init.d/ddclient start
EOF