LINUX.ORG.RU
ФорумAdmin

Как исправить статус networking active (exited)

 ,


0

1

Доброго времени суток. Была ошибка

systemctl status networking.service
● networking.service - Raise network interfaces
     Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2022-12-16 02:29:22 EET; 44s ago
       Docs: man:interfaces(5)
    Process: 670 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
   Main PID: 670 (code=exited, status=1/FAILURE)
        CPU: 242ms

Dec 16 02:29:16 mydomain.com systemd[1]: Starting Raise network interfaces...
Dec 16 02:29:22 mydomain.com ifup[774]: Waiting for DAD... Done
Dec 16 02:29:22 mydomain.com ifup[980]: SIOCSIFADDR: File exists
Dec 16 02:29:22 mydomain.com ifup[670]: ifup: failed to bring up eno1
Dec 16 02:29:22 mydomain.com systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Dec 16 02:29:22 mydomain.com systemd[1]: networking.service: Failed with result 'exit-code'.
Dec 16 02:29:22 mydomain.com systemd[1]: Failed to start Raise network interfaces.

Закомментировал из interfaces все up-ы

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback
iface lo inet6 loopback

auto eno1
iface eno1 inet static
  address 176.15.140.120
  netmask 255.255.255.224
  gateway 176.15.140.97
  # route 176.15.140.96/27 via 176.15.140.97
  #up route add -net 176.15.140.96 netmask 255.255.255.224 gw 176.15.140.97 dev eno1

iface eno1 inet6 static
  address 2a01:4a8:1550:14a5::2
  netmask 64
  gateway fe80::1
  #up /sbin/ifconfig eno1 inet6 add 2a01:4a8:1550:14a5::2/128

Сделал рестарт сервера, теперь статус

systemctl status networking
● networking.service - Raise network interfaces
     Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
     Active: active (exited) since Sat 2022-12-17 16:59:52 EET; 16min ago
       Docs: man:interfaces(5)
    Process: 673 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0/SUCCESS)
   Main PID: 673 (code=exited, status=0/SUCCESS)
        CPU: 260ms

Dec 17 16:59:46 mydomain.com systemd[1]: Starting Raise network interfaces...
Dec 17 16:59:52 mydomain.com ifup[774]: Waiting for DAD... Done
Dec 17 16:59:52 mydomain.com systemd[1]: Finished Raise network interfaces.

Отваливается pterodactyl (из того, что сразу заметно). Как исправить?



Последнее исправление: BlagoYar (всего исправлений: 1)