I firstly run xencommons start following, the result is Starting xenstored...FATAL: Failed to open evtchn device: No such file or directory .............................. Could not start xenstored. Then run xend start, no message deplay. And here is the error in the xend.log: [2011-05-14 22:04:09 2227] INFO (SrvDaemon:332) Xend Daemon started [2011-05-14 22:04:09 2227] INFO (SrvDaemon:336) Xend changeset: unavailable. [2011-05-14 22:04:09 2227] DEBUG (tcp:96) Listening on :8002 [2011-05-14 22:04:12 2227] DEBUG (XendNode:332) pscsi record count: 8 [2011-05-14 22:04:12 2227] DEBUG (XendCPUPool:747) recreate_active_pools [2011-05-14 22:04:12 2227] ERROR (SrvDaemon:349) Exception starting xend ((19, ''No such device'')) Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", line 341, in run servers = SrvServer.create() File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvServer.py", line 258, in create root.putChild(''xend'', SrvRoot()) File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py", line 40, in __init__ self.get(name) . . . . /xenstore/xstransact.py", line 307, in Read return complete(path, lambda t: t.read(*args)) File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 361, in complete t = xstransact(path) File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 29, in __init__ self.transaction = xshandle().transaction_start() Error: (19, ''No such device'') The error in the xend-debug.log is: Xend started at Sat May 14 22:04:09 2011. cat: /sys/bus/scsi/devices/host0/vendor: No such file or dir cat: /sys/bus/scsi/devices/host0/model: No such file or dir cat: /sys/bus/scsi/devices/host0/type: No such file or dir cat: /sys/bus/scsi/devices/host0/rev: No such file or dir cat: /sys/bus/scsi/devices/host0/scsi_level: No such file or dir cat: /sys/bus/scsi/devices/host1/vendor: No such file or dir cat: /sys/bus/scsi/devices/host1/model: No such file or dir cat: /sys/bus/scsi/devices/host1/type: No such file or dir cat: /sys/bus/scsi/devices/host1/rev: No such file or dir cat: /sys/bus/scsi/devices/host1/scsi_level: No such file or dir cat: /sys/bus/scsi/devices/host2/vendor: No such file or dir cat: /sys/bus/scsi/devices/host2/model: No such file or dir cat: /sys/bus/scsi/devices/host2/type: No such file or dir cat: /sys/bus/scsi/devices/host2/rev: No such file or dir cat: /sys/bus/scsi/devices/host2/scsi_level: No such file or dir cat: /sys/bus/scsi/devices/host3/vendor: No such file or dir cat: /sys/bus/scsi/devices/host3/model: No such file or dir cat: /sys/bus/scsi/devices/host3/type: No such file or dir cat: /sys/bus/scsi/devices/host3/rev: No such file or dir cat: /sys/bus/scsi/devices/host3/scsi_level: No such file or dir cat: /sys/bus/scsi/devices/target2:0:0/vendor: No such file or dir cat: /sys/bus/scsi/devices/target2:0:0/model: No such file or dir cat: /sys/bus/scsi/devices/target2:0:0/type: No such file or dir cat: /sys/bus/scsi/devices/target2:0:0/rev: No such file or dir cat: /sys/bus/scsi/devices/target2:0:0/scsi_level:No such file or dir cat: /sys/bus/scsi/devices/target2:0:1/vendor: No such file or dir cat: /sys/bus/scsi/devices/target2:0:1/model: No such file or dir cat: /sys/bus/scsi/devices/target2:0:1/type: No such file or dir cat: /sys/bus/scsi/devices/target2:0:1/rev: No such file or dir cat: /sys/bus/scsi/devices/target2:0:1/scsi_level: No such file or dir Exception starting xend: (19, ''No such device'') At last ,run xm list: Error: Unable to connect to xend: No such file or directory. Is xend running? I find a recent bug(bug 361345) likes this issue, but i do not know how to solve it. Thanks. julien _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fan, Huaxiang
2011-May-18 02:08 UTC
RE: [Xen-users] xen4.1 xencommons xend init script issue
I think you should load xen-evtchn module before start xencommons, try to do that if you have compiled xen-evtchn as a module #modprobe xen-evtchn Hope that helps Huaxiang From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of xu Sent: Sunday, May 15, 2011 8:21 PM To: xen-users@lists.xensource.com Subject: [Xen-users] xen4.1 xencommons xend init script issue I firstly run xencommons start following, the result is Starting xenstored...FATAL: Failed to open evtchn device: No such file or directory .............................. Could not start xenstored. Then run xend start, no message deplay. And here is the error in the xend.log: [2011-05-14 22:04:09 2227] INFO (SrvDaemon:332) Xend Daemon started [2011-05-14 22:04:09 2227] INFO (SrvDaemon:336) Xend changeset: unavailable. [2011-05-14 22:04:09 2227] DEBUG (tcp:96) Listening on :8002 [2011-05-14 22:04:12 2227] DEBUG (XendNode:332) pscsi record count: 8 [2011-05-14 22:04:12 2227] DEBUG (XendCPUPool:747) recreate_active_pools [2011-05-14 22:04:12 2227] ERROR (SrvDaemon:349) Exception starting xend ((19, ''No such device'')) Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", line 341, in run servers = SrvServer.create() File "/usr/local/lib/python2.6/di st-packages/xen/xend/server/SrvServer.py", line 258, in create root.putChild(''xend'', SrvRoot()) File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py", line 40, in __init__ self.get(name) . . . . /xenstore/xstransact.py", line 307, in Read return complete(path, lambda t: t.read(*args)) File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 361, in complete t = xstransact(path) File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 29, in __init__ self.transaction = xshandle().transaction_start() Error: (19, ''No such device'') ! The error in the xend-debug.log is: Xend started at Sat May 14 22:04:09 2011. cat: /sys/bus/scsi/devices/host0/vendor: No such file or dir cat: /sys/bus/scsi/devices/host0/model: No such file or dir cat: /sys/bus/scsi/devices/host0/type: No such file or dir cat: /sys/bus/scsi/devices/host0/rev: No such file or dir cat: /sys/bus/scsi/devices/host0/scsi_level: No such file or dir cat: /sys/bus/scsi/devices/host1/vendor: No such file or dir cat: /sys/bus/scsi/devices/host1/model: No such file or dir cat: /sys/bus/scsi/devices/host1/type: No such file or dir cat: /sys/bus/scsi/devices/host1/rev: No such file or dir cat: /sys/bus/scsi/devices/host1/scsi_level: No such file or dir cat: /sys/bus/scsi/devices/host2/vendor: No such file or dir cat: /sys/bus/scsi/devices/host2/model: No such file or dir cat: /sys/bus/scsi/devices/host2/type: No such file or dir cat: /sys/bus/scsi/devices/host2/rev: No such file or dir cat: /sys/bus/sc! si /devices/host2/scsi_level: No such file or dir cat: /sys/bus/scsi/devices/host3/vendor: No such file or dir cat: /sys/bus/scsi/devices/host3/model: No such file or dir cat: /sys/bus/scsi/devices/host3/type: No such file or dir cat: /sys/bus/scsi/devices/host3/rev: No such file or dir cat: /sys/bus/scsi/devices/host3/scsi_level: No such file or dir cat: /sys/bus/scsi/devices/target2:0:0/vendor: No such file or dir cat: /sys/bus/scsi/devices/target2:0:0/model: No such file or dir cat: /sys/bus/scsi/devices/target2:0:0/type: No such file or dir cat: /sys/bus/scsi/devices/target2:0:0/rev: No such file or dir cat: /sys/bus/scsi/devices/target2:0:0/scsi_level:No such file or dir cat: /sys/bus/scsi/devices/target2:0:1/vendor: No such file or dir cat: /sys/bus/scsi/devices/target2:0:1/model: No such file or dir cat: /sys/bus/scsi/devices/target2:0:1/type: No such file or dir cat: /sys/bus/scsi/devices/target2:0:1/rev: No such file or dirc at: /sys/bus/scsi/devices/target2:0:1/scsi_level: No such file or dir Exception starting xend: (19, ''No such device'') At last ,run xm list: Error: Unable to connect to xend: No such file or directory. Is xend running? I find a recent bug(bug 361345) likes this issue, but i do not know how to solve it. Thanks. julien Click here<https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==> to report this email as spam. Protected by Websense Hosted Email Security -- www.websense.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I had this issue and the better way to resolve it 100% was to statically compile into kernel as opposed to using as a module. Thanks Ian From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Fan, Huaxiang Sent: 18 May 2011 03:09 To: xu; xen-users@lists.xensource.com Subject: RE: [Xen-users] xen4.1 xencommons xend init script issue I think you should load xen-evtchn module before start xencommons, try to do that if you have compiled xen-evtchn as a module #modprobe xen-evtchn Hope that helps Huaxiang From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of xu Sent: Sunday, May 15, 2011 8:21 PM To: xen-users@lists.xensource.com Subject: [Xen-users] xen4.1 xencommons xend init script issue I firstly run xencommons start following, the result is Starting xenstored...FATAL: Failed to open evtchn device: No such file or directory .............................. Could not start xenstored. Then run xend start, no message deplay. And here is the error in the xend.log: [2011-05-14 22:04:09 2227] INFO (SrvDaemon:332) Xend Daemon started [2011-05-14 22:04:09 2227] INFO (SrvDaemon:336) Xend changeset: unavailable. [2011-05-14 22:04:09 2227] DEBUG (tcp:96) Listening on :8002 [2011-05-14 22:04:12 2227] DEBUG (XendNode:332) pscsi record count: 8 [2011-05-14 22:04:12 2227] DEBUG (XendCPUPool:747) recreate_active_pools [2011-05-14 22:04:12 2227] ERROR (SrvDaemon:349) Exception starting xend ((19, ''No such device'')) Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", line 341, in run servers = SrvServer.create() File "/usr/local/lib/python2.6/di st-packages/xen/xend/server/SrvServer.py", line 258, in create root.putChild(''xend'', SrvRoot()) File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py", line 40, in __init__ self.get(name) . . . . /xenstore/xstransact.py", line 307, in Read return complete(path, lambda t: t.read(*args)) File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py" , line 361, in complete t = xstransact(path) File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py" , line 29, in __init__ self.transaction = xshandle().transaction_start() Error: (19, ''No such device'') ! The error in the xend-debug.log is: Xend started at Sat May 14 22:04:09 2011. cat: /sys/bus/scsi/devices/host0/vendor: No such file or dir cat: /sys/bus/scsi/devices/host0/model: No such file or dir cat: /sys/bus/scsi/devices/host0/type: No such file or dir cat: /sys/bus/scsi/devices/host0/rev: No such file or dir cat: /sys/bus/scsi/devices/host0/scsi_level: No such file or dir cat: /sys/bus/scsi/devices/host1/vendor: No such file or dir cat: /sys/bus/scsi/devices/host1/model: No such file or dir cat: /sys/bus/scsi/devices/host1/type: No such file or dir cat: /sys/bus/scsi/devices/host1/rev: No such file or dir cat: /sys/bus/scsi/devices/host1/scsi_level: No such file or dir cat: /sys/bus/scsi/devices/host2/vendor: No such file or dir cat: /sys/bus/scsi/devices/host2/model: No such file or dir cat: /sys/bus/scsi/devices/host2/type: No such file or dir cat: /sys/bus/scsi/devices/host2/rev: No such file or dir cat: /sys/bus/sc! si /devices/host2/scsi_level: No such file or dir cat: /sys/bus/scsi/devices/host3/vendor: No such file or dir cat: /sys/bus/scsi/devices/host3/model: No such file or dir cat: /sys/bus/scsi/devices/host3/type: No such file or dir cat: /sys/bus/scsi/devices/host3/rev: No such file or dir cat: /sys/bus/scsi/devices/host3/scsi_level: No such file or dir cat: /sys/bus/scsi/devices/target2:0:0/vendor: No such file or dir cat: /sys/bus/scsi/devices/target2:0:0/model: No such file or dir cat: /sys/bus/scsi/devices/target2:0:0/type: No such file or dir cat: /sys/bus/scsi/devices/target2:0:0/rev: No such file or dir cat: /sys/bus/scsi/devices/target2:0:0/scsi_level:No such file or dir cat: /sys/bus/scsi/devices/target2:0:1/vendor: No such file or dir cat: /sys/bus/scsi/devices/target2:0:1/model: No such file or dir cat: /sys/bus/scsi/devices/target2:0:1/type: No such file or dir cat: /sys/bus/scsi/devices/target2:0:1/rev: No such file or dirc at: /sys/bus/scsi/devices/target2:0:1/scsi_level: No such file or dir Exception starting xend: (19, ''No such device'') At last ,run xm list: Error: Unable to connect to xend: No such file or directory. Is xend running? I find a recent bug(bug 361345) likes this issue, but i do not know how to solve it. Thanks. julien Click here <https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==> to report this email as spam. Protected by Websense Hosted Email Security - www.websense.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users