You are not logged in.

#1 2017-05-13 14:01:36

JohnnyHannastix
Member
Registered: 2016-03-01
Posts: 6

[Solved] [*** ] A start job is running for dhcpcd on enp2s0

Hi there,

I know this issue has been posted a few times, but none of the proposed solutions have worked for me. I get the error each time I boot the laptop. It only happens on enp2s0. I tried to run systemctl disable  dhcpd@enp2s0.service but it says directory not found. I think this has something to do with dhcpd and Network Manager but I'm not sure what.

Last edited by JohnnyHannastix (2017-05-13 17:56:40)

Offline

#2 2017-05-13 14:15:02

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: [Solved] [*** ] A start job is running for dhcpcd on enp2s0

For me i got rid of the watchdog message after installing intel-ucode and edited /boot/loader/entries/arch.conf by the instructions on Microcode page on wiki
https://wiki.archlinux.org/index.php/microcode


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#3 2017-05-13 15:03:30

loqs
Member
Registered: 2014-03-06
Posts: 17,502

Re: [Solved] [*** ] A start job is running for dhcpcd on enp2s0

Please post the exact command you used to try and disable the service and the output generated plus the output of the following

$ systemctl list-unit-files | grep enabled

@dockland did you post to the wrong thread?

Offline

#4 2017-05-13 15:08:50

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,579
Website

Re: [Solved] [*** ] A start job is running for dhcpcd on enp2s0

You may have enabled dhcpcd.service which tries every interface - so attempting to disable dhcpcd@.service wouldn't work as that is not what is running.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2017-05-13 17:02:57

JohnnyHannastix
Member
Registered: 2016-03-01
Posts: 6

Re: [Solved] [*** ] A start job is running for dhcpcd on enp2s0

loqs wrote:

Please post the exact command you used to try and disable the service and the output generated plus the output of the following

$ systemctl list-unit-files | grep enabled

@dockland did you post to the wrong thread?

Hi,

Please see the beloiw results:

autovt@.service                             enabled 
bluetooth.service                           enabled 
clamd.service                               enabled 
dbus-org.bluez.service                      enabled 
dbus-org.freedesktop.NetworkManager.service enabled 
dbus-org.freedesktop.nm-dispatcher.service  enabled 
dhcpcd@.service                             enabled 
display-manager.service                     enabled 
gdm.service                                 enabled 
getty@.service                              enabled 
NetworkManager-dispatcher.service           enabled 
NetworkManager.service                      enabled 
systemd-timesyncd.service                   enabled 
ufw.service                                 enabled 
remote-fs.target                            enabled 


It shows that dhcpd and Network Manager are running. Should I dsiable one?

Offline

#6 2017-05-13 17:04:10

JohnnyHannastix
Member
Registered: 2016-03-01
Posts: 6

Re: [Solved] [*** ] A start job is running for dhcpcd on enp2s0

Trilby wrote:

You may have enabled dhcpcd.service which tries every interface - so attempting to disable dhcpcd@.service wouldn't work as that is not what is running.

Doing the comand the Logs requested showed that dhcpd and nwtwork manager are both running. Should I disable one?

Offline

#7 2017-05-13 17:27:46

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved] [*** ] A start job is running for dhcpcd on enp2s0

Yes.

Wiki wrote:

There are many solutions to choose from, but remember that all of them are mutually exclusive; you should not run two daemons simultaneously.

Last edited by Slithery (2017-05-13 17:28:06)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#8 2017-05-13 17:33:52

JohnnyHannastix
Member
Registered: 2016-03-01
Posts: 6

Re: [Solved] [*** ] A start job is running for dhcpcd on enp2s0

slithery wrote:

Yes.

Wiki wrote:

There are many solutions to choose from, but remember that all of them are mutually exclusive; you should not run two daemons simultaneously.

Ok. So how do I disable dhcpd? I tried the disabling it with systemctl, but I git this error: Failed to stop dhcpd.service: Unit dhcpd.service not loaded.

Offline

#9 2017-05-13 17:37:25

loqs
Member
Registered: 2014-03-06
Posts: 17,502

Re: [Solved] [*** ] A start job is running for dhcpcd on enp2s0

What is the output of

$ systemctl status dhcpcd*@*.service

Please use code tags for command output

Offline

#10 2017-05-13 17:40:08

JohnnyHannastix
Member
Registered: 2016-03-01
Posts: 6

Re: [Solved] [*** ] A start job is running for dhcpcd on enp2s0

loqs wrote:

What is the output of

$ systemctl status dhcpcd*@*.service

Please use code tags for command output

Hi, this is the results of the command:

● dhcpcd@enp2s0.service - dhcpcd on enp2s0
   Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2017-05-13 12:37:48 EDT; 1h 0min ago
  Process: 405 ExecStart=/usr/bin/dhcpcd -q -w %I (code=exited, status=1/FAILURE)

May 13 12:37:18 Hyperion systemd[1]: Starting dhcpcd on enp2s0...
May 13 12:37:18 Hyperion dhcpcd[405]: enp2s0: waiting for carrier
May 13 12:37:19 Hyperion dhcpcd[405]: wlp3s0: new hardware address: e2:f8:a4:47:0c:34
May 13 12:37:23 Hyperion dhcpcd[405]: wlp3s0: new hardware address: ac:2b:6e:ac:49:e1
May 13 12:37:48 Hyperion systemd[1]: dhcpcd@enp2s0.service: Control process exited, code=exited status=1
May 13 12:37:48 Hyperion systemd[1]: Failed to start dhcpcd on enp2s0.
May 13 12:37:48 Hyperion systemd[1]: dhcpcd@enp2s0.service: Unit entered failed state.
May 13 12:37:48 Hyperion systemd[1]: dhcpcd@enp2s0.service: Failed with result 'exit-code'.

Offline

#11 2017-05-13 17:41:17

loqs
Member
Registered: 2014-03-06
Posts: 17,502

Re: [Solved] [*** ] A start job is running for dhcpcd on enp2s0

So the service you want to disable is dhcpcd@enp2s0.service not dhcpcd.service
Edit
dhcpcd.service not dhcpd.service

Last edited by loqs (2017-05-13 17:43:02)

Offline

#12 2017-05-13 17:56:04

JohnnyHannastix
Member
Registered: 2016-03-01
Posts: 6

Re: [Solved] [*** ] A start job is running for dhcpcd on enp2s0

loqs wrote:

So the service you want to disable is dhcpcd@enp2s0.service not dhcpcd.service
Edit
dhcpcd.service not dhcpd.service

That did it. Thank you for the help.

Offline

Board footer

Powered by FluxBB