Proxmox can´t init VM

debi@n

Active Member
Nov 12, 2015
121
1
38
Málaga,Spain
hi, yesterday,the power went out and the system crashed, and proxmox couldn´t boot ,we did

Code:
fsck -y /dev/mapper/pve-root

Then, proxmox booted again, but we can´t init VM.(bios option is enabled of course)

Code:
root@node1/home# qm start 114
Running as unit 114.scope.
kvm: -netdev type=tap,id=net0,ifname=tap114i0,script=/var/lib/qemu-server/pve-br                                                                                        idge,downscript=/var/lib/qemu-server/pve-bridgedown: network script /var/lib/qem                                                                                        u-server/pve-bridge failed with status 256
start failed: command '/usr/bin/systemd-run --scope --slice qemu --unit 114 -p '                                                                                        KillMode=none' -p 'CPUShares=1000' /usr/bin/kvm -id 114 -chardev 'socket,id=qmp,                                                                                        path=/var/run/qemu-server/114.qmp,server,nowait' -mon 'chardev=qmp,mode=control'                                                                                         -vnc unix:/var/run/qemu-server/114.vnc,x509,password -pidfile /var/run/qemu-ser                                                                                        ver/114.pid -daemonize -smbios 'type=1,uuid=b2d5be15-791c-417c-b73e-cd647ce5d674                                                                                        ' -name Stalker -smp '1,sockets=1,cores=1,maxcpus=1' -nodefaults -boot 'menu=on,                                                                                        strict=on,reboot-timeout=1000' -vga cirrus -cpu kvm64,+lahf_lm,+sep,+kvm_pv_unha                                                                                        lt,+kvm_pv_eoi,enforce -m 2048 -k es -device 'pci-bridge,id=pci.2,chassis_nr=2,b                                                                                        us=pci.0,addr=0x1f' -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1                                                                                        e' -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,i                                                                                        d=tablet,bus=uhci.0,port=1' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,ad                                                                                        dr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:92aa3cc7e44f' -drive 'i                                                                                        f=none,id=drive-ide2,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.1,unit=0,d                                                                                        rive=drive-ide2,id=ide2,bootindex=200' -drive 'file=/mnt/pve/NAS/images/114/vm-1                                                                                        14-disk-1.qcow2,if=none,id=drive-ide0,format=qcow2,cache=none,aio=native,detect-                                                                                        zeroes=on' -device 'ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=1                                                                                        00' -netdev 'type=tap,id=net0,ifname=tap114i0,script=/var/lib/qemu-server/pve-br                                                                                        idge,downscript=/var/lib/qemu-server/pve-bridgedown' -device 'e1000,mac=3A:61:31                                                                                        :36:35:30,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'' failed: exit c                                                                                        ode 1

EDITED, i tried too this.
Code:
root@node1:/home# apt-get install --only-upgrade pve-qemu-kvm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  pve-qemu-kvm
1 upgraded, 0 newly installed, 0 to remove and 92 not upgraded.
Need to get 0 B/5,222 kB of archives.
After this operation, 2,137 kB of additional disk space will be used.
Reading changelogs... Done
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 1.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.
dpkg: error: syntax error in triggers deferred file `/var/lib/dpkg/triggers/Unincorp' at character `' midline
E: Sub-process /usr/bin/dpkg returned an error code (2)
any idea? :S
 
Last edited:
Update:

If i delete network device on VM, the VM is started, with network device can´t boot. i don´t know why, yesterday, i was working good with this node and theses VMs
Update2:

Okay, i can´t install nothing with apt-get install,
 
Last edited:
Hi,

try
Code:
dpkg --configure -a
and may by you have to install proxmox-ve again
Code:
apt-get install proxmox-ve
 
  • Like
Reactions: debi@n
Hi, thank you for reply, i had reinstall the system ); i tried first(reinstall the node cluster ) but the procedure doesnt work for me(), i had change the hostname and this worked for me
Code:
pvecm add IPCluster
Procedure:https://pve.proxmox.com/wiki/Proxmox_VE_4.x_Cluster
.however thanks! :D

Hi,

try
Code:
dpkg --configure -a
and may by you have to install proxmox-ve again
Code:
apt-get install proxmox-ve