Skip to contentSkip to conversation

service xend and libvirtd not start

DISCUSSION Javanshir Farzin 3 participants 3 messages Mar 13, 2012

lore
Share & tools
lore
#0 lore raw

I compile and install  xen 4.1.2 source after that I compile kernel 3.0.21 source and install it on ubuntu 11.10 distribution. I use attached  pdf file to establish xen dom0 kernel but I use kernel 3.0.21 and xen4.1.2
after I boot system then I install a DOMU HVM guest in my system successfully
 xm list  command show DOM0 and DOMU -two item- in my system
but when I want run these commands

root@pc# service xend start
root@pc#

------------------------

root@pc# service xend start
libvirtd: unrecognized service
root@pc# 

please guide me to active xend and libvirtd services.I saw this message in xend.log and xen-debug.log files after this commands:

#  service xend start
---xend.log-------
[2012-03-10 22:40:08
4508] INFO (SrvDaemon:332) Xend Daemon started
[2012-03-10 22:40:08 4508] INFO (SrvDaemon:336) Xend changeset: unavailable.
[2012-03-10 22:40:10 4508] DEBUG (XendNode:332) pscsi record count: 14
[2012-03-10 22:40:10 4508] DEBUG (XendCPUPool:747) recreate_active_pools
[2012-03-10
22:40:10 4508] DEBUG (XendDomainInfo:151)
XendDomainInfo.recreate({'max_vcpu_id': 1, 'cpu_time': 287816201297L,
'ssidref': 0, 'hvm': 0, 'shutdown_reason': 255, 'dying': 0,
'online_vcpus': 2, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1,
'maxmem_kb': 4294967292L, 'shutdown': 0, 'mem_kb': 2457468L, 'blocked':
0, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
'cpupool': 0, 'name': 'Domain-0'})
[2012-03-10 22:40:10 4508] INFO
(XendDomainInfo:169) Recreating domain 0, UUID
00000000-0000-0000-0000-000000000000. at /local/domain/0
[2012-03-10 22:40:10 4508] DEBUG (XendDomain:476) Adding Domain: 0
[2012-03-10 22:40:10 4508] DEBUG
(XendDomainInfo:1881) XendDomainInfo.handleShutdownWatch
[2012-03-10 22:40:10 4508] DEBUG (XendDomain:410) number of vcpus to use is 0
[2012-03-10 22:40:10 4508] INFO (SrvServer:184) unix path=/var/lib/xend/xend-socket
[2012-03-10 22:40:10 4508] WARNING (XendAPI:708) API call: VBD.set_device not found
[2012-03-10 22:40:10 4508] WARNING (XendAPI:708) API call: VBD.set_type not found
[2012-03-10 22:40:10 4508] WARNING (XendAPI:708) API call: session.get_all_records not found [2012-03-10 22:40:10 4508] WARNING (XendAPI:708) API call: event.get_record not found
[2012-03-10 22:40:10 4508] WARNING (XendAPI:708) API call: event.get_all not found
[2012-03-10 22:40:10 4508] WARNING (XendAPI:708) API call: VIF.set_device not found
[2012-03-10 22:40:10 4508] WARNING (XendAPI:708) API call: VIF.set_MAC not found
[2012-03-10 22:40:10 4508] WARNING (XendAPI:708) API call: VIF.set_MTU not found
[2012-03-10 22:40:10 4508] WARNING
(XendAPI:708) API call: debug.get_all not found
[2012-03-10 22:40:10
4508] INFO (XMLRPCServer:161) Opening Unix domain socket XML-RPC server
on /var/run/xend/xen-api.sock; authentication has been disabled for
this server.
[2012-03-10 22:40:10 4508] INFO (XMLRPCServer:161) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock.

---xend-debug.log  -----------

cat: /sys/bus/scsi/devices/target6:0:0/vendor: No such file or directory
cat: /sys/bus/scsi/devices/target6:0:0/model: No such file or directory
cat: /sys/bus/scsi/devices/target6:0:0/type: No such file or directory
cat: /sys/bus/scsi/devices/target6:0:0/rev: No such file or directory
cat: /sys/bus/scsi/devices/target6:0:0/scsi_level: No such file or directory

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw
Quoted 14 lines · Javanshir Farzin

I compile and install xen 4.1.2 source after that I compile kernel 3.0.21 source and install it on ubuntu 11.10 distribution.
I use attached pdf file to establish xen dom0 kernel but I use kernel 3.0.21 and xen4.1.2
after I boot system then I install a DOMU HVM guest in my system successfully
xm list command show DOM0 and DOMU -two item- in my system
but when I want run these commands

root@pc# service xend start
root@pc#

Quoted 6 lines

------------------------
root@pc# service xend start
libvirtd: unrecognized service
root@pc#

please guide me to active xend and libvirtd services.

