Le 03/08/2013 12:50, Christophe a écrit : > Sandro CAZZANIGA a écrit : >> Bonjour, >> >> j'utilise libvirt pour manager mes VMs, et depuis quelques jours, >> impossible démarrer mes VMs, et ce avec l'erreur suivante: >> >> virsh # start Bugzilla >> error: Failed to start domain Bugzilla >> error: Unable to read from monitor: Connexion ré-initialisée par le >> correspondant >> >> >> J'ai restarté libvirt, pas de changement. Et rien de plus dans les logs. >> Enfin, j'utilise Debian Wheesy, libvirt 0.9.12. > > Hello, > > Je ne suis pas avec ces versions, mais je connais quelques causes > possibles à ce message : libvirt n'est effectivement pas très explicite > dans ses messages d'erreur. > > - libvirtd qui ne se lance pas bien, mais si tu arrives sur virsh, peu > de chances. > - Dans un des fichiers xml de définition des VM , le port VNC en conflit > avec un port déjà ouvert pour un autre service.
La valeur du port VNC est à -1, voici le fichier XML si ça peut aider. Merci :) -- Sandro Cazzaniga Jabber: [email protected] Twitter: @Kharec
cat Bugzilla.xml
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit Bugzilla
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>Bugzilla</name>
<uuid>a66976c5-1a26-26b6-0a6b-1e18271b9992</uuid>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>3</vcpu>
<os>
<type arch='x86_64' machine='pc-1.1'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source file='/var/lib/libvirt/images/Bugzilla.img'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</disk>
<disk type='block' device='cdrom'>
<driver name='qemu' type='raw'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<address type='drive' controller='0' bus='1' target='0' unit='0'/>
</disk>
<controller type='usb' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='ide' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<interface type='network'>
<mac address='52:54:00:54:c9:59'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes'/>
<sound model='ich6'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</sound>
<video>
<model type='cirrus' vram='9216' heads='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
</memballoon>
</devices>
</domain>
signature.asc
Description: OpenPGP digital signature

