[SOLVED] Error while installing proxmox on Debian 11

JeanBro

Member
Jan 9, 2023
29
1
8
Hello
I tried to install proxmox on Debian 11 and I found those errors
Can someone help me ?
Thank you very much.6EC10351-AE21-4132-9C4F-55B31CC027A8.jpeg
 
  • Like
Reactions: cuii
I follow all the step that is in https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_11_Bullseye
But a the end when I do apt install proxmox-ve postfix open-iscsi it is making the error that you can see in the first screenshot after that I tried to fix the error Sub-process /usr/bin/dpkg returned an error code (1) while doing this command : dpkg --configure -a and it is making the error that you can see in the second screenshot.
Thank you very much for your help
 
Try to reconfigure already installed packages with dpkg-reconfigure ifupdown2 open-iscsi pve-manager proxmox-ve and post the output.
 
Okay, so try to install only the ifupdown2 package via apt install ifupdown2 and post the output.
 
  • Like
Reactions: Stoiko Ivanov
Try dpkg --configure ifupdown2 and check your /etc/network/interfaces. The error suggests that you have no vmbr0? What's the output of brctl show and cat /etc/network/interfaces and /etc/network/interfaces.new
 
So what do I need to do
It seems to me that the ifupdown2 configuration fails because there is no vmbr0 (therefore I asked for brctl show). So either you create the bridge and try the configure again, or you adapt you /etc/network/interfaces
 
It seems to me that the ifupdown2 configuration fails because there is no vmbr0 (therefore I asked for brctl show). So either you create the bridge and try the configure again, or you adapt you /etc/network/interfaces
I make the bridge and I did again apt install proxmox-ve postfix open-iscsi and at the end it put me that FA00C1B5-C30B-4747-88EC-D9B120FA9E17.jpeg
And that is for brctl show : 1B7F599E-560D-47C0-80CF-388B97AC5355.jpeg
 
Last edited:
Okay, so it seems to make progress, as now only the open-iscsi post-install script is unhappy...
Can you perform a systemctl stop iscsid.service followed by a ps aux | grep iscsid. If there are processes other than grep iscsid, try to kill them with killall -9 iscsid and then try to reinstall the package.
 
  • Like
Reactions: JeanBro
Okay, so it seems to make progress, as now only the open-iscsi post-install script is unhappy...
Can you perform a systemctl stop iscsid.service followed by a ps aux | grep iscsid. If there are processes other than grep iscsid, try to kill them with killall -9 iscsid and then try to reinstall the package.
Not working same error
 
According to the error in the log failed to mlockall, exiting... iscsid fails during locking memory pages from being swapped out https://github.com/open-iscsi/open-iscsi/blob/master/usr/iscsid.c#L622

This could be because of low memory or missing permissions. Please check the CapabilityBoundingSet= in the service given by systemctl show iscsid.service, especially for the presence of cap_ipc_lock and also check your current memory usage free -m.
You can also try to invoke the iscsid binary directly and check the output for futher clues /sbin/iscsid -f -d 10

Can you also check the package status dpkg -s open-iscsi