If you have successfully installed a guest and run "xm list" then xend is already running so you do not need to start it again. Your second command and the resulting message seem inconsistent to me, perhaps they are not the literal cut-and-paste of what happened?

In general questions regarding configuration and setup issues are more suited to the xen-users@ list. xen-devel@ is for the discussion of the development of Xen and reporting of bugs once it has been established one exists. I have changed the CC line appropriately and moved xen-devel and [email protected] to BCC.

Lastly, rather than repeating the same question over and over please consider reasons why it may not have got an answer, e.g. what information you might be missing in order to allow someone to help you, and try to improve the information which you give. You may find
http://wiki.xen.org/wiki/Asking_Xen_Devel_Questions or
http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen helpful for this as will targeting the correct audience (i.e. list).

Ian.

#2 lore raw
In reply to Javanshir Farzin
Quoted 3 lines · Javanshir Farzin

I compile and install  xen 4.1.2 source after that I compile kernel 3.0.21 source and install it on ubuntu 11.10 distribution. I use attached  pdf file to establish xen dom0 kernel but I use kernel 3.0.21 and xen4.1.2

Why don't you just install using the apt-get service?

Quoted 68 lines

after I boot system then I install a DOMU HVM guest in my system successfully xm list  command show DOM0 and DOMU -two item- in my system
but when I want run these commands

root@pc# service xend start
root@pc#

------------------------

root@pc# service xend start
libvirtd: unrecognized service
root@pc# 

please guide me to active xend and libvirtd services.I saw this message in xend.log and xen-debug.log files after this commands:

#  service xend start
---xend.log-------
[2012-03-10 22:40:08
4508] INFO (SrvDaemon:332) Xend Daemon started
[2012-03-10 22:40:08 4508] INFO (SrvDaemon:336) Xend changeset: unavailable.
[2012-03-10 22:40:10 4508] DEBUG (XendNode:332) pscsi record count: 14
[2012-03-10 22:40:10 4508] DEBUG (XendCPUPool:747) recreate_active_pools
[2012-03-10
22:40:10 4508] DEBUG (XendDomainInfo:151)
XendDomainInfo.recreate({'max_vcpu_id': 1, 'cpu_time': 287816201297L,
'ssidref': 0, 'hvm': 0, 'shutdown_reason': 255, 'dying': 0,
'online_vcpus': 2, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1,
'maxmem_kb': 4294967292L, 'shutdown': 0, 'mem_kb': 2457468L, 'blocked':
0, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
'cpupool': 0, 'name': 'Domain-0'})
[2012-03-10 22:40:10 4508] INFO
(XendDomainInfo:169) Recreating domain 0, UUID
00000000-0000-0000-0000-000000000000. at /local/domain/0
[2012-03-10 22:40:10 4508] DEBUG (XendDomain:476) Adding Domain: 0
[2012-03-10 22:40:10 4508] DEBUG
(XendDomainInfo:1881) XendDomainInfo.handleShutdownWatch
[2012-03-10 22:40:10 4508] DEBUG (XendDomain:410) number of vcpus to use is 0
[2012-03-10 22:40:10 4508] INFO (SrvServer:184) unix path=/var/lib/xend/xend-socket
[2012-03-10 22:40:10 4508] WARNING (XendAPI:708) API call: VBD.set_device not found
[2012-03-10 22:40:10 4508] WARNING (XendAPI:708) API call: VBD.set_type not found
[2012-03-10 22:40:10 4508] WARNING (XendAPI:708) API call: session.get_all_records not found [2012-03-10 22:40:10 4508] WARNING (XendAPI:708) API call: event.get_record not found
[2012-03-10 22:40:10 4508] WARNING (XendAPI:708) API call: event.get_all not found
[2012-03-10 22:40:10 4508] WARNING (XendAPI:708) API call: VIF.set_device not found
[2012-03-10 22:40:10 4508] WARNING (XendAPI:708) API call: VIF.set_MAC not found
[2012-03-10 22:40:10 4508] WARNING (XendAPI:708) API call: VIF.set_MTU not found
[2012-03-10 22:40:10 4508] WARNING
(XendAPI:708) API call: debug.get_all not found
[2012-03-10 22:40:10
4508] INFO (XMLRPCServer:161) Opening Unix domain socket XML-RPC server
on /var/run/xend/xen-api.sock; authentication has been disabled for
this server.
[2012-03-10 22:40:10 4508] INFO (XMLRPCServer:161) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock.

---xend-debug.log  -----------

cat: /sys/bus/scsi/devices/target6:0:0/vendor: No such file or directory
cat: /sys/bus/scsi/devices/target6:0:0/model: No such file or directory
cat: /sys/bus/scsi/devices/target6:0:0/type: No such file or directory
cat: /sys/bus/scsi/devices/target6:0:0/rev: No such file or directory
cat: /sys/bus/scsi/devices/target6:0:0/scsi_level: No such file or directory

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel