Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4290191
By: yath
The following occurs with ddclient version 3.7.1 on Ubuntu 7.04. The commands
are executed as root.
I set up ddclient and at first couldn't tell if it was doing anything. I would
run:
# ddclient -daemon 300 -syslog
#
I get back the prompt... ok fine.
# ps -C ddclient
PID TTY TIME CMD
#
It isn't running.
# cat /var/run/ddclient.pid
7568
# ps 7568
PID TTY TIME CMD
#
It left a pid file, but.. definitely not running.
# grep ddclient /var/log/syslog
#
No log entries.
# ls -l /var/cache/ddclient/ddclient.cache
ls: /var/cache/ddclient: No such file or directory
#
The cache directory doesn't exist. Hmm.
So I went ahead and created the cache directory and tried again. Everything
was the same as before. And though the cache directory existed this time, nothing
was written in it.
So I try the verbose switch.
# ddclient -verbose -daemon 300 -syslog
# ps -C ddclient
PID TTY TIME CMD
# grep ddclient /var/log/syslog
May 1 22:40:22 localhost ddclient[7568]: CONNECT: checkip.dyndns.org
May 1 22:40:22 localhost ddclient[7568]: CONNECTED: using HTTP
May 1 22:40:22 localhost ddclient[7568]: SENDING: GET / HTTP/1.0
May 1 22:40:22 localhost ddclient[7568]: SENDING: Host: checkip.dyndns.org
May 1 22:40:22 localhost ddclient[7568]: SENDING: User-Agent: ddclient/3.7.1
May 1 22:40:22 localhost ddclient[7568]: SENDING: Connection: close
May 1 22:40:22 localhost ddclient[7568]: SENDING:
May 1 22:40:22 localhost ddclient[7568]: RECEIVE: HTTP/1.1 200 OK^M
May 1 22:40:22 localhost ddclient[7568]: RECEIVE: Content-Type: text/html^M
May 1 22:40:22 localhost ddclient[7568]: RECEIVE: Server:
DynDNS-CheckIP/0.2^M
May 1 22:40:22 localhost ddclient[7568]: RECEIVE: Connection: close^M
May 1 22:40:22 localhost ddclient[7568]: RECEIVE: Cache-Control: no-cache^M
May 1 22:40:22 localhost ddclient[7568]: RECEIVE: Pragma: no-cache^M
May 1 22:40:22 localhost ddclient[7568]: RECEIVE: Content-Length: 106^M
May 1 22:40:22 localhost ddclient[7568]: RECEIVE: ^M
May 1 22:40:22 localhost ddclient[7568]: RECEIVE: <html><head><title>Current
IP Check</title></head><body>Current IP Address: xxx.xxx.xxx.xxx/body></html>^M
May 1 22:40:22 localhost ddclient[7568]: INFO: forcing updating XXXXXXXXXXXXXX
because no cached entry exists.
May 1 22:40:22 localhost ddclient[7568]: INFO: setting IP address
to xxx.xxx.xxx.xxx for XXXXXXXXXXXXXXXX
May 1 22:40:22 localhost ddclient[7568]: UPDATE: updating XXXXXXXXXXXXXX
So I can say for sure:
* It does read and accept the configuration file.
* It does determine my IP address.
* It does perform an update.
But I do not know why it then terminates, nor why it fails to write a cache
file.
In addition to the above, I added the -debug switch. However, there was no additional
output.
I would be happy to take additional steps to see why it is behaving this way.
I don't think ddclient is usable in this state, as I can't just run it as a
cron job - it will force an update on every execution.
______________________________________________________________________
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
|