You are not logged in.

#1 2014-04-15 00:37:16

maw
Member
Registered: 2013-01-31
Posts: 16

[SOLVED] Netctl The interface of network profile is already up

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

#2 2014-04-15 01:05:41

jpgg
Member
Registered: 2014-01-15
Posts: 43

Re: [SOLVED] Netctl The interface of network profile is already up

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

#3 2014-04-15 01:32:23

maw
Member
Registered: 2013-01-31
Posts: 16

Re: [SOLVED] Netctl The interface of network profile is already up

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

#4 2014-04-15 02:58:47

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: [SOLVED] Netctl The interface of network profile is already up

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

#5 2014-04-15 06:52:45

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 689

Re: [SOLVED] Netctl The interface of network profile is already up

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

#6 2014-04-15 11:15:58

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [SOLVED] Netctl The interface of network profile is already up

Primoz wrote:

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

#7 2014-04-15 11:59:36

maw
Member
Registered: 2013-01-31
Posts: 16

Re: [SOLVED] Netctl The interface of network profile is already up

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

#8 2014-04-15 12:12:36

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 689

Re: [SOLVED] Netctl The interface of network profile is already up

@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

#9 2014-04-15 12:53:54

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [SOLVED] Netctl The interface of network profile is already up

@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

#10 2014-04-15 12:54:18

maw
Member
Registered: 2013-01-31
Posts: 16

Re: [SOLVED] Netctl The interface of network profile is already up

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

#11 2014-04-15 12:57:42

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [SOLVED] Netctl The interface of network profile is already up

Ok, you can mark the thread as solved by editing the title of the first post.

Offline

#12 2014-04-15 13:02:51

maw
Member
Registered: 2013-01-31
Posts: 16

Re: [SOLVED] Netctl The interface of network profile is already up

@teateawhy,

only for clarification: that file was a vestige of the netcfg package?

Last edited by maw (2014-04-15 13:03:10)

Offline

#13 2014-04-15 13:33:36

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [SOLVED] Netctl The interface of network profile is already up

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

#14 2014-04-26 14:01:19

MisterEwok
Member
Registered: 2013-08-28
Posts: 38

Re: [SOLVED] Netctl The interface of network profile is already up

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

#15 2014-04-26 14:22:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: [SOLVED] Netctl The interface of network profile is already up

MisterEwok wrote:

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

#16 2014-04-26 14:55:46

MisterEwok
Member
Registered: 2013-08-28
Posts: 38

Re: [SOLVED] Netctl The interface of network profile is already up

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

#17 2014-04-26 14:57:43

MisterEwok
Member
Registered: 2013-08-28
Posts: 38

Re: [SOLVED] Netctl The interface of network profile is already up

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

#18 2014-04-26 15:46:27

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: [SOLVED] Netctl The interface of network profile is already up

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

#19 2014-04-26 15:47:53

MisterEwok
Member
Registered: 2013-08-28
Posts: 38

Re: [SOLVED] Netctl The interface of network profile is already up

$ 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

#20 2014-04-26 16:20:58

MisterEwok
Member
Registered: 2013-08-28
Posts: 38

Re: [SOLVED] Netctl The interface of network profile is already up

I also did:

$ sudo netctl disable my-network

Offline

#21 2014-04-27 11:32:33

MisterEwok
Member
Registered: 2013-08-28
Posts: 38

Re: [SOLVED] Netctl The interface of network profile is already up

Today netctl is not loaded.

Offline

Board footer

Powered by FluxBB