I use ClarkConnect 4 in Gateway mode (CentOs based). I will use it as mail, web and ftp server. I have a ADSL connection with dynamic IP address. I owned a domain at EuroDNS in 2003. I must use eurodyndns for updating IP. So I install ddclient 3.7.1. Here my config.
# 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=checkip.eurodyndns.org/, web-skip='IP Address' # found after IP Address
server=eurodyndns.org
login=*****
password=*****
mail.sitz.org
I must do something wrong. ddclient recognise the ip but skip the update.
I do the command "ddclient -daemon=0 -debug -verbose -noquiet" and now my result.
What do I wrong? At th moment I use web, mail and ftp server on a Windows machine with Eurodyndns client and it's working without any problem but I will switch to Linux. Help would be appreciated. Thanks a lot.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you want the entire log file, there you can see that it marks every 5 minutes the same message.
Feb 22 06:22:32 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 5: Invalid Value for keyword 'ip' = ''
Feb 22 06:27:32 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
Feb 22 06:27:32 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 5: Invalid Value for keyword 'ip' = ''
Feb 22 06:27:32 firewall ddclient[1787]: WARNING: skipping update of mail.sitz.org from <nothing> to 83.99.2.118.
Feb 22 06:27:32 firewall ddclient[1787]: WARNING: last updated <never> but last attempt on Thu Feb 22 06:22:32 2007 failed.
Feb 22 06:27:32 firewall ddclient[1787]: WARNING: Wait at least 5 minutes between update attempts.
Feb 22 06:27:32 firewall ddclient[1787]: WARNING: skipping update of www.sitz.org from <nothing> to 83.99.2.118.
Feb 22 06:27:32 firewall ddclient[1787]: WARNING: last updated <never> but last attempt on Thu Feb 22 06:22:32 2007 failed.
Feb 22 06:27:32 firewall ddclient[1787]: WARNING: Wait at least 5 minutes between update attempts.
Feb 22 06:37:33 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
Feb 22 06:37:33 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 5: Invalid Value for keyword 'ip' = ''
Feb 22 06:37:33 firewall ddclient[1787]: WARNING: skipping update of mail.sitz.org from <nothing> to 83.99.2.118.
Feb 22 06:37:33 firewall ddclient[1787]: WARNING: last updated <never> but last attempt on Thu Feb 22 06:32:32 2007 failed.
Feb 22 06:37:33 firewall ddclient[1787]: WARNING: Wait at least 5 minutes between update attempts.
Feb 22 06:37:33 firewall ddclient[1787]: WARNING: skipping update of www.sitz.org from <nothing> to 83.99.2.118.
Feb 22 06:37:33 firewall ddclient[1787]: WARNING: last updated <never> but last attempt on Thu Feb 22 06:32:32 2007 failed.
Feb 22 06:37:33 firewall ddclient[1787]: WARNING: Wait at least 5 minutes between update attempts.
Feb 22 06:47:33 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
Feb 22 06:47:33 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 5: Invalid Value for keyword 'ip' = ''
Feb 22 06:47:33 firewall ddclient[1787]: WARNING: skipping update of mail.sitz.org from <nothing> to 83.99.2.118.
Feb 22 06:47:33 firewall ddclient[1787]: WARNING: last updated <never> but last attempt on Thu Feb 22 06:42:33 2007 failed.
Feb 22 06:47:33 firewall ddclient[1787]: WARNING: Wait at least 5 minutes between update attempts.
Feb 22 06:47:33 firewall ddclient[1787]: WARNING: skipping update of www.sitz.org from <nothing> to 83.99.2.118.
Feb 22 06:47:33 firewall ddclient[1787]: WARNING: last updated <never> but last attempt on Thu Feb 22 06:42:33 2007 failed.
Feb 22 06:47:33 firewall ddclient[1787]: WARNING: Wait at least 5 minutes between update attempts.
Feb 22 06:57:30 firewall sshd(pam_unix)[8707]: session opened for user root by (uid=0)
Feb 22 06:57:34 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
Feb 22 06:57:34 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 5: Invalid Value for keyword 'ip' = ''
Great. And now?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First, remove your cache file. Second post your config with password removed either to the forum or to ddclient.pastebin.co.uk. Third, verify how ddclient gets started. It looks like it either tries to hard to update (wrong min interval) or there are more than one instance running. You could also join irc://irc.freenode.org/#ddclient.
regards,
wimpunk.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Deleting cache file already done(first stopping ddclient, deleting cache file, starting ddclient). Second I already post the config with my first post. Third, what did you mean with "how ddclient gets started".Can you explain please? When I type "ddclient start", it starts normaly and when I go to message log it marks me the messages posted in the previous posts. I now the config on http://www.eurodns.com/info/faq/#. The a 3 days ago, I wrote an email to EuroDNS to know if I must apply the patch for the last release (3.7.1)? I'm still waiting the answer. Still one question. How to apply the patch from EuroDNS?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everybody,
I use ClarkConnect 4 in Gateway mode (CentOs based). I will use it as mail, web and ftp server. I have a ADSL connection with dynamic IP address. I owned a domain at EuroDNS in 2003. I must use eurodyndns for updating IP. So I install ddclient 3.7.1. Here my config.
# 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=checkip.eurodyndns.org/, web-skip='IP Address' # found after IP Address
server=eurodyndns.org
login=*****
password=*****
mail.sitz.org
I must do something wrong. ddclient recognise the ip but skip the update.
I do the command "ddclient -daemon=0 -debug -verbose -noquiet" and now my result.
=== opt ====
opt{cache} : <undefined>
opt{cmd} : <undefined>
opt{cmd-skip} : <undefined>
opt{daemon} : 0
opt{debug} : 1
opt{exec} : <undefined>
opt{facility} : <undefined>
opt{file} : <undefined>
opt{force} : <undefined>
opt{fw} : <undefined>
opt{fw-login} : <undefined>
opt{fw-password} : <undefined>
opt{fw-skip} : <undefined>
opt{geturl} : <undefined>
opt{help} : <undefined>
opt{host} : <undefined>
opt{if} : <undefined>
opt{if-skip} : <undefined>
opt{ip} : <undefined>
opt{login} : <undefined>
opt{mail} : <undefined>
opt{mail-failure} : <undefined>
opt{max-interval} : 2160000
opt{min-error-interval} : 300
opt{min-interval} : 30
opt{options} : <undefined>
opt{password} : <undefined>
opt{pid} : <undefined>
opt{priority} : <undefined>
opt{protocol} : <undefined>
opt{proxy} : <undefined>
opt{query} : <undefined>
opt{quiet} : 0
opt{retry} : <undefined>
opt{server} : <undefined>
opt{ssl} : <undefined>
opt{syslog} : <undefined>
opt{test} : <undefined>
opt{timeout} : <undefined>
opt{use} : <undefined>
opt{verbose} : 1
opt{web} : <undefined>
opt{web-skip} : <undefined>
=== globals ====
globals{daemon} : 60
globals{debug} : 1
globals{login} : *****
globals{mail} : root
globals{mail-failure} : root
globals{password} : *****
globals{pid} : /var/run/ddclient.pid
globals{quiet} : 0
globals{server} : eurodyndns.org
globals{syslog} : 1
globals{use} : web
globals{verbose} : 1
globals{web} : checkip.eurodyndns.org/
globals{web-skip} : IP Address
=== config ====
config{mail.sitz.org}{atime} : 1172177071
config{mail.sitz.org}{backupmx} : 0
config{mail.sitz.org}{cacheable} : ARRAY(0x9cfc36c)
config{mail.sitz.org}{custom} : 0
config{mail.sitz.org}{host} : mail.sitz.org
config{mail.sitz.org}{ip} : <undefined>
config{mail.sitz.org}{login} : *****
config{mail.sitz.org}{max-interval} : 2160000
config{mail.sitz.org}{min-error-interval} : 300
config{mail.sitz.org}{min-interval} : 30
config{mail.sitz.org}{mtime} : 0
config{mail.sitz.org}{mx} :
config{mail.sitz.org}{password} : *****
config{mail.sitz.org}{protocol} : dyndns2
config{mail.sitz.org}{server} : eurodyndns.org
config{mail.sitz.org}{static} : 0
config{mail.sitz.org}{status} : noconnect
config{mail.sitz.org}{warned-min-error-interval} : 0
config{mail.sitz.org}{warned-min-interval} : 0
config{mail.sitz.org}{wildcard} : 0
config{mail.sitz.org}{wtime} : 30
=== cache ====
cache{mail.sitz.org}{atime} : 1172177071
cache{mail.sitz.org}{backupmx} : 0
cache{mail.sitz.org}{custom} : 0
cache{mail.sitz.org}{host} : mail.sitz.org
cache{mail.sitz.org}{mtime} : 0
cache{mail.sitz.org}{mx} :
cache{mail.sitz.org}{static} : 0
cache{mail.sitz.org}{status} : noconnect
cache{mail.sitz.org}{warned-min-error-interval} : 1172177074
cache{mail.sitz.org}{warned-min-interval} : 0
cache{mail.sitz.org}{wildcard} : 0
cache{mail.sitz.org}{wtime} : 30
DEBUG: proxy =
DEBUG: url = checkip.eurodyndns.org/
DEBUG: server = checkip.eurodyndns.org
DEBUG: opt(fw =
Use of uninitialized value in concatenation (.) or string at /usr/sbin/ddclient line 1660.
DEBUG: glo fw =
CONNECT: checkip.eurodyndns.org
CONNECTED: using HTTP
SENDING: GET / HTTP/1.0
SENDING: Host: checkip.eurodyndns.org
SENDING: User-Agent: ddclient/3.7.1
SENDING: Connection: close
SENDING:
RECEIVE: HTTP/1.1 200 OK
RECEIVE: Date: Thu, 22 Feb 2007 20:44:35 GMT
RECEIVE: Server: Apache
RECEIVE: Content-Length: 176
RECEIVE: Connection: close
RECEIVE: Content-Type: text/html
RECEIVE:
RECEIVE: <html><head><title>Current IP Check</title></head>
RECEIVE: <body bgcolor=white text=black>
RECEIVE: Current IP Address: 83.99.2.118
RECEIVE: <br>Hostname: ip-83-99-2-118.dyn.luxdsl.pt.lu
RECEIVE: </body></html>
DEBUG: get_ip: using web, checkip.eurodyndns.org/ reports 83.99.2.118
Use of uninitialized value in string ne at /usr/sbin/ddclient line 1947.
WARNING: skipping update of mail.sitz.org from <nothing> to 83.99.2.118.
WARNING: last updated <never> but last attempt on Thu Feb 22 21:44:31 2007 failed.
WARNING: Wait at least 5 minutes between update attempts.
What do I wrong? At th moment I use web, mail and ftp server on a Windows machine with Eurodyndns client and it's working without any problem but I will switch to Linux. Help would be appreciated. Thanks a lot.
Last line says it all: Wait at least 5 minutes between update attempts.
Do you want the entire log file, there you can see that it marks every 5 minutes the same message.
Feb 22 06:22:32 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 5: Invalid Value for keyword 'ip' = ''
Feb 22 06:27:32 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
Feb 22 06:27:32 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 5: Invalid Value for keyword 'ip' = ''
Feb 22 06:27:32 firewall ddclient[1787]: WARNING: skipping update of mail.sitz.org from <nothing> to 83.99.2.118.
Feb 22 06:27:32 firewall ddclient[1787]: WARNING: last updated <never> but last attempt on Thu Feb 22 06:22:32 2007 failed.
Feb 22 06:27:32 firewall ddclient[1787]: WARNING: Wait at least 5 minutes between update attempts.
Feb 22 06:27:32 firewall ddclient[1787]: WARNING: skipping update of www.sitz.org from <nothing> to 83.99.2.118.
Feb 22 06:27:32 firewall ddclient[1787]: WARNING: last updated <never> but last attempt on Thu Feb 22 06:22:32 2007 failed.
Feb 22 06:27:32 firewall ddclient[1787]: WARNING: Wait at least 5 minutes between update attempts.
Feb 22 06:37:33 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
Feb 22 06:37:33 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 5: Invalid Value for keyword 'ip' = ''
Feb 22 06:37:33 firewall ddclient[1787]: WARNING: skipping update of mail.sitz.org from <nothing> to 83.99.2.118.
Feb 22 06:37:33 firewall ddclient[1787]: WARNING: last updated <never> but last attempt on Thu Feb 22 06:32:32 2007 failed.
Feb 22 06:37:33 firewall ddclient[1787]: WARNING: Wait at least 5 minutes between update attempts.
Feb 22 06:37:33 firewall ddclient[1787]: WARNING: skipping update of www.sitz.org from <nothing> to 83.99.2.118.
Feb 22 06:37:33 firewall ddclient[1787]: WARNING: last updated <never> but last attempt on Thu Feb 22 06:32:32 2007 failed.
Feb 22 06:37:33 firewall ddclient[1787]: WARNING: Wait at least 5 minutes between update attempts.
Feb 22 06:47:33 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
Feb 22 06:47:33 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 5: Invalid Value for keyword 'ip' = ''
Feb 22 06:47:33 firewall ddclient[1787]: WARNING: skipping update of mail.sitz.org from <nothing> to 83.99.2.118.
Feb 22 06:47:33 firewall ddclient[1787]: WARNING: last updated <never> but last attempt on Thu Feb 22 06:42:33 2007 failed.
Feb 22 06:47:33 firewall ddclient[1787]: WARNING: Wait at least 5 minutes between update attempts.
Feb 22 06:47:33 firewall ddclient[1787]: WARNING: skipping update of www.sitz.org from <nothing> to 83.99.2.118.
Feb 22 06:47:33 firewall ddclient[1787]: WARNING: last updated <never> but last attempt on Thu Feb 22 06:42:33 2007 failed.
Feb 22 06:47:33 firewall ddclient[1787]: WARNING: Wait at least 5 minutes between update attempts.
Feb 22 06:57:30 firewall sshd(pam_unix)[8707]: session opened for user root by (uid=0)
Feb 22 06:57:34 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
Feb 22 06:57:34 firewall ddclient[1787]: WARNING: file /var/cache/ddclient/ddclient.cache, line 5: Invalid Value for keyword 'ip' = ''
Great. And now?
First, remove your cache file. Second post your config with password removed either to the forum or to ddclient.pastebin.co.uk. Third, verify how ddclient gets started. It looks like it either tries to hard to update (wrong min interval) or there are more than one instance running. You could also join irc://irc.freenode.org/#ddclient.
regards,
wimpunk.
Deleting cache file already done(first stopping ddclient, deleting cache file, starting ddclient). Second I already post the config with my first post. Third, what did you mean with "how ddclient gets started".Can you explain please? When I type "ddclient start", it starts normaly and when I go to message log it marks me the messages posted in the previous posts. I now the config on http://www.eurodns.com/info/faq/#. The a 3 days ago, I wrote an email to EuroDNS to know if I must apply the patch for the last release (3.7.1)? I'm still waiting the answer. Still one question. How to apply the patch from EuroDNS?
During the weekend I'll try to modify their patch for 3.7.1 and post it back. I hope you have a little patience.
wimpunk
It doesn't depend on a few days. It's for personel use. I am grateful for this assistance. Many thanks for your time spending on my problem.
Kind regards
ernie49
I modified the patch against the most recent subversion version but it should work with ddclient 3.7.1. It can be found in the patches: http://sourceforge.net/tracker/index.php?func=detail&aid=1668836&group_id=116817&atid=676130
Apply the patch this way: patch ddclient < eurodns.patch
Btw, on http://www.eurodns.com/info/faq/# there's an example and a patch for ddclient.
Thanks,
I will try it as soon as possible.
Kind regards.