Bug 781526
Summary: | ddclient won't start correctly with systemctl: Failed to read PID file /var/run/ddclient/ddclient.pid after start. The service might be broken. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steve <smithsg> |
Component: | ddclient | Assignee: | Robert Scheck <redhat-bugzilla> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | aslanidis, bugzilla-redhat, h1k6zn2m, kenkolden, redhat-bugzilla, starovoytov, thomas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-15 15:19:58 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Steve
2012-01-13 16:34:37 UTC
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 *** |