Richard,
 
1.0  
 
Using "virt-manager" console to login into the guest-os and issues the "init 0"
 
2.0
 
Once the guest was shutdown, i ran the following command to check the stuats of the guest(s)
 
2.1

# xm list
Error: Device 0 not connected
Usage: xm list [options] [Domain, ...]

List information about all/some domains.
  -l, --long                     Output all VM details in SXP              
  --label                        Include security labels    

2.2
 
# virsh list
 Id Name                 State
----------------------------------
  0 Domain-0             running
  2 pranav               blocked
  4 prabhas              blocked
libvir: Xen Daemon error : internal error domain information incomplete, missing name

2.3
# /etc/init.d/xend restart
restart xend:                                              [  OK  ]
 
2.4
# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0      512     2 r-----  21558.2
prabhas                                    4      127     1 -b----     29.1
pranav                                     2      511     1 -b----   5105.0

2.5
 
# virsh list
 Id Name                 State
----------------------------------
  0 Domain-0             running
  2 pranav               running
  4 prabhas              blocked
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByID
 
 
2.6
 
# xm list --long
(domain
    (domid 0)
    (uuid 00000000-0000-0000-0000-000000000000)
    (vcpus 2)
    (cpu_weight 1.0) 
    (memory 513)
    (shadow_memory 0)
    (maxmem 513)
    (features )
    (name Domain-0)  
    (on_poweroff destroy)
    (on_reboot restart)
    (on_crash restart)
    (state r-----)
    (shutdown_reason poweroff)
    (cpu_time 21561.3876054)
    (online_vcpus 2) 
)
(domain
    (domid 4)
    (uuid 7db51eef-1452-b99e-9473-fc0589a330ca)
    (vcpus 1)
    (cpu_weight 1.0) 
    (memory 128)
    (shadow_memory 0)
    (maxmem 256)
    (features )
    (name def)
    (on_poweroff destroy)
    (on_reboot restart)
    (on_crash restart)
    (image
        (linux
            (kernel /var/lib/xen/boot_kernel.zBuMFJ)
            (ramdisk /var/lib/xen/boot_ramdisk.YYHeU7)
            (args 'ro root=/dev/rootvg/root_lv console=tty console=xvc0,9600n8')
        )
    )
    (device
        (vif
            (backend 0)
            (script vif-bridge)
            (ip 192.168.122.3)
            (mac 00:16:3e:7a:ef:c9)
        )
    )
    (device
        (tap
            (backend 0)
            (dev xvda:disk)
            (uname tap:aio:/guestos/def.img)
            (mode w) 
        )
    )
    (state -b----)
    (shutdown_reason poweroff)
    (cpu_time 29.117509912)
    (online_vcpus 1) 
    (up_time 5442.33996201)
    (start_time 1219848257.23)
)
(domain
    (domid 2)
    (uuid 0dbedfec-cf93-118f-6209-1e62f6f0f0db)
    (vcpus 1)
    (cpu_weight 1.0) 
    (memory 512)
    (shadow_memory 0)
    (maxmem 1252)
    (features )
    (name abc)
    (on_poweroff destroy)
    (on_reboot restart)
    (on_crash restart)
    (image
        (linux
            (ramdisk /var/lib/xen/boot_ramdisk.n6dsY3)
            (kernel /var/lib/xen/boot_kernel.WQ20K4)
            (args 'ro root=/dev/rootvg/root_lv console=tty console=xvc0,9600n8')
        )
    )
    (device
        (vif
            (backend 0)
            (script vif-bridge)
            (ip 192.168.122.2)
            (mac 00:16:3e:7a:ef:c8)
        )
    )
    (device
        (tap
            (backend 0)
            (dev xvda:disk)
            (uname tap:aio:/guestos/abc.img)
            (mode w) 
        )
    )
    (state -b----)
    (shutdown_reason poweroff)
    (cpu_time 5105.61669922)
    (online_vcpus 1) 
    (up_time 130216.548227)
    (start_time 1219723483.04)
)
 
 
3.0
 
