When tried to start the VM after I removed qemu-system, syslog entries are as follows.
Mar 5 13:09:48 XXXXXXXXX pvedaemon[985973]: start VM 100: UPID:XXXXXXXXX:000F0B75:021EAF2A:4F54BB1C:qmstart:100:root@pam:
Mar 5 13:09:48 XXXXXXXXX pvedaemon[985139]: <root@pam> starting task UPID:XXXXXXXXX:000F0B75:021EAF2A:4F54BB1C:qmstart:100:root@pam:
Mar 5 13:09:48 XXXXXXXXX kernel: device tap100i0 entered promiscuous mode
Mar 5 13:09:48 XXXXXXXXX kernel: vmbr0: port 2(tap100i0) entering forwarding state
Mar 5 13:09:48 XXXXXXXXX kernel: New device tap100i0 does not support netpoll
Mar 5 13:09:48 XXXXXXXXX kernel: Disabling netpoll for vmbr0
Mar 5 13:09:48 XXXXXXXXX pvedaemon[985973]: start failed: command '/usr/bin/kvm -id 100 -chardev 'socket,id=monitor,path=/var/run/qemu-server/100.mon,server,nowait' -mon 'chardev=monitor,mode=readline' -vnc unix:/var/run/qemu-server/100.vnc,x509,password -pidfile /var/run/qemu-server/100.pid -daemonize -usbdevice tablet -name XP -smp 'sockets=1,cores=2' -nodefaults -boot 'menu=on' -vga cirrus -localtime -rtc-td-hack -k en-us -drive 'file=/var/lib/vz/template/iso/virtio-win-0.1-22.iso,if=none,id=drive-ide2,media=cdrom,aio=native' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -drive 'file=/var/lib/vz/images/100/vm-100-disk-1.raw,if=none,id=drive-ide0,aio=native,cache=none' -device 'ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100' -m 2048 -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,vhost=on' -device 'virtio-net-pci,mac=42:E0:16:2B:BD:E7,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'' failed: exit code 1
Mar 5 13:09:48 XXXXXXXXX kernel: vmbr0: port 2(tap100i0) entering disabled state
Mar 5 13:09:48 XXXXXXXXX pvedaemon[985139]: <root@pam> end task UPID:XXXXXXXXX:000F0B75:021EAF2A:4F54BB1C:qmstart:100:root@pam: start failed: command '/usr/bin/kvm -id 100 -chardev 'socket,id=monitor,path=/var/run/qemu-server/100.mon,server,nowait' -mon 'chardev=monitor,mode=readline' -vnc unix:/var/run/qemu-server/100.vnc,x509,password -pidfile /var/run/qemu-server/100.pid -daemonize -usbdevice tablet -name XP -smp 'sockets=1,cores=2' -nodefaults -boot 'menu=on' -vga cirrus -localtime -rtc-td-hack -k en-us -drive 'file=/var/lib/vz/template/iso/virtio-win-0.1-22.iso,if=none,id=drive-ide2,media=cdrom,aio=native' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -drive 'file=/var/lib/vz/images/100/vm-100-disk-1.raw,if=none,id=drive-ide0,aio=native,cache=none' -device 'ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100' -m 2048 -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,vhost=on' -device 'virtio-net-pci,mac=42:E0:16:2B:BD:E7,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'' failed: exit code 1
Mar 5 13:09:48 XXXXXXXXX avahi-daemon[1507]: Withdrawing workstation service for tap100i0.
Mar 5 13:09:48 XXXXXXXXX kernel: vmbr0: port 2(tap100i0) entering disabled state
Mar 5 13:09:49 XXXXXXXXX pvedaemon[986000]: starting vnc proxy UPID:XXXXXXXXX:000F0B90:021EAF91:4F54BB1D:vncproxy:100:root@pam:
Mar 5 13:09:49 XXXXXXXXX pvedaemon[985189]: <root@pam> starting task UPID:XXXXXXXXX:000F0B90:021EAF91:4F54BB1D:vncproxy:100:root@pam:
Mar 5 13:09:55 XXXXXXXXX pvedaemon[986000]: command '/bin/nc -l -p 5901 -w 10 -c '/usr/sbin/qm vncproxy 100 2>/dev/null'' failed: exit code 111
Mar 5 13:09:55 XXXXXXXXX pvedaemon[985189]: <root@pam> end task UPID:XXXXXXXXX:000F0B90:021EAF91:4F54BB1D:vncproxy:100:root@pam: command '/bin/nc -l -p 5901 -w 10 -c '/usr/sbin/qm vncproxy 100 2>/dev/null'' failed: exit code 111
Also, here's the output from dpkg and aptitude when removing and then adding qemu-system.
root@XXXXXXXXX:/var/lib/vz/template/iso# dpkg -r qemu-system
(Reading database ... 143252 files and directories currently installed.)
Removing qemu-system ...
Processing triggers for man-db ...
root@XXXXXXXXX:/var/lib/vz/template/iso# aptitude install qemu-system
The following NEW packages will be installed:
qemu-system qemu-utils{a}
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/14.4 MB of archives. After unpacking 39.9 MB will be used.
Do you want to continue? [Y/n/?] y
Selecting previously deselected package qemu-system.
(Reading database ... 143193 files and directories currently installed.)
Unpacking qemu-system (from .../qemu-system_0.12.5+dfsg-3squeeze1_amd64.deb) ...
Unpacking qemu-utils (from .../qemu-utils_0.12.5+dfsg-3squeeze1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/qemu-utils_0.12.5+dfsg-3squeeze1_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man8/qemu-nbd.8.gz', which is also in package pve-qemu-kvm 1.0-5
configured to not write apport reports
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/qemu-utils_0.12.5+dfsg-3squeeze1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up qemu-system (0.12.5+dfsg-3squeeze1) ...
update-alternatives: using /usr/bin/qemu-system-i386 to provide /usr/bin/qemu (qemu) in auto mode.
Mar 5 13:09:48 XXXXXXXXX pvedaemon[985973]: start VM 100: UPID:XXXXXXXXX:000F0B75:021EAF2A:4F54BB1C:qmstart:100:root@pam:
Mar 5 13:09:48 XXXXXXXXX pvedaemon[985139]: <root@pam> starting task UPID:XXXXXXXXX:000F0B75:021EAF2A:4F54BB1C:qmstart:100:root@pam:
Mar 5 13:09:48 XXXXXXXXX kernel: device tap100i0 entered promiscuous mode
Mar 5 13:09:48 XXXXXXXXX kernel: vmbr0: port 2(tap100i0) entering forwarding state
Mar 5 13:09:48 XXXXXXXXX kernel: New device tap100i0 does not support netpoll
Mar 5 13:09:48 XXXXXXXXX kernel: Disabling netpoll for vmbr0
Mar 5 13:09:48 XXXXXXXXX pvedaemon[985973]: start failed: command '/usr/bin/kvm -id 100 -chardev 'socket,id=monitor,path=/var/run/qemu-server/100.mon,server,nowait' -mon 'chardev=monitor,mode=readline' -vnc unix:/var/run/qemu-server/100.vnc,x509,password -pidfile /var/run/qemu-server/100.pid -daemonize -usbdevice tablet -name XP -smp 'sockets=1,cores=2' -nodefaults -boot 'menu=on' -vga cirrus -localtime -rtc-td-hack -k en-us -drive 'file=/var/lib/vz/template/iso/virtio-win-0.1-22.iso,if=none,id=drive-ide2,media=cdrom,aio=native' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -drive 'file=/var/lib/vz/images/100/vm-100-disk-1.raw,if=none,id=drive-ide0,aio=native,cache=none' -device 'ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100' -m 2048 -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,vhost=on' -device 'virtio-net-pci,mac=42:E0:16:2B:BD:E7,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'' failed: exit code 1
Mar 5 13:09:48 XXXXXXXXX kernel: vmbr0: port 2(tap100i0) entering disabled state
Mar 5 13:09:48 XXXXXXXXX pvedaemon[985139]: <root@pam> end task UPID:XXXXXXXXX:000F0B75:021EAF2A:4F54BB1C:qmstart:100:root@pam: start failed: command '/usr/bin/kvm -id 100 -chardev 'socket,id=monitor,path=/var/run/qemu-server/100.mon,server,nowait' -mon 'chardev=monitor,mode=readline' -vnc unix:/var/run/qemu-server/100.vnc,x509,password -pidfile /var/run/qemu-server/100.pid -daemonize -usbdevice tablet -name XP -smp 'sockets=1,cores=2' -nodefaults -boot 'menu=on' -vga cirrus -localtime -rtc-td-hack -k en-us -drive 'file=/var/lib/vz/template/iso/virtio-win-0.1-22.iso,if=none,id=drive-ide2,media=cdrom,aio=native' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -drive 'file=/var/lib/vz/images/100/vm-100-disk-1.raw,if=none,id=drive-ide0,aio=native,cache=none' -device 'ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100' -m 2048 -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,vhost=on' -device 'virtio-net-pci,mac=42:E0:16:2B:BD:E7,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'' failed: exit code 1
Mar 5 13:09:48 XXXXXXXXX avahi-daemon[1507]: Withdrawing workstation service for tap100i0.
Mar 5 13:09:48 XXXXXXXXX kernel: vmbr0: port 2(tap100i0) entering disabled state
Mar 5 13:09:49 XXXXXXXXX pvedaemon[986000]: starting vnc proxy UPID:XXXXXXXXX:000F0B90:021EAF91:4F54BB1D:vncproxy:100:root@pam:
Mar 5 13:09:49 XXXXXXXXX pvedaemon[985189]: <root@pam> starting task UPID:XXXXXXXXX:000F0B90:021EAF91:4F54BB1D:vncproxy:100:root@pam:
Mar 5 13:09:55 XXXXXXXXX pvedaemon[986000]: command '/bin/nc -l -p 5901 -w 10 -c '/usr/sbin/qm vncproxy 100 2>/dev/null'' failed: exit code 111
Mar 5 13:09:55 XXXXXXXXX pvedaemon[985189]: <root@pam> end task UPID:XXXXXXXXX:000F0B90:021EAF91:4F54BB1D:vncproxy:100:root@pam: command '/bin/nc -l -p 5901 -w 10 -c '/usr/sbin/qm vncproxy 100 2>/dev/null'' failed: exit code 111
Also, here's the output from dpkg and aptitude when removing and then adding qemu-system.
root@XXXXXXXXX:/var/lib/vz/template/iso# dpkg -r qemu-system
(Reading database ... 143252 files and directories currently installed.)
Removing qemu-system ...
Processing triggers for man-db ...
root@XXXXXXXXX:/var/lib/vz/template/iso# aptitude install qemu-system
The following NEW packages will be installed:
qemu-system qemu-utils{a}
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/14.4 MB of archives. After unpacking 39.9 MB will be used.
Do you want to continue? [Y/n/?] y
Selecting previously deselected package qemu-system.
(Reading database ... 143193 files and directories currently installed.)
Unpacking qemu-system (from .../qemu-system_0.12.5+dfsg-3squeeze1_amd64.deb) ...
Unpacking qemu-utils (from .../qemu-utils_0.12.5+dfsg-3squeeze1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/qemu-utils_0.12.5+dfsg-3squeeze1_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man8/qemu-nbd.8.gz', which is also in package pve-qemu-kvm 1.0-5
configured to not write apport reports
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/qemu-utils_0.12.5+dfsg-3squeeze1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up qemu-system (0.12.5+dfsg-3squeeze1) ...
update-alternatives: using /usr/bin/qemu-system-i386 to provide /usr/bin/qemu (qemu) in auto mode.
Last edited: