You are not logged in.
Pages: 1
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
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
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
Please, please, please use code tags:
Everytime you don't use code tags, a unicorn cries.
All the best,
-HG
Offline
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
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
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
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
Pages: 1