Hey, Im very new in virtualbox and mwlib, i spend a few hours, solved a lot of issues, but one thing i cant :( :
On my host (Win7) there is a mediawiki running on apache. I run a mwlib render server under Ubuntu 10.04 in Virtualbox. They can can connect bidirectional when i set "Host only adapter". The rendering is beatiful on ubuntu console, but when i try it direct in mediawiki there come an error : "<ur lopen error [Errno 67] request timed out>". When i add a second adapter, this time "nat", the rendering in console works again. In mediawiki direct there is: "HTT P Error 407: Proxy Authorization Required in function system". So i tried to set http_proxy and added Aquire::htt :.... in /etc/apt/apt.conf - it changed nothing. Oh, sorry, it does: rendering in console doenst work anymore :D I think i dont need any proxy between host and guest. So here my questions: 1. Why says NAT "Proxy Authorization Required? i dont want in internet :D 2. Do i need NAT or should Host only be enough? 3. In this "package" there is a webserver (nslave) - if i have only 1 adapter, this hast to be NAT, in other case i cant start him - error : network unreachable. So i started it, changed the adapter - this isnst the best solution, is it ^^? With both adapter i can start him. Sry for the questions, like i said, im very new in such "virtual network things". Would be verys appreciated if someone could help me out here, Regards Here are the full error (without NAT) Auf dem Render-Server ist ein Fehler aufgetreten: RuntimeError: RuntimeError: command failed with returncode 256: ['mw-zip', '-o', '/mwcache/7b/7b776b1e4eaa12ff/collection.zip', '-m', '/mwcache/7b/7b776b1e4eaa12ff/metabook.json', '--status', 'qserve://localhost:14311/7b776b1e4eaa12ff:makezip', '--config', 'http://KEW3Prakt-Z420/mediawiki', '--username', 'tke2', '--password', '{OMITTED}'] Last Output: 1% /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/metabook.py:225: DeprecationWarning: deprecated call get('mw_license_url') if l.get('mw_license_url'): /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/metabook.py:240: DeprecationWarning: deprecated call get('mw_rights_text') if l.get('mw_rights_text'): /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/metabook.py:242: DeprecationWarning: deprecated call get('mw_rights_page') if l.get('mw_rights_page'): /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/metabook.py:244: DeprecationWarning: deprecated call get('mw_rights_url') if l.get('mw_rights_url'): Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/gevent-0.13.8-py2.6-linux-i686.egg/gevent/greenlet.py", line 390, in run result = self._run(*self.args, **self.kwargs) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 114, in run api = self.get_api() File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 28, in get_api api.login(self.username, self.password, self.domain) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/net/sapi.py", line 186, in login res = self._post(**args) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/net/sapi.py", line 106, in _post res = loads(self._fetch(req)) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/net/sapi.py", line 72, in _fetch f = self.opener.open(url) File "/usr/lib/python2.6/urllib2.py", line 391, in open response = self._open(req, data) File "/usr/lib/python2.6/urllib2.py", line 409, in _open '_open', req) File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 1172, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.6/urllib2.py", line 1147, in do_open raise URLError(err) URLError: <urlopen error [Errno 67] request timed out> <Greenlet at 0x890c8ec: <bound method start_fetcher.run of <mwlib.apps.make_nuwiki.start_fetcher object at 0x8938dcc>>> failed with URLError creating nuwiki in u'/mwcache/7b/7b776b1e4eaa12ff/tmpczXWtU/nuwiki' removing tmpdir u'/mwcache/7b/7b776b1e4eaa12ff/tmpczXWtU' memory used: res=11.6 virt=25.2 1% error Traceback (most recent call last): File "/usr/local/bin/mw-zip", line 9, in <module> load_entry_point('mwlib==0.15.11', 'console_scripts', 'mw-zip')() File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/buildzip.py", line 155, in main make_zip(output, options, env.metabook, podclient=podclient, status=status) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/buildzip.py", line 50, in make_zip make_nuwiki(fsdir, metabook=metabook, options=options, podclient=podclient, status=status) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 189, in make_nuwiki pool.join(raise_error=True) File "/usr/local/lib/python2.6/dist-packages/gevent-0.13.8-py2.6-linux-i686.egg/gevent/pool.py", line 101, in join raise greenlet.exception urllib2.URLError: <urlopen error [Errno 67] request timed out> in function system, file /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/nslave.py, line 64 in function qaddw, file /usr/local/lib/python2.6/dist-packages/qserve-0.2.8-py2.6.egg/qs/slave.py, line 66 --- new-collection 1 'http://KEW3Prakt-Z420/mediawiki' 'rl' 2013-11-07T13:20:45 mwlib.serve.info >> render 7b776b1e4eaa12ff rl 192.168.56.1 - - [2013-11-07 13:20:45] "POST / HTTP/1.1" 200 181 0.015044 192.168.56.1 - - [2013-11-07 13:20:45] "POST / HTTP/1.1" 200 196 0.008544 192.168.56.1 - - [2013-11-07 13:20:45] "POST / HTTP/1.1" 200 210 0.004183 With NAT: Auf dem Render-Server ist ein Fehler aufgetreten: RuntimeError: RuntimeError: command failed with returncode 256: ['mw-zip', '-o', '/mwcache/7b/7b776b1e4eaa12ff/collection.zip', '-m', '/mwcache/7b/7b776b1e4eaa12ff/metabook.json', '--status', 'qserve://localhost:14311/7b776b1e4eaa12ff:makezip', '--config', 'http://KEW3Prakt-Z420/mediawiki', '--username', 'tke2', '--password', '{OMITTED}'] Last Output: 1% /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/metabook.py:225: DeprecationWarning: deprecated call get('mw_license_url') if l.get('mw_license_url'): /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/metabook.py:240: DeprecationWarning: deprecated call get('mw_rights_text') if l.get('mw_rights_text'): /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/metabook.py:242: DeprecationWarning: deprecated call get('mw_rights_page') if l.get('mw_rights_page'): /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/metabook.py:244: DeprecationWarning: deprecated call get('mw_rights_url') if l.get('mw_rights_url'): Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/gevent-0.13.8-py2.6-linux-i686.egg/gevent/greenlet.py", line 390, in run result = self._run(*self.args, **self.kwargs) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 114, in run api = self.get_api() File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 28, in get_api api.login(self.username, self.password, self.domain) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/net/sapi.py", line 186, in login res = self._post(**args) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/net/sapi.py", line 106, in _post res = loads(self._fetch(req)) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/net/sapi.py", line 72, in _fetch f = self.opener.open(url) File "/usr/lib/python2.6/urllib2.py", line 397, in open response = meth(req, response) File "/usr/lib/python2.6/urllib2.py", line 510, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.6/urllib2.py", line 435, in error return self._call_chain(*args) File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 407: Proxy Authorization Required <Greenlet at 0x9f058ec: <bound method start_fetcher.run of <mwlib.apps.make_nuwiki.start_fetcher object at 0x9f31dcc>>> failed with HTTPError creating nuwiki in u'/mwcache/7b/7b776b1e4eaa12ff/tmplQj8eF/nuwiki' removing tmpdir u'/mwcache/7b/7b776b1e4eaa12ff/tmplQj8eF' memory used: res=11.6 virt=25.2 1% error Traceback (most recent call last): File "/usr/local/bin/mw-zip", line 9, in <module> load_entry_point('mwlib==0.15.11', 'console_scripts', 'mw-zip')() File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/buildzip.py", line 155, in main make_zip(output, options, env.metabook, podclient=podclient, status=status) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/buildzip.py", line 50, in make_zip make_nuwiki(fsdir, metabook=metabook, options=options, podclient=podclient, status=status) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 189, in make_nuwiki pool.join(raise_error=True) File "/usr/local/lib/python2.6/dist-packages/gevent-0.13.8-py2.6-linux-i686.egg/gevent/pool.py", line 101, in join raise greenlet.exception urllib2.HTTPError: HTTP Error 407: Proxy Authorization Required in function system, file /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/nslave.py, line 64 in function qaddw, file /usr/local/lib/python2.6/dist-packages/qserve-0.2.8-py2.6.egg/qs/slave.py, line 66 -- You received this message because you are subscribed to the Google Groups "mwlib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
