<div>Richard,</div>
<div> </div>
<div>1.0  </div>
<div> </div>
<div>Using "virt-manager" console to login into the guest-os and issues the "init 0"</div>
<div> </div>
<div>2.0 </div>
<div> </div>
<div>Once the guest was shutdown, i ran the following command to check the stuats of the guest(s)</div>
<div> <br>2.1 </div>
<p># xm list<br>Error: Device 0 not connected<br>Usage: xm list [options] [Domain, ...]</p>
<p>List information about all/some domains.<br>  -l, --long                     Output all VM details in SXP               <br>  --label                        Include security labels     </p>
<div>2.2</div>
<div> </div>
<div># virsh list<br> Id Name                 State<br>----------------------------------<br>  0 Domain-0             running<br>  2 pranav               blocked<br>  4 prabhas              blocked<br>libvir: Xen Daemon error : internal error domain information incomplete, missing name<br>
<br>2.3</div>
<div># /etc/init.d/xend restart<br>restart xend:                                              [  OK  ]<br> </div>
<div>2.4</div>
<div># xm list<br>Name                                      ID Mem(MiB) VCPUs State   Time(s)<br>Domain-0                                   0      512     2 r-----  21558.2<br>prabhas                                    4      127     1 -b----     29.1<br>
pranav                                     2      511     1 -b----   5105.0<br><br>2.5</div>
<div> </div>
<div># virsh list<br> Id Name                 State<br>----------------------------------<br>  0 Domain-0             running<br>  2 pranav               running<br>  4 prabhas              blocked<br>libvir: Xen error : Domain not found: xenUnifiedDomainLookupByID<br>
 </div>
<div> </div>
<div>2.6</div>
<div> </div>
<div># xm list --long<br>(domain<br>    (domid 0)<br>    (uuid 00000000-0000-0000-0000-000000000000)<br>    (vcpus 2)<br>    (cpu_weight 1.0)  <br>    (memory 513)<br>    (shadow_memory 0) <br>    (maxmem 513)<br>    (features )<br>
    (name Domain-0)   <br>    (on_poweroff destroy)<br>    (on_reboot restart)<br>    (on_crash restart)<br>    (state r-----)<br>    (shutdown_reason poweroff)<br>    (cpu_time 21561.3876054)<br>    (online_vcpus 2)  <br>
)<br>(domain<br>    (domid 4)<br>    (uuid 7db51eef-1452-b99e-9473-fc0589a330ca)<br>    (vcpus 1)<br>    (cpu_weight 1.0)  <br>    (memory 128)<br>    (shadow_memory 0) <br>    (maxmem 256)<br>    (features )<br>    (name def)<br>
    (on_poweroff destroy)<br>    (on_reboot restart)<br>    (on_crash restart)<br>    (image<br>        (linux<br>            (kernel /var/lib/xen/boot_kernel.zBuMFJ)<br>            (ramdisk /var/lib/xen/boot_ramdisk.YYHeU7)<br>
            (args 'ro root=/dev/rootvg/root_lv console=tty console=xvc0,9600n8')<br>        )<br>    )<br>    (device<br>        (vif<br>            (backend 0)<br>            (script vif-bridge)<br>            (ip <a href="http://192.168.122.3">192.168.122.3</a>)<br>
            (mac 00:16:3e:7a:ef:c9)<br>        )<br>    )<br>    (device<br>        (tap<br>            (backend 0)<br>            (dev xvda:disk)<br>            (uname tap:aio:/guestos/def.img)<br>            (mode w)  <br>
        )<br>    )<br>    (state -b----)<br>    (shutdown_reason poweroff)<br>    (cpu_time 29.117509912)<br>    (online_vcpus 1)  <br>    (up_time 5442.33996201)<br>    (start_time 1219848257.23)<br>)<br>(domain<br>    (domid 2)<br>
    (uuid 0dbedfec-cf93-118f-6209-1e62f6f0f0db)<br>    (vcpus 1)<br>    (cpu_weight 1.0)  <br>    (memory 512)<br>    (shadow_memory 0) <br>    (maxmem 1252)<br>    (features )<br>    (name abc)<br>    (on_poweroff destroy)<br>
    (on_reboot restart)<br>    (on_crash restart)<br>    (image<br>        (linux<br>            (ramdisk /var/lib/xen/boot_ramdisk.n6dsY3)<br>            (kernel /var/lib/xen/boot_kernel.WQ20K4)<br>            (args 'ro root=/dev/rootvg/root_lv console=tty console=xvc0,9600n8')<br>
        )<br>    )<br>    (device<br>        (vif<br>            (backend 0)<br>            (script vif-bridge)<br>            (ip <a href="http://192.168.122.2">192.168.122.2</a>)<br>            (mac 00:16:3e:7a:ef:c8)<br>
        )<br>    )<br>    (device<br>        (tap<br>            (backend 0)<br>            (dev xvda:disk)<br>            (uname tap:aio:/guestos/abc.img)<br>            (mode w)  <br>        )<br>    )<br>    (state -b----)<br>
    (shutdown_reason poweroff)<br>    (cpu_time 5105.61669922)<br>    (online_vcpus 1)  <br>    (up_time 130216.548227)<br>    (start_time 1219723483.04)<br>)<br> </div>
