New VM will not start.

novafreak69

Member
Nov 29, 2019
42
2
13
49
I have a fresh install on some VERY robust software. I am very new to promox but have been using VMware for years... decided to play with promoxin a home lab. this is a fresh install of 6.0-4. I have attempted to build a new Ubuntu VM with booting to an ISO. When I attempt to start the VM after creation I get an error
TASK ERROR: start failed: command '/usr/bin/kvm -id 100 -name PLEX -chardev 'socket,id=qmp,path=/var/run/qemu-server/100.qmp,server,nowait' -mon 'chardev=qmp,mode=control'
-chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5' -mon 'chardev=qmp-event,mode=control' -pidfile /var/run/qemu-server/100.pid -daemonize -smbios 'type=1,uuid=fb6d8c7d-5a56-4777-b1f0-6be4c039f748'
-smp '4,sockets=2,cores=2,maxcpus=4' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vnc unix:/var/run/qemu-server/100.vnc,password
-cpu kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 32768 -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e'
-device 'vmgenid,guid=d57e8b75-ccee-4091-bd75-565c917450a3' -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'VGA,id=vga,bus=pci.0,addr=0x2'
-device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:dd77477626b2'
-drive 'file=/dev/zvol/Pool_1/vm-100-disk-0,if=none,id=drive-ide0,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100'
-drive 'file=/var/lib/vz/template/iso/ubuntu-18.04.1.0-live-server-amd64.iso,if=none,id=drive-ide2,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200'
-netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown'
-device 'vmxnet3,mac=BE:E4:F8:46:4E:4B,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -machine 'type=pc'' failed: exit code 1
 
whats the hardware you did try this on?
the error is sadly not very descriptive...

you could try to start the vm in the foreground to check why it fails
if you want to try, do this:

execute 'qm showcmd ID --pretty' and save that output in a file, e.g. /tmp/vm.sh
edit the command inside by removing the line with '-daemonize'
start the vm with /bin/sh /tmp/vm.sh

the 'real' error should be displayed...
 
Last edited by a moderator:
I am running on a Dell Poweredge R820

When I run that command get:

ERROR: unknown command 'qm shocmd'
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!