This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] The new HTML interface....

To: Tom Wilkie <tw275@xxxxxxxxx>
Subject: Re: [Xen-devel] The new HTML interface....
From: Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Date: Tue, 27 Jul 2004 12:18:50 +0100
Cc: "Fredrik Dahlberg" <fdaa@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 27 Jul 2004 12:26:07 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Fri, 23 Jul 2004 17:30:36 BST." <A020672A-DCC5-11D8-822D-000A95C61052@xxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> Just check in a few new features to the new web interface.
> Here are the details.  To start it as a daemon, run
> > mktap web --path /var/xen/sv
> > twistd -nf web.tap
> you 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.SelectReactor
2004/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 8080
2004/07/27 12:17 BST [-] Starting factory <twisted.web.server.Site instance at 
2004/07/27 12:17 BST [-] set uid/gid 0/0
2004/07/27 12:17 BST [HTTPChannel,0,] - - 
[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,] Traceback (most recent call 
          File "/usr/lib/python2.2/site-packages/twisted/protocols/basic.py", 
line 223, in dataReceived
            why = self.lineReceived(line)
          File "/usr/lib/python2.2/site-packages/twisted/protocols/http.py", 
line 965, in lineReceived
          File "/usr/lib/python2.2/site-packages/twisted/protocols/http.py", 
line 1006, in allContentReceived
            req.requestReceived(command, path, version)
          File "/usr/lib/python2.2/site-packages/twisted/protocols/http.py", 
line 557, in requestReceived
        --- <exception caught here> ---
          File "/usr/lib/python2.2/site-packages/twisted/web/server.py", line 
165, in process
          File "/usr/lib/python2.2/site-packages/twisted/web/server.py", line 
172, in render
            body = resrc.render(self)
          File "/usr/lib/python2.2/site-packages/twisted/web/resource.py", line 
201, in render
            return m(request)
          File "/usr/lib/python2.2/site-packages/xen/sv/HTMLBase.py", line 16, 
in render_GET
            self.write_BODY( request )
          File "/usr/lib/python2.2/site-packages/xen/sv/Main.py", line 52, in 
            module( self.mainUrlWriter( modName ) ).write_MENU( request )
          File "/usr/lib/python2.2/site-packages/xen/sv/DomList.py", line 16, 
in write_MENU
            return self.write_BODY( request, head=True, long=False )
          File "/usr/lib/python2.2/site-packages/xen/sv/DomList.py", line 20, 
in write_BODY
            domains = server.xend_domains()
          File "/usr/lib/python2.2/site-packages/xen/xend/XendClient.py", line 
436, in xend_domains
            return self.xendGet(self.domainurl())
          File "/usr/lib/python2.2/site-packages/xen/xend/XendClient.py", line 
377, in xendGet
            return self.client.xendGet(url, args)
          File "/usr/lib/python2.2/site-packages/xen/xend/XendClient.py", line 
152, in xendGet
            return 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, 
          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_request
          File "/usr/lib/python2.2/httplib.py", line 695, in endheaders
          File "/usr/lib/python2.2/httplib.py", line 581, in _send_output
          File "/usr/lib/python2.2/httplib.py", line 548, in send
          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,] - - 
[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"

This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
Xen-devel mailing list