<div> </div>
<div>3.0</div>
<div> </div>
<div>/var/log/xen/xend.log:</div>
<div> </div>
<div>[2008-08-27 09:44:37 xend 12004] DEBUG (DevController:476) hotplugStatusCallback /local/domain/0/backend/tap/5/51712/hotplug-status.<br>[2008-08-27 09:44:37 xend 12004] DEBUG (DevController:490) hotplugStatusCallback 1.<br>
[2008-08-27 09:44:37 xend 12004] DEBUG (DevController:143) Waiting for devices vtpm.<br>[2008-08-27 09:44:37 xend 12004] INFO (XendDomain:380) Domain f9 (5) unpaused.<br>[2008-08-27 11:10:39 xend.XendDomainInfo 12004] INFO (XendDomainInfo:947) Domain has shutdown: name=f9 id=5 reason=poweroff.<br>
[2008-08-27 11:10:39 xend.XendDomainInfo 12004] DEBUG (XendDomainInfo:1560) XendDomainInfo.destroy: domid=5<br>[2008-08-27 11:10:39 xend.XendDomainInfo 12004] DEBUG (XendDomainInfo:1568) XendDomainInfo.destroyDomain(5)<br>
[2008-08-27 11:14:09 xend 12003] INFO (SrvDaemon:190) Xend stopped due to signal 15.<br>[2008-08-27 11:14:09 xend 1816] INFO (SrvDaemon:283) Xend Daemon started<br>[2008-08-27 11:14:09 xend 1816] INFO (SrvDaemon:287) Xend changeset: unavailable.<br>
[2008-08-27 11:14:09 xend.XendDomainInfo 1816] DEBUG (XendDomainInfo:222) XendDomainInfo.recreate({'paused': 0, 'cpu_time': 21556121997234L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0, 'mem_kb': 524372L, 'domid': 0, 'max_vcpu_id': 1, 'crashed': 0, 'running': 1, 'maxmem_kb': 4294967292L, 'shutdown': 0, 'online_vcpus': 2, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0})<br>
[2008-08-27 11:14:09 xend.XendDomainInfo 1816] INFO (XendDomainInfo:234) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000.<br>[2008-08-27 11:14:09 xend 1816] DEBUG (XendDomain:163) number of vcpus to use is 0<br>
[2008-08-27 11:14:09 xend.XendDomainInfo 1816] DEBUG (XendDomainInfo:222) XendDomainInfo.recreate({'paused': 0, 'cpu_time': 5104650970621L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0, 'mem_kb': 524092L, 'domid': 2, 'max_vcpu_id': 0, 'crashed': 0, 'running': 0, 'maxmem_kb': 1282048L, 'shutdown': 0, 'online_vcpus': 1, 'handle': [13, 190, 223, 236, 207, 147, 17, 143, 98, 9, 30, 98, 246, 240, 240, 219], 'blocked': 1})<br>
[2008-08-27 11:14:09 xend.XendDomainInfo 1816] INFO (XendDomainInfo:234) Recreating domain 2, UUID 0dbedfec-cf93-118f-6209-1e62f6f0f0db.<br>[2008-08-27 11:14:09 xend.XendDomainInfo 1816] DEBUG (XendDomainInfo:989) XendDomainInfo.handleShutdownWatch<br>
[2008-08-27 11:14:09 xend.XendDomainInfo 1816] DEBUG (XendDomainInfo:222) XendDomainInfo.recreate({'paused': 0, 'cpu_time': 29015390553L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0, 'mem_kb': 130884L, 'domid': 4, 'max_vcpu_id': 0, 'crashed': 0, 'running': 0, 'maxmem_kb': 262144L, 'shutdown': 0, 'online_vcpus': 1, 'handle': [125, 181, 30, 239, 20, 82, 185, 158, 148, 115, 252, 5, 137, 163, 48, 202], 'blocked': 1})<br>
[2008-08-27 11:14:09 xend.XendDomainInfo 1816] INFO (XendDomainInfo:234) Recreating domain 4, UUID 7db51eef-1452-b99e-9473-fc0589a330ca.<br>[2008-08-27 11:14:09 xend 1816] ERROR (XendDomain:208) Cannot recreate information for dying domain 5.  Xend will ignore this domain from now on.<br>
 </div>
