You are not logged in.

#1 2013-07-04 09:07:20

trinux
Member
From: ~/Spain/Cordova
Registered: 2013-07-04
Posts: 8

Cannot start ddclient.service

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

#2 2013-07-21 08:27:32

auberginepop
Member
Registered: 2013-07-18
Posts: 2

Re: Cannot start ddclient.service

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

#3 2013-07-21 11:28:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Cannot start ddclient.service

Is this similar to https://bugs.archlinux.org/task/36043 ?


auberginepop wrote:

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

#4 2015-04-14 17:48:00

pschyrum
Member
Registered: 2013-02-16
Posts: 8

Re: Cannot start ddclient.service

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

#5 2015-04-14 19:29:55

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Cannot start ddclient.service

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

#6 2015-04-15 15:19:43

pschyrum
Member
Registered: 2013-02-16
Posts: 8

Re: Cannot start ddclient.service

that's it! Thank you.

I'll report the bug

Offline

Board footer

Powered by FluxBB