/var/log/xen/xend.log:
 
[2008-08-27 09:44:37 xend 12004] DEBUG (DevController:476) hotplugStatusCallback /local/domain/0/backend/tap/5/51712/hotplug-status.
[2008-08-27 09:44:37 xend 12004] DEBUG (DevController:490) hotplugStatusCallback 1.
[2008-08-27 09:44:37 xend 12004] DEBUG (DevController:143) Waiting for devices vtpm.
[2008-08-27 09:44:37 xend 12004] INFO (XendDomain:380) Domain f9 (5) unpaused.
[2008-08-27 11:10:39 xend.XendDomainInfo 12004] INFO (XendDomainInfo:947) Domain has shutdown: name=f9 id=5 reason=poweroff.
[2008-08-27 11:10:39 xend.XendDomainInfo 12004] DEBUG (XendDomainInfo:1560) XendDomainInfo.destroy: domid=5
[2008-08-27 11:10:39 xend.XendDomainInfo 12004] DEBUG (XendDomainInfo:1568) XendDomainInfo.destroyDomain(5)
[2008-08-27 11:14:09 xend 12003] INFO (SrvDaemon:190) Xend stopped due to signal 15.
[2008-08-27 11:14:09 xend 1816] INFO (SrvDaemon:283) Xend Daemon started
[2008-08-27 11:14:09 xend 1816] INFO (SrvDaemon:287) Xend changeset: unavailable.
[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})
[2008-08-27 11:14:09 xend.XendDomainInfo 1816] INFO (XendDomainInfo:234) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000.
[2008-08-27 11:14:09 xend 1816] DEBUG (XendDomain:163) number of vcpus to use is 0
[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})
[2008-08-27 11:14:09 xend.XendDomainInfo 1816] INFO (XendDomainInfo:234) Recreating domain 2, UUID 0dbedfec-cf93-118f-6209-1e62f6f0f0db.
[2008-08-27 11:14:09 xend.XendDomainInfo 1816] DEBUG (XendDomainInfo:989) XendDomainInfo.handleShutdownWatch
[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})
[2008-08-27 11:14:09 xend.XendDomainInfo 1816] INFO (XendDomainInfo:234) Recreating domain 4, UUID 7db51eef-1452-b99e-9473-fc0589a330ca.
[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.
 
...
 
[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.
[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.
[2008-08-27 11:14:09 xend 1816] INFO (SrvServer:116) unix path=/var/lib/xend/xend-socket
[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.
[2008-08-27 11:14:09 xend.XendDomainInfo 1816] DEBUG (XendDomainInfo:989) XendDomainInfo.handleShutdownWatch
[2008-08-27 11:14:09 xend.XendDomainInfo 1816] DEBUG (XendDomainInfo:989) XendDomainInfo.handleShutdownWatch
 
...
[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.
[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.
....
 
4.0
Now i cannot use "virt-manager" to start/stop any guests, Its just un-usable.
4.1
I can use "xm" command to start/stop domains
 
5.0
Reboot the system every thing looks loog and all operations are functional.
 
 
Let me know if you need more information. And thanks for looking into this issue.
 
 
 
On 8/27/08, Richard W.M. Jones <rjones@redhat.com> wrote:
On Mon, Aug 25, 2008 at 02:30:37PM -0500, mantra UNIX wrote:
>  Hello everyone,
>
>      I get the following error when i try to redtart a domain;
>
>      # virsh list
>      libvir: Xen error : Domain not found: xenUnifiedDomainLookupByID
>
>      I am using RHEL5.2 on i386, I have searched for the error on web
>      and on RedHat but could not find any.

The bug report is a bit unclear.  How did you restart the domain?
(eg. from inside the guest?  using a virsh command?)  Did you wait
after restarting the domain?

Can you also post the output of:

xm list --long

Rich.

--
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/



--
Regards,
mantra - Instrument of Thought