<div>...</div>
<div> </div>
<div>[2008-08-27 11:14:09 xend 1816] ERROR (XendDomain:208) Cannot recreate information for dying domain 5.  Xend will ignore this domain from now on.<br>[2008-08-27 11:14:09 xend 1816] DEBUG (XendDomain:208) Cannot recreate information for dying domain 5.  Xend will ignore this domain from now on.<br>
[2008-08-27 11:14:09 xend 1816] INFO (SrvServer:116) unix path=/var/lib/xend/xend-socket<br>[2008-08-27 11:14:09 xend 1816] DEBUG (XendDomain:208) Cannot recreate information for dying domain 5.  Xend will ignore this domain from now on.<br>
[2008-08-27 11:14:09 xend.XendDomainInfo 1816] DEBUG (XendDomainInfo:989) XendDomainInfo.handleShutdownWatch<br>[2008-08-27 11:14:09 xend.XendDomainInfo 1816] DEBUG (XendDomainInfo:989) XendDomainInfo.handleShutdownWatch<br>
 </div>
<div>...</div>
<div>[2008-08-27 11:18:14 xend 1816] DEBUG (XendDomain:208) Cannot recreate information for dying domain 5.  Xend will ignore this domain from now on.<br>[2008-08-27 11:18:14 xend 1816] DEBUG (XendDomain:208) Cannot recreate information for dying domain 5.  Xend will ignore this domain from now on.</div>

<div>....</div>
<div> </div>
<div>4.0</div>
<div>Now i cannot use "virt-manager" to start/stop any guests, Its just un-usable.</div>
<div>4.1</div>
<div>I can use "xm" command to start/stop domains</div>
<div> </div>
<div>5.0</div>
<div>Reboot the system every thing looks loog and all operations are functional.</div>
<div> </div>
<div> </div>
<div>Let me know if you need more information. And thanks for looking into this issue.</div>
<div> </div>
<div> </div>
<div> </div>
<div><span class="gmail_quote">On 8/27/08, <b class="gmail_sendername">Richard W.M. Jones</b> <<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Mon, Aug 25, 2008 at 02:30:37PM -0500, mantra UNIX wrote:<br>>  Hello everyone,<br>><br>>      I get the following error when i try to redtart a domain;<br>
><br>>      # virsh list<br>>      libvir: Xen error : Domain not found: xenUnifiedDomainLookupByID<br>><br>>      I am using RHEL5.2 on i386, I have searched for the error on web<br>>      and on RedHat but could not find any.<br>
<br>The bug report is a bit unclear.  How did you restart the domain?<br>(eg. from inside the guest?  using a virsh command?)  Did you wait<br>after restarting the domain?<br><br>Can you also post the output of:<br><br>xm list --long<br>
<br>Rich.<br><br>--<br>Richard Jones, Emerging Technologies, Red Hat  <a href="http://et.redhat.com/~rjones">http://et.redhat.com/~rjones</a><br>virt-df lists disk usage of guests without needing to install any<br>software inside the virtual machine.  Supports Linux and Windows.<br>
<a href="http://et.redhat.com/~rjones/virt-df/">http://et.redhat.com/~rjones/virt-df/</a><br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>mantra - Instrument of Thought