Description of problem: When running "service ddclient start", /var/log/messages receives this error: Failed to read PID file /var/run/ddclient/ddclient.pid after start. The service might be broken. If I run ddclient from the command line, it starts fine and runs in the background correctly. Perhaps this could be a problem with systemctl looking in the wrong place for the PID file. Version-Release number of selected component (if applicable): ddclient-3.8.0-4.fc15.noarch How reproducible: Every time. Steps to Reproduce: 1. Run "service ddclient start" 2. Look in the logs (/var/log/messages) and search for ddclient 3. ps aux | grep ddclient Actual results: logs give the error message: Failed to read PID file /var/run/ddclient/ddclient.pid after start. The service might be broken. ps aux does not show ddclient running Expected results: ddclient is running with no error messages in the logs Additional info: I think just converting the service to use systemctl natively instead of the SystemV workaround would clear this up. I have been looking into it, but I am not enough of an expert in the new systemctl style to be able to suggest a solution yet.
Duplicate of Bug 734273
I do not think this is a duplicate. The durectory /var/run/ddclient exists.
There seems to be at least two more issues with ddclient on Fedora 16: 1) Init script is exiting after the Network Manager check. May be, this is why we see "Failed to read PID file" failure. 2) When I commented out the check, ddclient started but failed to enter correct IP in the .cache file. I had to add "-use if -if ppp0" in the /etc/sysconfig/ddclient OPTIONS string.
Is there any easy way to work around problem 1?
Well, there is line in /etc/init.d/ddclient that checks for 'network' and NetworkManager files under /var/lock/subsys/, and the files are not there although my network is up. I am not a Linux expert, I do not know where is the right place to check, I just commented out this line. Have to admit, I am still looking into item 2: ddclient is running but not reporting the IP, I guess config is still incorrect.
OK, here is why "-use if" does not work in /etc/sysconfig/ddclient: the way /usr/sbin/ddclient reads configuration, default "use=ip" takes priority even if "-use if" is passed on a command line. My ddclient is finally doing the job after adding ",use=if" in /etc/ddclient.conf server/host entry.
*** This bug has been marked as a duplicate of bug 656572 ***