Just did a reinstall of xen by running install.sh inside dist directory, and rebooted dom0, things turned back to normal
xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 3011 8 r----- 134.9
Strange, but must be something i did... Now if the other problem can get resolved, i can put this box aside and concentrate on other servers :p
Hmm.. somehow i am getting this now. Haven't changed any config of xen, and i am in /root, so why it should show that message.
xm list
Error: (9, 'Bad file descriptor')
Usage: xm list [options] [Domain, ...]
List information about all/some domains.
-l, --long Output all VM details in SXP
--label Include security labels
--state=<state> Select only VMs with the specified state
--
regards,
Anand Gupta