You are not logged in.

#1 2021-01-09 12:36:45

ArcticStag
Member
Registered: 2020-09-14
Posts: 46

[CLOSED - UNSOLVED] How do I work out what NetworkManager I am using

Hi there,

I am running a base arch install and I have s number of different network managers on the system, however, I am unable to work out which one is currently running the network controls. For some reason the eth0 link is currently down and when I try and use networkctl up eth0 I received the following error

WARNING: systemd-networkd is not running, output will be incomplete.

Additionally when I attempt to run

sudo systemctl start sydtemd-networkd.service

I received the following

Job for systemd-networkd.service failed because the control process exited with error code.
See "systemctl status systemd-networkd.service" and "journalctl -xe" for details.

Journalctl -xe

-- The job identifier is 797 and the job result is failed.
Jan 09 23:30:14 mc systemd[1]: systemd-networkd.service: Scheduled restart job, restart counter is at 5.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Automatic restarting of the unit systemd-networkd.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Jan 09 23:30:14 mc systemd[1]: Stopped Network Service.
-- Subject: A stop job for unit systemd-networkd.service has finished
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A stop job for unit systemd-networkd.service has finished.
-- 
-- The job identifier is 803 and the job result is done.
Jan 09 23:30:14 mc systemd[1]: systemd-networkd.service: Start request repeated too quickly.
Jan 09 23:30:14 mc systemd[1]: systemd-networkd.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The unit systemd-networkd.service has entered the 'failed' state with result 'exit-code'.
Jan 09 23:30:14 mc systemd[1]: Failed to start Network Service.
-- Subject: A start job for unit systemd-networkd.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit systemd-networkd.service has finished with a failure.
-- 
-- The job identifier is 803 and the job result is failed.
Jan 09 23:30:14 mc systemd[1]: systemd-networkd.socket: Failed with result 'service-start-limit-hit'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The unit systemd-networkd.socket has entered the 'failed' state with result 'service-start-limit-hit'.

Here is my

sudo systemctl status
State: degraded
     Jobs: 0 queued
   Failed: 5 units
    Since: Sat 2021-01-09 23:08:46 AEDT; 27min ago
   CGroup: /
           |-init.scope 
           | `-1 /sbin/init
           `-system.slice 
             |-fail2ban.service 
             | `-68 /usr/bin/python /usr/bin/fail2ban-server -xf start
             |-cronie.service 
             | |- 61 /usr/bin/crond -n
             | |- 74 SCREEN -S minecraft.server -d -m sh /home/minecraft/eternal/server.sh
             | |- 75 sh /home/minecraft/eternal/server.sh
             | `-566 java -Xms18432M -Xmx18432M -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=50 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 >
             |-systemd-journald.service 
             | `-46 /usr/lib/systemd/systemd-journald
             |-sshd.service 
             | `-66 sshd: /usr/bin/sshd -D [listener] 0 of 10-100 startups
             |-console-getty.service 
             | `-70 /sbin/agetty -o -p -- \x5cu --noclear --keep-baud console 115200,38400,9600 linux
             |-system-container\x2dgetty.slice 
             | |-container-getty@2.service 
             | | `-73 /sbin/agetty -o -p -- \x5cu --noclear --keep-baud tty2 115200,38400,9600 linux
             | `-container-getty@1.service 
             |   |- 71 login -- minecraft
             |   |-163 -zsh
             |   |-633 sudo systemctl status
             |   |-638 systemctl status
             |   `-639 less
             `-dbus.service 
               `-62 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only

Any assistance or information you can provide would be great

Last edited by ArcticStag (2021-01-23 08:56:17)

Offline

#2 2021-01-09 12:55:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,754

Re: [CLOSED - UNSOLVED] How do I work out what NetworkManager I am using

If that output is any indication you are currently not running any service... Which instructions did you follow to set up this system? Is this even an Arch install? A lot of stuff is running that I'd not expect to be there if someone installed for the first time and didn't yet set up networking.

Offline

#3 2021-01-09 22:41:33

ArcticStag
Member
Registered: 2020-09-14
Posts: 46

Re: [CLOSED - UNSOLVED] How do I work out what NetworkManager I am using

Thank you for your response. This is definitely Arch Linux, I am running this as a server which is why I added cronnie and fail2ban.

➜  ~ cat /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://www.archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
LOGO=archlinux

The environment was set up using the ProxMox Arch Linux PVE Container for base arch, Which in essence follows the same guided instructions as the Arch Linux Installation guide on the archlinux.org

The only steps that I did not personally complete myself were

pacstrap base linux linux-firmware

all of the post-setup installation such as application install etc were completed by me in the chroot environment

Offline

#4 2021-01-10 00:26:52

seth
Member
Registered: 2012-09-03
Posts: 51,543

Re: [CLOSED - UNSOLVED] How do I work out what NetworkManager I am using

Apparently not the part where you chose, installed and configured a network managing service… by default there's none.

Online

#5 2021-01-10 01:19:11

archimboldo
Member
Registered: 2016-03-07
Posts: 232

Re: [CLOSED - UNSOLVED] How do I work out what NetworkManager I am using

ArcticStag wrote:

I am running a base arch install and I have s number of different network managers on the system, however, I am unable to work out which one is currently running the network controls.

You have set all this up and skipped notes from wiki? Strange.
https://wiki.archlinux.org/index.php/Ne … k_managers
https://wiki.archlinux.org/index.php/Ne … interfaces

Last edited by archimboldo (2021-01-10 01:51:16)


Rules for problems.
Everyone has problems. Animals have problems. And buildings. And cats, and trees.
Problems are your friends. Treat them well.

Offline

Board footer

Powered by FluxBB