You are not logged in.
Hello
I have installed ddclient and have the following file in '/etc/conf.d/ddclient'. I know that this file is read by the ddclient service since it gives an error if the syntax is not correct here.
## ddclient configuration file
daemon=600 # check every 600 seconds
custom=yes
#mail-failure=ravster3@hotmail.com # Mail failed updates to user
pid=/var/run/ddclient.pid # record PID in file.
## Detect IP with our CheckIP server
use=web, web=checkip.dyndns.org, #web-skip='Current IP Address: '
## Default options
protocol=dyndns2
server=members.dyndns.org
wildcard=yes
static=no
## Dynamic DNS hosts
host=mywebsite
host=myotherwebsitename
I have ddclient listed in rc.conf, but it doesn't update the ip addresses, even when I restart the ddclient service manually.
When I do
ddclient -file /etc/conf.d/ddclient -verbose -debug
manually as root, the IP addresses get updated without any problems.
I would like to know if I am missing something in the config file that would explain why the ddclient service is not able to do the updating by itself.
Thank you.
Last edited by ravster (2009-04-04 14:23:58)
Offline
I think that '# webskip ' bit is wrong. Try removing the #
Offline
Check the startup script so it really looks for /etc/conf.d/ddclient and not /etc/ddclient.conf
Since it works when you run it manually when you specify a config file to read..
Offline
When I remove the '#' in front of the webskip, I get the following when restarting the service.
]# /etc/rc.d/ddclient restart
/etc/conf.d/ddclient: line 8: web-skip=Current IP Address: : command not found
/etc/conf.d/ddclient: line 8: web-skip=Current IP Address: : command not found
:: Stopping ddclient [DONE]
/etc/conf.d/ddclient: line 8: web-skip=Current IP Address: : command not found
:: Starting ddclient [DONE]
This is the same even if I change from ' to " outside the "Current IP Address: " bit.
Having different code in '/etc/ddclient.conf' has no effect on the error message, so I think the script does look at '/etc/conf.d/ddclient'.
Offline
sudo rm /tmp/ddclient.cache
Offline