[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvirt-users
Subject:    Re: [libvirt-users] Error while starting the domain "error: monitor socket did not show up.: Connect
From:       Ravi Pawar <ravifc () gmail ! com>
Date:       2010-10-08 5:55:00
Message-ID: AANLkTimEjsWxXXGiw6V455WfpP7K_5T4UJpZzwqWK9rF () mail ! gmail ! com
[Download RAW message or body]

i could find this in the log file.

LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none
/usr/libexec/qemu-kvm -S -M pc-0.12 -enable-kvm -m 512 -smp
1,sockets=1,cores=1,threads=1 -name tests -uuid
76bc677f-ee5b-ef0b-1d02-72d12785b1d8 -nodefaults -chardev
socket,id=monitor,path=/var/lib/libvirt/qemu/tests.monitor,server,nowait
-mon chardev=monitor,mode=control -no-acpi -boot n -drive
file=/var/lib/libvirt/images/testKVM,if=none,id=drive-ide0-0-0 -device
ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -device
rtl8139,vlan=0,id=net0,mac=52:54:00:a4:0e:ce,bus=pci.0,addr=0x4 -net
tap,fd=18,vlan=0,name=hostnet0 -usb -vnc 127.0.0.1:0 -k en-us -vga cirrus
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
Warning: vlan 0 with no nics
Cannot boot from non-existent NIC

On Wed, Oct 6, 2010 at 4:43 PM, Papp Tamás <tompos@martos.bme.hu> wrote:

>
>  On 2010.10.06. 13:06, Ravi Pawar wrote:
>
>> All,
>>
>> here is my domain xml
>>
>> <domain type='kvm'>
>> <name>tests</name>
>> <uuid>76bc677f-ee5b-ef0b-1d02-72d12785b1d8</uuid>
>> <memory>524288</memory>
>> <currentMemory>524288</currentMemory>
>> <vcpu>1</vcpu>
>> <os>
>> <type arch='x86_64' machine='pc-0.12'>hvm</type>
>> <boot dev='network'/>
>> </os>
>> <clock offset='utc'/>
>> <on_poweroff>destroy</on_poweroff>
>> <on_reboot>restart</on_reboot>
>> <on_crash>destroy</on_crash>
>> <devices>
>> <emulator>/usr/libexec/qemu-kvm</emulator>
>> <disk type='file' device='disk'>
>> <source file='/var/lib/libvirt/images/testKVM'/>
>> <target dev='hda' bus='ide'/>
>> <address type='drive' controller='0' bus='0' unit='0'/>
>> </disk>
>> <controller type='ide' index='0'/>
>> <interface type='network'>
>> <mac address='52:54:00:a4:0e:ce'/>
>> <source network='default'/>
>> <target dev='vnet0'/>
>> </interface>
>> <input type='mouse' bus='ps2'/>
>> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'
>> keymap='en-us'/>
>> <video>
>> <model type='cirrus' vram='9216' heads='1'/>
>> </video>
>> </devices>
>> </domain>
>>
>>
>> my host is RHEL 6 beta.
>> i don't have any clue where i am going wrong in the configuration of the
>> host or configuration of the domain.
>>
>
> Check the logs:
>
> /var/log/libvirt/...
>
> tamas
>



-- 
Thanks & Regards

Ravi Pawar

[Attachment #3 (text/html)]

i could find this in the log file.<br><br>LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin \
QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -S -M pc-0.12 -enable-kvm -m 512 -smp \
1,sockets=1,cores=1,threads=1 -name tests -uuid 76bc677f-ee5b-ef0b-1d02-72d12785b1d8 \
-nodefaults -chardev \
socket,id=monitor,path=/var/lib/libvirt/qemu/tests.monitor,server,nowait -mon \
chardev=monitor,mode=control -no-acpi -boot n -drive \
file=/var/lib/libvirt/images/testKVM,if=none,id=drive-ide0-0-0 -device \
ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -device \
rtl8139,vlan=0,id=net0,mac=52:54:00:a4:0e:ce,bus=pci.0,addr=0x4 -net \
tap,fd=18,vlan=0,name=hostnet0 -usb -vnc <a href="http://127.0.0.1:0" \
target="_blank">127.0.0.1:0</a> -k en-us -vga cirrus -device \
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3<br>



Warning: vlan 0 with no nics<br>Cannot boot from non-existent NIC<br><br><div \
class="gmail_quote">On Wed, Oct 6, 2010 at 4:43 PM, Papp Tamás <span dir="ltr">&lt;<a \
href="mailto:tompos@martos.bme.hu" \
target="_blank">tompos@martos.bme.hu</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px \
solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div><br>  On \
2010.10.06. 13:06, Ravi Pawar wrote:<br> <blockquote class="gmail_quote" \
style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); \
padding-left: 1ex;"> All,<br>
<br>
here is my domain xml<br>
<br>
&lt;domain type=&#39;kvm&#39;&gt;<br>
&lt;name&gt;tests&lt;/name&gt;<br>
&lt;uuid&gt;76bc677f-ee5b-ef0b-1d02-72d12785b1d8&lt;/uuid&gt;<br>
&lt;memory&gt;524288&lt;/memory&gt;<br>
&lt;currentMemory&gt;524288&lt;/currentMemory&gt;<br>
&lt;vcpu&gt;1&lt;/vcpu&gt;<br>
&lt;os&gt;<br>
&lt;type arch=&#39;x86_64&#39; machine=&#39;pc-0.12&#39;&gt;hvm&lt;/type&gt;<br>
&lt;boot dev=&#39;network&#39;/&gt;<br>
&lt;/os&gt;<br>
&lt;clock offset=&#39;utc&#39;/&gt;<br>
&lt;on_poweroff&gt;destroy&lt;/on_poweroff&gt;<br>
&lt;on_reboot&gt;restart&lt;/on_reboot&gt;<br>
&lt;on_crash&gt;destroy&lt;/on_crash&gt;<br>
&lt;devices&gt;<br>
&lt;emulator&gt;/usr/libexec/qemu-kvm&lt;/emulator&gt;<br>
&lt;disk type=&#39;file&#39; device=&#39;disk&#39;&gt;<br>
&lt;source file=&#39;/var/lib/libvirt/images/testKVM&#39;/&gt;<br>
&lt;target dev=&#39;hda&#39; bus=&#39;ide&#39;/&gt;<br>
&lt;address type=&#39;drive&#39; controller=&#39;0&#39; bus=&#39;0&#39; \
unit=&#39;0&#39;/&gt;<br> &lt;/disk&gt;<br>
&lt;controller type=&#39;ide&#39; index=&#39;0&#39;/&gt;<br>
&lt;interface type=&#39;network&#39;&gt;<br>
&lt;mac address=&#39;52:54:00:a4:0e:ce&#39;/&gt;<br>
&lt;source network=&#39;default&#39;/&gt;<br>
&lt;target dev=&#39;vnet0&#39;/&gt;<br>
&lt;/interface&gt;<br>
&lt;input type=&#39;mouse&#39; bus=&#39;ps2&#39;/&gt;<br>
&lt;graphics type=&#39;vnc&#39; port=&#39;-1&#39; autoport=&#39;yes&#39; \
listen=&#39;127.0.0.1&#39; keymap=&#39;en-us&#39;/&gt;<br> &lt;video&gt;<br>
&lt;model type=&#39;cirrus&#39; vram=&#39;9216&#39; heads=&#39;1&#39;/&gt;<br>
&lt;/video&gt;<br>
&lt;/devices&gt;<br>
&lt;/domain&gt;<br>
<br>
<br>
my host is RHEL 6 beta.<br>
i don&#39;t have any clue where i am going wrong in the configuration of the host or \
configuration of the domain.<br> </blockquote>
<br></div></div>
Check the logs:<br>
<br>
/var/log/libvirt/...<br>
<br>
tamas<br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks &amp; Regards<br><br>Ravi \
Pawar<br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic