The new HTML interface....
How do I start and connect to the new HTML interface?
-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
Sorry about that, its not quite finished yet...
you need to run these commands to get the site to work:
mktap web --path /var/xen/sv
twistd -nf web.tap
you should probably do this from the /var/xen folder, so that the web.tap file isn't visible on the web.
Tom
Quoted 13 lines · Fredrik Dahlberg
How do I start and connect to the new HTML interface?
-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Xen-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
Just check in a few new features to the new web interface.
Here are the details. To start it as a daemon, run
Quoted 2 lines
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...
Cheers
Tom
Quoted 30 lines · Tom Wilkie
Sorry about that, its not quite finished yet...
you need to run these commands to get the site to work:
mktap web --path
/var/xen/sv
twistd -nf web.tapyou should probably do this from the
/var/xenfolder, so that the web.tap file isn't visible on the web.Tom
Quoted 13 lines · Fredrik Dahlberg
How do I start and connect to the new HTML interface?
-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Xen-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
Quoted 10 lines
-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Xen-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
Quoted 8 lines
Just check in a few new features to the new web interface.
Here are the details. To start it as a daemon, run
Quoted 2 lines
mktap web --path
/var/xen/sv
twistd -nf web.tap
Quoted 8 lines
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 0x82bff24>
2004/07/27 12:17 BST [-] set uid/gid 0/0
2004/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 dataReceived
why = self.lineReceived(line)
File "/usr/lib/python2.2/site-packages/twisted/protocols/http.py", line 965, in lineReceived
self.allContentReceived()
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
self.process()
--- <exception caught here> ---
File "/usr/lib/python2.2/site-packages/twisted/web/server.py", line 165, in process
self.render(resrc)
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 write_BODY
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, 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_request
self.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_output
self.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"
-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
Steve
Is 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
Quoted 96 lines · Steven Hand
Quoted 8 lines
Just check in a few new features to the new web interface.
Here are the details. To start it as a daemon, run
Quoted 2 lines
mktap web --path
/var/xen/sv
twistd -nf web.tapQuoted 8 lines
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/python2.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 at0x82bff24>
2004/07/27 12:17 BST [-] set uid/gid 0/0
2004/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 dataReceived
why =self.lineReceived(line)
File
"/usr/lib/python2.2/site-packages/twisted/protocols/http.py", line 965, in lineReceived
self.allContentReceived()
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 requestReceivedself.process() --- <exception caught here> --- File"
/usr/lib/python2.2/site-packages/twisted/web/server.py", line 165, in process
self.render(resrc)
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 renderreturn 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, inwrite_BODYmodule( self.mainUrlWriter( modName ) ).write_MENU( request ) File "/usr/lib/python2.2/site-packages/xen/sv/DomList.py",line 16, in
write_MENU
returnself.write_BODY( request, head=True, long=False )
File "/usr/lib/python2.2/site-packages/xen/sv/DomList.py",
line 20, inwrite_BODY
domains =server.xend_domains()
File
"/usr/lib/python2.2/site-packages/xen/xend/XendClient.py", line 436, inxend_domains
return self.xendGet(self.domainurl())
File
"/usr/lib/python2.2/site-packages/xen/xend/XendClient.py", line 377, in xendGet
returnself.client.xendGet(url, args)
File
"/usr/lib/python2.2/site-packages/xen/xend/XendClient.py", line 152, in xendGet
returnself.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_request self.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_output
self.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')
Quoted 2 lines
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"
-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
Quoted 3 lines
Is xend working on this computer? The actual error is a connection refused, indicating xend is not up.
Doh!
Yup, this was it.
Quoted 3 lines
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.
Cool.
cheers,
S.
-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
Quoted 8 lines
Steve
Is 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.
'
Perhaps we should rename 'sv' to 'xenwwwd' (or similar) and have it start xend automatically if it's not running? In any case, a more helpful error message would be good.
Ian
-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click