You are not logged in.
Running
sudo systemctl restart ddclient.service
I get this error message:
Job for ddclient.service failed. See 'systemctl status ddclient.service' and 'journalctl -xn' for details.
journal:
jul 04 11:04:10 vicente systemd[1]: Starting Dynamic DNS Update Client...
jul 04 11:04:11 vicente systemd[1]: PID file /run/ddclient.pid not readable (yet?) after start.
jul 04 11:04:11 vicente systemd[1]: Failed to start Dynamic DNS Update Client.
jul 04 11:04:11 vicente systemd[1]: Unit ddclient.service entered failed state.
What happens? Thanks
Last edited by trinux (2013-07-04 09:07:54)
Offline
I had the same problem.
My /etc/ddclient/ddclient.conf file was missing the line "daemon=300".
As soon as I added this line the service started fine.
Offline
Is this similar to https://bugs.archlinux.org/task/36043 ?
My /etc/ddclient/ddclient.conf file was missing the line "daemon=300".
Interesting: https://bugs.archlinux.org/task/35633
Last edited by karol (2013-07-21 11:29:40)
Offline
heyho
since I'm having a similiar problem..
[root@meer run]# systemctl status ddclient
● ddclient.service - Dynamic DNS Update Client
Loaded: loaded (/usr/lib/systemd/system/ddclient.service; enabled; vendor preset: disabled)
Active: failed (Result: timeout) since Tue 2015-04-14 19:30:56 CEST; 11min ago
Main PID: 1320 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/ddclient.service
Apr 14 19:28:04 meer ddclient[6083]: LC_ALL = (unset),
Apr 14 19:28:04 meer ddclient[6083]: LC_COLLATE = "C",
Apr 14 19:28:04 meer ddclient[6083]: LANG = "de_DE.UTF-8"
Apr 14 19:28:04 meer ddclient[6083]: are supported and installed on your system.
Apr 14 19:28:04 meer ddclient[6083]: perl: warning: Falling back to the standard locale ("C").
Apr 14 19:28:04 meer systemd[1]: PID file /var/run/ddclient.pid not readable (yet?) after start.
Apr 14 19:30:56 meer systemd[1]: ddclient.service start operation timed out. Terminating.
Apr 14 19:30:56 meer systemd[1]: Failed to start Dynamic DNS Update Client.
Apr 14 19:30:56 meer systemd[1]: Unit ddclient.service entered failed state.
Apr 14 19:30:56 meer systemd[1]: ddclient.service failed.
[root@meer run]# cd /var/run
[root@meer run]# ls | grep ddclient
[root@meer run]#
It cannot find ddcilent.pid since it doesn't exist.
There is an old bugreport https://bugs.archlinux.org/task/36043 , but it seems there wasn't a solution
Any ideas to fix it?
Thanks,
Benni
Offline
I would file a new bug report (and you should probably have started a new thread, perhaps linking to this one). The service file is provided by the Arch package, not by upstream, and while it tells systemd that the PID file is going to be /var/run/ddclient.pid, it doesn't tell ddclient to write the pid to that file. So to use this service file, you have to add
pid=/var/run/ddclient.pid
to your config file. You can do that for now, but "-pid /var/run/ddclient.pid" should really be part of the ExecStart line.
Offline
that's it! Thank you.
I'll report the bug
Offline