[Ddclient-forum] [ddclient - Help] Failure writing IP address to cache file
Brought to you by:
supersandro2000,
wimpunk
|
From: SourceForge.net <no...@so...> - 2008-02-18 07:19:39
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4783988 By: merchantman I'm using ddclient v. 3.7.3 to update my IP address using DynDNS. My configuration is pretty standard -- see the pastebin link below. According to the debugging messages, I'm not having any problem getting my current IP address from checkip.dyndns.org (I checked the address and it is correct) and update url for DynDNS contains that same correct IP address. However, the cache file contains a blank IP entry ("IP=", see the config file listed in pastebin below). Subsequent runs throw this error: "WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''" This makes sense considering the IP address isn't being written to the file. If I manually input an IP address in that file (say IP=1.2.3.4 or whatever), the error goes away. However, subsequent runs not only do not throw any errors but do not update the value in the cache. This is all very strange. I took a look at the code and found that if I added to IP address to %config at a strategic location, it seems to correctly update the IP address in the cache file (see the third pastebin link below). This isn't a solution to this problem, whatever it may be -- but it might point you in the right direction. Please let me know if I can provide any more information. Config file - http://ddclient.pastebin.ca/908238 Cache file - http://ddclient.pastebin.ca/908241 Crude Patch - http://ddclient.pastebin.ca/908248 ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=399428 |