You are not logged in.

#1 2014-01-28 13:14:36

ToxinPowe
Member
Registered: 2010-11-26
Posts: 20

[Solved] Systemctl failed

Hi all, I have my wired static ip connection working just fine but there's an error that bothers me. When I type "systemctl --failed" I got:

UNIT                              LOAD   ACTIVE SUB    DESCRIPTION
netctl@ethernet\x2dstatic.service loaded failed failed Networking for netctl profile ethernet-static

Status:
                                                                                       
netctl@ethernetx2dstatic.service - Networking for netctl profile ethernetx2dstatic                                                                     
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)                                                                                   
   Active: inactive (dead)                                                                                                                             
     Docs: man:netctl.profile(5)
         
How can I avoid getting this error every single boot?

Last edited by ToxinPowe (2014-01-28 18:26:58)

Offline

#2 2014-01-28 15:22:44

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved] Systemctl failed

I think you need to dig a bit deeper than that if you want to figure out what is going on here.  Is there possibly something else that might also be trying to handle the network connectivity as well? 

In any case, you should keep in mind that although 'systemctl status' is a good place to start, if it doesn't give enough information to go off of, then you should be looking into the journal.

Offline

#3 2014-01-28 15:37:01

ToxinPowe
Member
Registered: 2010-11-26
Posts: 20

Re: [Solved] Systemctl failed

Thank you for you reply. I did "journalctl" as root and I found this:

Jan 28 12:48:30 myhost network[370]: Profile 'ethernet-static' does not exist or is not readable
Jan 28 12:48:30 myhost systemd[1]: netctl@ethernet\x2dstatic.service: main process exited, code=exited, status=1/FAILURE
Jan 28 12:48:30 myhost systemd[1]: Failed to start Networking for netctl profile ethernet-static.
Jan 28 12:48:30 myhost systemd[1]: Unit netctl@ethernet\x2dstatic.service entered failed state.


I'm totally lost, What should I do?

Offline

#4 2014-01-28 15:42:26

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,095
Website

Re: [Solved] Systemctl failed

Please, please, please use code tags:

Everytime you don't use code tags, a unicorn cries.

All the best,

-HG

Offline

#5 2014-01-28 16:52:33

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 334

Re: [Solved] Systemctl failed

Jan 28 12:48:30 myhost network[370]: Profile 'ethernet-static' does not exist or is not readable

Do you have an ethernet-static file (profile) in /etc/netctl/

furthermore, check if /etc/sysyemd/system/multi-user.target.wants/netctl@ethernet\x2dstatic.service exists, which is linked
to /usr/lib/systemd/system/netctl@.service

Offline

#6 2014-01-28 17:45:40

ToxinPowe
Member
Registered: 2010-11-26
Posts: 20

Re: [Solved] Systemctl failed

henk wrote:

Do you have an ethernet-static file (profile) in /etc/netctl/

I do have one but it's called mynetwork.

About the links I have these:

 ls -l /etc/sysyemd/system/multi-user.target.wants/netctl@ethernet\
lrwxrwxrwx 1 root root   39 Apr 16  2013 netcfg@mynetwork.service -> /usr/lib/systemd/system/netcfg@.service
lrwxrwxrwx 1 root root   53 Apr 16  2013 netctl@ethernet\x2dstatic.service -> /etc/systemd/system/netctl@ethernet\x2dstatic.service
lrwxrwxrwx 1 root root   44 Apr 16  2013 netctl@mynetwork.service -> /etc/systemd/system/netctl@mynetwork.service
 

PS: Thank you for your suggestions, and sorry for the tags.

Offline

#7 2014-01-28 18:02:14

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved] Systemctl failed

You have too many things trying to control your network.  You can only have one profile taking care of things here, where you have both 'ethernet-static' and 'mynetwork' both trying.  Not to mention, you seem to also have a dead symlink for netcfg still there.

Offline

#8 2014-01-28 18:09:03

ToxinPowe
Member
Registered: 2010-11-26
Posts: 20

Re: [Solved] Systemctl failed

ok, so I guess I need to remove them all except 'mynetwork'. Can you tell me the right way please?

Updated: I backup and removed them and it's working without errors now, thank you very much guys. Marked solved.

Last edited by ToxinPowe (2014-01-28 18:26:05)

Offline

Board footer

Powered by FluxBB