You are not logged in.
Hi,
i recently installed a system with the 2013.05 ISO, and got through all the updating process... Everything went fine except the network. i cant start my static profile with netctl... No way.
when i start my machine i have the network on:
[root@Host ~]# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 04:01:16:52:3d:01 brd ff:ff:ff:ff:ff:ff
but when i check the status of the profile:
[root@Host ~]# netctl status static
? netctl@static.service - A basic static ethernet connection
Loaded: loaded (/etc/systemd/system/netctl@static.service; enabled)
Active: failed (Result: exit-code) since Seg 2014-04-14 21:21:13 BRT; 9min ago
Docs: man:netctl.profile(5)
Process: 149 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
Main PID: 149 (code=exited, status=1/FAILURE)
Abr 14 21:21:13 Host network[149]: Starting network profile 'static'...
Abr 14 21:21:13 Host network[149]: The interface of network profile 'static' is already up
Abr 14 21:21:13 Host systemd[1]: netctl@static.service: main process exited, code=exited, status=1/FAILURE
Abr 14 21:21:13 Host systemd[1]: Failed to start A basic static ethernet connection.
Abr 14 21:21:13 Host systemd[1]: Unit netctl@static.service entered failed state.
I suspected it could be a conflict with the dhcpd and i removed it from my system.
Could someone help? Thanks?
Last edited by maw (2014-04-15 13:01:45)
Offline
Why did you use a one-year old iso?
If you put the interface down and try to start the profile again, does it work?
Offline
DigitalOcean latest ISO... =/
Nope.
I tried to:
# ip link set ens3 down
# netctl start static
And same error! =/
Last edited by maw (2014-04-15 01:32:42)
Offline
could you please post the output of systemctl --type=service --no-pager
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
I think I have similar, if not the same problem.
During boot I get this message:
[Failed] Failed to start A basic dhcp ethernet connection.
See 'systemctl status netctl@ethernet\x2ddhcp.service'
for details
This is what I get with systemctl status netctl@ethernet\x2ddhcp.service:
systemctl status netctl@ethernet\x2ddhcp.service
● netctl@ethernetx2ddhcp.service - Networking for netctl profile ethernetx2ddhcp
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
Active: inactive (dead)
Docs: man:netctl.profile(5)
And this is the output of systemctl --type=service --no-pager
systemctl --type=service --no-pager
UNIT LOAD ACTIVE SUB DESCRIPTION
catalyst-hook.service loaded active exited Catalyst's fglrx kernel' module builder
dbus.service loaded active running D-Bus System Message Bus
dhcpcd@eth0.service loaded active running dhcpcd on eth0
dkms.service loaded active exited Dynamic Kernel Modules System
● dropboxd.service loaded failed failed Dropbox
getty@tty1.service loaded active running Getty on tty1
kdm.service loaded active running K Display Manager
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
● netctl@ethernet\x2ddhcp.service loaded failed failed A basic dhcp ethernet connection
ntpd.service loaded active running Network Time Service
polkit.service loaded active running Authorization Manager
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
syslog-ng.service loaded active running System Logger Daemon
systemd-binfmt.service loaded active exited Set Up Additional Binary Formats
systemd-fsck-root.service loaded active exited File System Check on Root Device
systemd-fsck@dev-disk-by\x2duuid-7901f7fa\x2da7d3\x2d4211\x2d9cf3\x2dc3a5b2a8bde9.service loaded active exited File System Check on /dev/disk/by-uuid/7901f7fa-a7d3-4211-9cf3-c3a5b2a8bde
systemd-fsck@dev-disk-by\x2duuid-e96b9bc8\x2daa0b\x2d452d\x2d8cb5\x2d5cf374c94b9d.service loaded active exited File System Check on /dev/disk/by-uuid/e96b9bc8-aa0b-452d-8cb5-5cf374c94b9
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-modules-load.service loaded active exited Load Kernel Modules
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Disk Manager
upower.service loaded active running Daemon for power management
user@1000.service loaded active running User Manager for UID 1000
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
33 loaded units listed. Pass --all to see loaded but inactive units, too.
Oh BTW my ip link also tells me, that my eth0 is UP.
Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.
Offline
I think I have similar, if not the same problem.
During boot I get this message:
[Failed] Failed to start A basic dhcp ethernet connection. See 'systemctl status netctl@ethernet\x2ddhcp.service' for details
This is what I get with systemctl status netctl@ethernet\x2ddhcp.service:
systemctl status netctl@ethernet\x2ddhcp.service ● netctl@ethernetx2ddhcp.service - Networking for netctl profile ethernetx2ddhcp Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static) Active: inactive (dead) Docs: man:netctl.profile(5)
And this is the output of systemctl --type=service --no-pager
systemctl --type=service --no-pager UNIT LOAD ACTIVE SUB DESCRIPTION dhcpcd@eth0.service loaded active running dhcpcd on eth0 ● netctl@ethernet\x2ddhcp.service loaded failed failed A basic dhcp ethernet connection
Oh BTW my ip link also tells me, that my eth0 is UP.
You have enabled two different networking services at the same time, dhcpcd and netctl, which are conflicting with each other.
Offline
Here i my systemctl --type=service --no-pager output...
[root@Host~]# systemctl --type=service --no-pager
UNIT LOAD ACTIVE SUB DESCRIPTION
dbus.service loaded active running D-Bus System Message Bus
digitalocean-rc-local.service loaded active exited /etc/rc.digitalocean Compatibility
getty@tty1.service loaded active running Getty on tty1
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
● netctl@digitalocean.service loaded failed failed A basic static ethernet connection
network@ens3.service loaded active exited Network connectivity (ens3)
sshd.service loaded active running OpenSSH Daemon
systemd-fsck-root.service loaded active exited File System Check on Root Device
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
20 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
Abd here is my netctl profile:
Description='A basic static ethernet connection'
#Interface=eth0
Interface=ens3
Connection=ethernet
IP=static
Address=('x.x.x.x/xx')
#Routes=('192.168.0.0/24 via 192.168.1.2')
Gateway='x.x.x.x'
DNS=('8.8.8.8' '8.8.4.4' '209.244.0.3' '209.244.0.4')
## For IPv6 autoconfiguration
#IP6=stateless
## For IPv6 static address configuration
#IP6=static
#Address6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
#Routes6=('abcd::1234')
#Gateway6='1234:0:123::abcd'
Last edited by maw (2014-04-15 12:04:14)
Offline
@teateawhy: Yeah I realised that and disabled dhpcd service, now the netctl works.
This is a bit off topic probably, but I thought this will solve my dropbox problems, but it didn't. Dropbox is still getting the connecting... error.
I thought that was due to netctl failing. It seems it isn't. Anyone has any idea, or should I start a new thread?
The dropbox error was due to my root got full (again, really should've set a bigger root, or something)
Last edited by Primoz (2014-04-15 12:52:44)
Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.
Offline
@maw
I suppose you have the same problem as Primoz, where "netctl@digitalocean.service" and "network@ens3.service" are enabled and conflicting with each other.
@Primoz
Does the internet connection work for other things besides dropbox? If yes, start a new thread about the dropbox issue.
Last edited by teateawhy (2014-04-15 12:55:54)
Offline
SOLVED!
The teateawhy hint opened my mind and i inspect my /etc/conf.d and there was a file network@ens3 and it was configuring my network, but not completely (without DNS for name resolution).
So i simply removed that file and rebooted my system.
Thanks for the help!
Offline
Ok, you can mark the thread as solved by editing the title of the first post.
Offline
@teateawhy,
only for clarification: that file was a vestige of the netcfg package?
Last edited by maw (2014-04-15 13:03:10)
Offline
I never used netcfg, and i don't know if that was the source of this file.
Usually there are no leftover configuration files when using pacman to install and remove packages. Configuration files are renamed to .pacsave or removed, depending on the "-n, --nosave" switch.
Offline
So, I get a similar thing here:
$ systemctl --type=service --no-pager
UNIT LOAD ACTIVE SUB DESCRIPTION
accounts-daemon.service loaded active running Accounts Service
colord.service loaded active running Manage, Install and Generate Color Profiles
dbus.service loaded active running D-Bus System Message Bus
gdm.service loaded active running GNOME Display Manager
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
● netctl@my\x2dnetwork.service loaded failed failed A basic dhcp ethernet connection
NetworkManager.service loaded active running Network Manager
polkit.service loaded active running Authorization Manager
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
systemd-backlight@backlight:acpi_video0.service loaded active exited Load/Save Screen Backlight Brightness of backlight:acpi_video0
systemd-fsck@dev-disk-by\x2duuid-ba4daf63\x2d51c3\x2d40b3\x2d938f\x2d645d9484a26a.service loaded active exited File System Check on /dev/disk/by-uuid/ba4daf63-51c3-40b3-938f-645d9484a26a
systemd-journald.service loaded active running Journal Service
systemd-localed.service loaded active running Locale Service
systemd-logind.service loaded active running Login Service
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-rfkill@rfkill0.service loaded active exited Load/Save RF Kill Switch Status of rfkill0
systemd-rfkill@rfkill1.service loaded active exited Load/Save RF Kill Switch Status of rfkill1
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Disk Manager
ufw.service loaded active exited CLI Netfilter Manager
upower.service loaded active running Daemon for power management
user@1000.service loaded active running User Manager for UID 1000
user@120.service loaded active running User Manager for UID 120
wpa_supplicant.service loaded active running WPA supplicant
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
32 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
Can I just remove the netctl thing (I assume NetworkManager should be sufficient). And if so, please tell me how. Thanks.
Offline
Can I just remove the netctl thing (I assume NetworkManager should be sufficient). And if so, please tell me how. Thanks.
Yes. Removal is an exercise left for the reader.
Strong hint though, from the shell you can get all the information you need from man systemctl. You are interested in the disable and stop commands.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Sorry. I already did the following before asking the question.
systemctl stop netctl@my\x2dnetwork.service
systemctl disable netctl@my\x2dnetwork.service
systemctl stop netctl
systemctl disable netctl
The above output is still the same.
Offline
More...
$ systemctl status netctl@my\x2dnetwork.service
● netctl@myx2dnetwork.service - Networking for netctl profile myx2dnetwork
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
Active: inactive (dead)
Docs: man:netctl.profile(5)
$ systemctl status netctl
● netctl.service - (Re)store the netctl profile state
Loaded: loaded (/usr/lib/systemd/system/netctl.service; disabled)
Active: inactive (dead)
Offline
Would you please post the output of
ls -l /etc/systemd/system/multi-user.target.wants/
Last edited by ewaller (2014-04-26 15:46:57)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
$ ls -l /etc/systemd/system/multi-user.target.wants/
total 0
lrwxrwxrwx 1 root root 46 Aug 30 2013 NetworkManager.service -> /usr/lib/systemd/system/NetworkManager.service
lrwxrwxrwx 1 root root 51 Apr 13 03:06 remote-fs.target -> ../../../../usr/lib/systemd/system/remote-fs.target
lrwxrwxrwx 1 root root 35 Jan 27 14:35 ufw.service -> /usr/lib/systemd/system/ufw.service
Offline
I also did:
$ sudo netctl disable my-network
Offline
Today netctl is not loaded.
Offline