[SOLVED] Failed to start Raise network interfaces at boot up

mcflym

Active Member
Jul 10, 2013
192
8
38
Hi,

I'm getting the the following error at startup:

"Failed to start Raise network interfaces at boot up"

/etc/network/interfaces looks like:

Code:
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.20.200
        netmask 255.255.255.0
        gateway 192.168.20.1
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

auto vmbr1
iface vmbr1 inet static
        address 192.168.20.205
        netmask 255.255.255.0
        bridge_ports eth1
        bridge_stp off
        bridge_fd 0

systemctl status networking.service shows:

Code:
networking.service - Raise network interfaces
   Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2019-12-09 15:58:04 CET; 2min 28s ago
     Docs: man:interfaces(5)
  Process: 1022 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
  Process: 961 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited, status=0/SUCCESS)
 Main PID: 1022 (code=exited, status=1/FAILURE)
      CPU: 96ms

Dec 09 15:58:04 proxmox ifup[1022]: /etc/network/if-up.d/vzifup-post: 5: exec: /usr/sbin/vzifup-post: not found
Dec 09 15:58:04 proxmox ifup[1022]: run-parts: /etc/network/if-up.d/vzifup-post exited with return code 127
Dec 09 15:58:04 proxmox ifup[1022]: ifup: failed to bring up vmbr0
Dec 09 15:58:04 proxmox ifup[1022]: Waiting for vmbr1 to get ready (MAXWAIT is 2 seconds).
Dec 09 15:58:04 proxmox ifup[1022]: RTNETLINK answers: File exists
Dec 09 15:58:04 proxmox ifup[1022]: ifup: failed to bring up vmbr1
Dec 09 15:58:04 proxmox systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Dec 09 15:58:04 proxmox systemd[1]: Failed to start Raise network interfaces.
Dec 09 15:58:04 proxmox systemd[1]: networking.service: Unit entered failed state.
Dec 09 15:58:04 proxmox systemd[1]: networking.service: Failed with result 'exit-code'.

Networks works as far I can see as usual.

Any suggestions?

Thanks!
 

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
3,163
364
88
hi,

Dec 09 15:58:04 proxmox ifup[1022]: /etc/network/if-up.d/vzifup-post: 5: exec: /usr/sbin/vzifup-post: not found

here is your error. looks like a custom file you might have added before, but you're missing the executable file
 

mcflym

Active Member
Jul 10, 2013
192
8
38
hi,



here is your error. looks like a custom file you might have added before, but you're missing the executable file

Can't remember any added custom file.

Should I just remove this file: "/etc/network/if-up.d/vzifup-post" ?

content:

Code:
#!/bin/sh

[ "$ADDRFAM" = "inet" ] || [ "$ADDRFAM" = "inet6" ] || exit 0

exec /usr/sbin/vzifup-post "$IFACE"
 

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
3,163
364
88
/etc/network/if-up.d/vzifup-post shouldn't be there on newer PVE versions. it might be an upgrade artifact, or you're using a very old version of PVE
 

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
3,163
364
88
Should I just remove this file: "/etc/network/if-up.d/vzifup-post" ?

should be safe to remove on newer PVE versions
 

mcflym

Active Member
Jul 10, 2013
192
8
38
/etc/network/if-up.d/vzifup-post shouldn't be there on newer PVE versions. it might be an upgrade artifact, or you're using a very old version of PVE

yeah, started with pve version 1 or 2 and now I am on 6. So this might be an artifact.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!