Hello,
if we run systemctl restart network.service then server lost connection and NEVER is possible reconnect.
we can't use NetworkManager.service becouse "SW to install" only run over network.service
how we can find the "wrong CONFIG" ?
Thanks
this is CentOS Linux release 8.4.2105
systemctl restart network.service - not start, how to diagnostic?
Re: systemctl restart network.service - not start, how to diagnostic?
More info please, i.e. config files, hardware etc.
-
- Posts: 54
- Joined: 2017/08/27 09:48:47
Re: systemctl restart network.service - not start, how to diagnostic?
Try:
Code: Select all
journalctl --unit=network.service
Re: systemctl restart network.service - not start, how to diagnostic?
thanks:
Code: Select all
[root@pepsi ~]# lshw -short
H/W path Device Class Description
======================================================
system MS-7816 (To be filled by O.E.M.)
/0 bus H87-G43 (MS-7816)
/0/0 memory 64KiB BIOS
/0/3d processor Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
/0/3d/3e memory 1MiB L2 cache
/0/3d/3f memory 256KiB L1 cache
/0/3d/40 memory 8MiB L3 cache
/0/41 memory 32GiB System Memory
/0/41/0 memory DIMM DDR3 Synchronous 1600 MHz (0.6 ns) [empty]
/0/41/1 memory DIMM DDR3 Synchronous 1600 MHz (0.6 ns) [empty]
/0/41/2 memory DIMM DDR3 Synchronous 1600 MHz (0.6 ns) [empty]
/0/41/3 memory DIMM DDR3 Synchronous 1600 MHz (0.6 ns) [empty]
/0/100 bridge 4th Gen Core Processor DRAM Controller
/0/100/2 display Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
/0/100/14 bus 8 Series/C220 Series Chipset Family USB xHCI
/0/100/14/0 usb3 bus xHCI Host Controller
/0/100/14/0/4 bus 4-Port USB 2.0 Hub
/0/100/14/0/4/2 input3 input Peppercon AG Multidevice
/0/100/14/0/4/3 input5 input Generic USB Keyboard Mouse
/0/100/14/1 usb4 bus xHCI Host Controller
/0/100/16 communication 8 Series/C220 Series Chipset Family MEI Controller #1
/0/100/1a bus 8 Series/C220 Series Chipset Family USB EHCI #2
/0/100/1a/1 usb1 bus EHCI Host Controller
/0/100/1a/1/1 bus Integrated Rate Matching Hub
/0/100/1c bridge 8 Series/C220 Series Chipset Family PCI Express Root Port #1
/0/100/1c.1 bridge 8 Series/C220 Series Chipset Family PCI Express Root Port #2
/0/100/1c.1/0 enp2s0 network RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
/0/100/1c.3 bridge 82801 PCI Bridge
/0/100/1c.3/0 bridge ASM1083/1085 PCIe to PCI Bridge
/0/100/1d bus 8 Series/C220 Series Chipset Family USB EHCI #1
/0/100/1d/1 usb2 bus EHCI Host Controller
/0/100/1d/1/1 bus Integrated Rate Matching Hub
/0/100/1f bridge H87 Express LPC Controller
/0/100/1f/0 system PnP device PNP0c01
/0/100/1f/1 system PnP device PNP0c02
/0/100/1f/2 system PnP device PNP0b00
/0/100/1f/3 generic PnP device INT3f0d
/0/100/1f/4 system PnP device PNP0c02
/0/100/1f/5 input PnP device PNP0303
/0/100/1f/6 communication PnP device PNP0501
/0/100/1f/7 printer PnP device PNP0400
/0/100/1f/8 system PnP device PNP0c02
/0/100/1f/9 system PnP device PNP0c02
/0/100/1f.2 scsi0 storage 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
/0/100/1f.2/0 /dev/sda disk 256GB Micron_1100_MTFD
/0/100/1f.2/0/1 /dev/sda1 volume 16GiB Linux raid autodetect partition
/0/100/1f.2/0/2 /dev/sda2 volume 512MiB Linux raid autodetect partition
/0/100/1f.2/0/3 /dev/sda3 volume 221GiB Linux raid autodetect partition
/0/100/1f.2/1 /dev/sdb disk 256GB Micron_1100_MTFD
/0/100/1f.2/1/1 /dev/sdb1 volume 16GiB Linux raid autodetect partition
/0/100/1f.2/1/2 /dev/sdb2 volume 512MiB Linux raid autodetect partition
/0/100/1f.2/1/3 /dev/sdb3 volume 221GiB Linux raid autodetect partition
/0/100/1f.3 bus 8 Series/C220 Series Chipset Family SMBus Controller
/1 power To Be Filled By O.E.M.
/2 input0 input Power Button
/3 input1 input Power Button
/4 input2 input AT Translated Set 2 keyboard
[root@pepsi ~]#
Re: systemctl restart network.service - not start, how to diagnostic?
Thanks:organicchemistry_01 wrote: ↑2021/06/18 11:56:03Try:Code: Select all
journalctl --unit=network.service
before of install SW:
Code: Select all
[root@pepsi ~]# journalctl --unit=network.service
-- Logs begin at Fri 2021-06-18 14:33:28 CEST, end at Fri 2021-06-18 14:40:32 CEST. --
-- No entries --
[root@pepsi ~]#
Code: Select all
[root@pepsi ~]# journalctl --no-pager --unit=network.service
-- Logs begin at Fri 2021-06-18 14:33:28 CEST, end at Fri 2021-06-18 14:45:19 CEST. --
Jun 18 14:43:37 pepsi systemd[1]: Starting LSB: Bring up/down networking...
Jun 18 14:43:37 pepsi network[14570]: WARN : [network] You are using 'network' service provided by 'network-scripts', which are now deprecated.
Jun 18 14:43:37 pepsi network[14570]: WARN : [network] 'network-scripts' will be removed in one of the next major releases of RHEL.
Jun 18 14:43:37 pepsi network[14570]: WARN : [network] It is advised to switch to 'NetworkManager' instead for network management.
Jun 18 14:43:38 pepsi network[14570]: Bringing up loopback interface: [ OK ]
Jun 18 14:43:38 pepsi network[14570]: Bringing up interface enp2s0: ERROR : [ipv6_set_default_route] Given IPv6 default gateway 'fe80::1' is link-local, but no scope or gateway device is specified
Jun 18 14:43:38 pepsi network[14570]: [ OK ]
Jun 18 14:43:38 pepsi systemd[1]: Started LSB: Bring up/down networking.
[root@pepsi ~]#