[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] The new HTML interface....
SteveIs xend working on this computer? The actual error is a connection refused, indicating xend is not up. The new commands (not quite checked in yet) for the interface will be 'sv start' and 'sv stop', to make things easier. Also gets rid of these .tap files. Cheers Tom On 27 Jul 2004, at 12:18, Steven Hand wrote: Just check in a few new features to the new web interface. Here are the details. To start it as a daemon, runmktap web --path /var/xen/sv twistd -nf web.tapyou only need to run the mktap command once - infact, I'll include it in the repo next week. the website is then available on port 8080, the main bit being called Main.rpy The code to shutdown / reboot the Node has been commented out, so feel free to click the buttons...So just installed the newest version and started it up and attached to commando-0:8080/Main.rpy -- following error death: [root@commando-0 root]# twistd -nf web.tap 2004/07/27 12:17 BST [-] Log opened.2004/07/27 12:17 BST [-] twistd 1.3.0rc1 (/usr/bin/python 2.2.2) starting up 2004/07/27 12:17 BST [-] reactor class: twisted.internet.default.SelectReactor2004/07/27 12:17 BST [-] Loading web.tap... 2004/07/27 12:17 BST [-] Loaded. 2004/07/27 12:17 BST [-] twisted.web.server.Site starting on 80802004/07/27 12:17 BST [-] Starting factory <twisted.web.server.Site instance at 0x82bff24>2004/07/27 12:17 BST [-] set uid/gid 0/02004/07/27 12:17 BST [HTTPChannel,0,128.232.32.126] 128.232.32.126 - - [27/Jul/2004:11:17:59 +0000] "GET / HTTP/1.1" 200 1133 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8" 2004/07/27 12:18 BST [HTTPChannel,0,128.232.32.126] Traceback (most recent call last): File "/usr/lib/python2.2/site-packages/twisted/protocols/basic.py", line 223, in dataReceivedwhy = self.lineReceived(line)File "/usr/lib/python2.2/site-packages/twisted/protocols/http.py", line 965, in lineReceivedself.allContentReceived()File "/usr/lib/python2.2/site-packages/twisted/protocols/http.py", line 1006, in allContentReceivedreq.requestReceived(command, path, version)File "/usr/lib/python2.2/site-packages/twisted/protocols/http.py", line 557, in requestReceivedself.process() --- <exception caught here> ---File "/usr/lib/python2.2/site-packages/twisted/web/server.py", line 165, in processself.render(resrc)File "/usr/lib/python2.2/site-packages/twisted/web/server.py", line 172, in renderbody = resrc.render(self)File "/usr/lib/python2.2/site-packages/twisted/web/resource.py", line 201, in renderreturn m(request)File "/usr/lib/python2.2/site-packages/xen/sv/HTMLBase.py", line 16, in render_GETself.write_BODY( request )File "/usr/lib/python2.2/site-packages/xen/sv/Main.py", line 52, in write_BODY module( self.mainUrlWriter( modName ) ).write_MENU( request ) File "/usr/lib/python2.2/site-packages/xen/sv/DomList.py", line 16, in write_MENUreturn self.write_BODY( request, head=True, long=False )File "/usr/lib/python2.2/site-packages/xen/sv/DomList.py", line 20, in write_BODYdomains = server.xend_domains()File "/usr/lib/python2.2/site-packages/xen/xend/XendClient.py", line 436, in xend_domainsreturn self.xendGet(self.domainurl())File "/usr/lib/python2.2/site-packages/xen/xend/XendClient.py", line 377, in xendGetreturn self.client.xendGet(url, args)File "/usr/lib/python2.2/site-packages/xen/xend/XendClient.py", line 152, in xendGetreturn self.xendRequest(url, "GET", args)File "/usr/lib/python2.2/site-packages/xen/xend/XendClient.py", line 212, in xendRequest conn.request(method, url.fullpath(), self.request.data, self.request.headers)File "/usr/lib/python2.2/httplib.py", line 701, in request self._send_request(method, url, body, headers)File "/usr/lib/python2.2/httplib.py", line 723, in _send_requestself.endheaders() File "/usr/lib/python2.2/httplib.py", line 695, in endheaders self._send_output()File "/usr/lib/python2.2/httplib.py", line 581, in _send_outputself.send(msg) File "/usr/lib/python2.2/httplib.py", line 548, in send self.connect() File "/usr/lib/python2.2/httplib.py", line 532, in connect raise socket.error, msg socket.error: (111, 'Connection refused')2004/07/27 12:18 BST [HTTPChannel,0,128.232.32.126] 128.232.32.126 - - [27/Jul/2004:11:18:01 +0000] "GET /Main.rpy HTTP/1.1" 500 31907 "http://commando-0.xeno.cl.cam.ac.uk:8080/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8"
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |