Skip to main content

Problems Upgrading from Centos7 to Almalinux8

Comments

6 comments

  • cPanelPeter cPanel Staff

    Hello, 

    Could you try running the following and supplying the output:

    ls -al /sys/class/net

    and

    /sbin/ip addr

    Feel free to mask the actual IP addresses. 

     

    0
  • dscreative

    Really appreciate your help. The result is:

    # ls -al /sys/class/net
    total 0
    drwxr-xr-x  2 root root 0 Jan 17 13:55 .
    drwxr-xr-x 52 root root 0 Jan 17 13:55 ..
    lrwxrwxrwx  1 root root 0 Jan 17 13:55 eth0 -> ../../devices/pci0000:00/0000:00:03.0/virtio0/net/eth0
    lrwxrwxrwx  1 root root 0 Jan 17 13:55 eth1 -> ../../devices/pci0000:00/0000:00:08.0/virtio4/net/eth1
    lrwxrwxrwx  1 root root 0 Jan 17 13:55 eth2 -> ../../devices/pci0000:00/0000:00:09.0/virtio5/net/eth2
    lrwxrwxrwx  1 root root 0 Jan 17 13:55 eth3 -> ../../devices/pci0000:00/0000:00:0a.0/virtio6/net/eth3
    lrwxrwxrwx  1 root root 0 Jan 17 13:55 eth4 -> ../../devices/pci0000:00/0000:00:0b.0/virtio7/net/eth4
    lrwxrwxrwx  1 root root 0 Jan 17 13:55 lo -> ../../devices/virtual/net/lo

     

    and:

     

    # /sbin/ip addr
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
        inet 127.0.0.1/8 scope host lo
           valid_lft forever preferred_lft forever
        inet6 ::1/128 scope host
           valid_lft forever preferred_lft forever
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
        link/ether 52:54:00:40:57:ce brd ff:ff:ff:ff:ff:ff
        inet x.x.x.x/24 brd x.x.x.x scope global eth0
           valid_lft forever preferred_lft forever
        inet6 fe80::5054:ff:fe40:57ce/64 scope link
           valid_lft forever preferred_lft forever
    3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
        link/ether 52:54:00:57:de:34 brd ff:ff:ff:ff:ff:ff
    4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
        link/ether 52:54:00:d0:c0:52 brd ff:ff:ff:ff:ff:ff
    5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
        link/ether 52:54:00:57:de:34 brd ff:ff:ff:ff:ff:ff
    6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
        link/ether 52:54:00:d0:c0:52 brd ff:ff:ff:ff:ff:ff

     

    It seems there are some more interfaces, but somehow hidden! Any idea how we can remove these extra ones. I don't believe they are needed.

    0
  • cPanelPeter cPanel Staff

    Hello,

    You can usually use the same /sbin/ip command to delete a device. I see they are already marked as being DOWN.  

    Reviewing the man page for ip, it seems you can use: 

    /sbin/ip link delete eth1

    If that's successful, you can then do the same for eth2 through eth4.

    DO NOT DO THIS FOR eth0 (obviously).

    If you have issues, you will need to consult with your system or network administrator.

     

    0
  • dscreative

    I tried this but it responds with:

    # /sbin/ip link delete eth1
    RTNETLINK answers: Operation not supported

    Any ideas? Is this something we need the people we purchased the VPS from to solve?

    0
  • cPanelPeter cPanel Staff

    Hello, 

    Yes, I would contact them and inquire how they set up their network. This is not something cPanel can assist with unfortunately. 

     

    0
  • dscreative

    Thanks, I will do. Really do appreciate your help with this.

    1

Please sign in to leave a comment.