View previous topic :: View next topic |
Author |
Message |
someone12345 Guru

Joined: 09 Apr 2005 Posts: 365
|
Posted: Sat Dec 20, 2008 12:04 pm Post subject: [solved] ddclient not running as daemon |
|
|
Hi!
When manually executing ddclient from shell it runs as daemon and periodically updates the IP as it's supposed to do.
However when executng the ddclient init.d script the IP is updated once and then the ddclient process is gone.
What's wrong here? I did emerge 3.7.3-r1.
Last edited by someone12345 on Sat Dec 20, 2008 8:35 pm; edited 1 time in total |
|
Back to top |
|
 |
ewaller Apprentice


Joined: 11 Aug 2005 Posts: 264 Location: Pasadena, CA
|
Posted: Sat Dec 20, 2008 5:24 pm Post subject: |
|
|
When you start it by hand, are you using the same parameters that the init script uses. For example, are you requesting the same pid file? You might check that /var/run/ddclient/ddclient.pid does not exist before trying the init script.
The pid file is defined in /etc/conf.d/ddclient.conf
Lastly, is there anything interesting in the logs? Try uping the verbosity of the logging for clues. _________________ Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday |
|
Back to top |
|
 |
someone12345 Guru

Joined: 09 Apr 2005 Posts: 365
|
Posted: Sat Dec 20, 2008 8:35 pm Post subject: |
|
|
chown ddclient:ddclient -R /var/cache/ddclient |
|
Back to top |
|
 |
|