Comments (14)
Sorry, this is Ubu 8.10 Server without GUI. Vbox runs totally headless.
Original comment by [email protected]
on 7 Oct 2009 at 2:48
- Added labels: ****
- Removed labels: ****
from vboxweb.
Try:
export VBOX_INSTALL_PATH=/usr/lib/virtualbox/
Original comment by jshwright
on 7 Oct 2009 at 4:59
- Added labels: ****
- Removed labels: ****
from vboxweb.
ok thanks for responding, I did as suggested,but this failed as the main user
becuase
of permissions, so I did this:
sudo su
export VBOX_INSTALL_PATH=/usr/lib/virtualbox/
cd /usr/lib/virtualbox/sdk/install/
python2.6 vboxapisetup.py install
exit
and it seems to take. However when I return to:
~/vboxweb-read-only
and execute:
python2.6 VBoxWebSrv.py
I get:
Traceback (most recent call last):
File "VBoxWebSrv.py", line 516, in <module>
g_virtualBoxManager = vboxapi.VirtualBoxManager(None, None)
File "/home/sparcsadmin/python/2.6/lib/python2.6/site-
packages/vboxapi/__init__.py", line 471, in __init__
exec "self.platform = Platform"+style+"(platparams)"
File "<string>", line 1, in <module>
File "/home/sparcsadmin/python/2.6/lib/python2.6/site-
packages/vboxapi/__init__.py", line 318, in __init__
import xpcom.vboxxpcom
ImportError: No module named xpcom.vboxxpcom
Ready for whatever is suggested next, I am at loss to sort it on my own....
Franco
Original comment by [email protected]
on 7 Oct 2009 at 7:53
- Added labels: ****
- Removed labels: ****
from vboxweb.
More info:
When I did the sdk install here was the output:
sparcsadmin@smapp02:~/vboxweb-read-only$ sudo su
root@smapp02:/home/sparcsadmin/vboxweb-read-only# export
VBOX_INSTALL_PATH=/usr/lib/virtualbox/
root@smapp02:/home/sparcsadmin/vboxweb-read-only# cd
/usr/lib/virtualbox/sdk/install/
root@smapp02:/usr/lib/virtualbox/sdk/install# python2.6 vboxapisetup.py install
running install
running build
running build_py
copying vboxapi/__init__.py -> build/lib/vboxapi
running install_lib
copying build/lib/vboxapi/__init__.py ->
/home/sparcsadmin/python/2.6/lib/python2.6/site-packages/vboxapi
byte-compiling /home/sparcsadmin/python/2.6/lib/python2.6/site-
packages/vboxapi/__init__.py to __init__.pyc
running install_egg_info
Removing /home/sparcsadmin/python/2.6/lib/python2.6/site-packages/vboxapi-1.0-
py2.6.egg-info
Writing /home/sparcsadmin/python/2.6/lib/python2.6/site-packages/vboxapi-1.0-
py2.6.egg-info
I had to run it a second time to get output so I think the Removing line is
becuase
it was the second time....
Original comment by [email protected]
on 7 Oct 2009 at 7:58
- Added labels: ****
- Removed labels: ****
from vboxweb.
FYI: Trying to start vboxweb as root resulted in same error as above.
Original comment by [email protected]
on 7 Oct 2009 at 8:02
- Added labels: ****
- Removed labels: ****
from vboxweb.
Try:
export VBOX_SDK_PATH=/usr/lib/virtualbox/sdk/
Original comment by jshwright
on 7 Oct 2009 at 8:36
- Added labels: ****
- Removed labels: ****
from vboxweb.
ok, was not sure if you meant to try that before install or before starting the
server, so tried both. install did not give an error.
Trying to start the server as root did error out with:
Traceback (most recent call last):
File "VBoxWebSrv.py", line 516, in <module>
g_virtualBoxManager = vboxapi.VirtualBoxManager(None, None)
File "/home/sparcsadmin/python/2.6/lib/python2.6/site-
packages/vboxapi/__init__.py", line 471, in __init__
exec "self.platform = Platform"+style+"(platparams)"
File "<string>", line 1, in <module>
File "/home/sparcsadmin/python/2.6/lib/python2.6/site-
packages/vboxapi/__init__.py", line 318, in __init__
import xpcom.vboxxpcom
ImportError: No module named xpcom.vboxxpcom
Original comment by [email protected]
on 7 Oct 2009 at 10:38
- Added labels: ****
- Removed labels: ****
from vboxweb.
Well, the issue is it's not finding that module on your python path.
You could try setting PYTHON_PATH to /usr/lib/virtualbox/sdk/
Original comment by jshwright
on 8 Oct 2009 at 1:00
- Added labels: ****
- Removed labels: ****
from vboxweb.
ok did this:
export VBOX_INSTALL_PATH=/usr/lib/virtualbox/
export VBOX_SDK_PATH=/usr/lib/virtualbox/sdk/
export PYTHON_PATH=/usr/lib/virtualbox/sdk/
cd /usr/lib/virtualbox/sdk/install/
python2.6 vboxapisetup.py install
got this:
running install
running build
running build_py
copying vboxapi/__init__.py -> build/lib/vboxapi
running install_lib
copying build/lib/vboxapi/__init__.py ->
/home/sparcsadmin/python/2.6/lib/python2.6/site-packages/vboxapi
byte-compiling /home/sparcsadmin/python/2.6/lib/python2.6/site-
packages/vboxapi/__init__.py to __init__.pyc
running install_egg_info
Removing /home/sparcsadmin/python/2.6/lib/python2.6/site-packages/vboxapi-1.0-
py2.6.egg-info
Writing /home/sparcsadmin/python/2.6/lib/python2.6/site-packages/vboxapi-1.0-
py2.6.egg-info
then did this (still as root):
cd /home/sparcsadmin/vboxweb-read-only
python2.6 VBoxWebSrv.py
and got this:
Traceback (most recent call last):
File "VBoxWebSrv.py", line 516, in <module>
g_virtualBoxManager = vboxapi.VirtualBoxManager(None, None)
File "/home/sparcsadmin/python/2.6/lib/python2.6/site-
packages/vboxapi/__init__.py", line 471, in __init__
exec "self.platform = Platform"+style+"(platparams)"
File "<string>", line 1, in <module>
File "/home/sparcsadmin/python/2.6/lib/python2.6/site-
packages/vboxapi/__init__.py", line 318, in __init__
import xpcom.vboxxpcom
File "/usr/lib/virtualbox/sdk//bindings/xpcom/python/xpcom/vboxxpcom.py", line 51,
in <module>
raise Exception, "Cannot find VBoxPython module (make sure you use 64-bit Python
build with 64-bit VirtualBox, such as /usr/bin/amd64/python)"
Exception: Cannot find VBoxPython module (make sure you use 64-bit Python build
with
64-bit VirtualBox, such as /usr/bin/amd64/python)
Original comment by [email protected]
on 8 Oct 2009 at 7:23
- Added labels: ****
- Removed labels: ****
from vboxweb.
What arch are you running?
Original comment by jshwright
on 9 Oct 2009 at 1:45
- Added labels: ****
- Removed labels: ****
from vboxweb.
Arch? as in 32 vs 64? 32bit Ubuntu hosts and VMs everywhere, I never use 64 bit
at this
time. The host machine itself is an HP Proliant DL360 w/4xXenon 2.6 cpus, 20gb
ram and
P400i SmartArray
Original comment by [email protected]
on 9 Oct 2009 at 6:38
- Added labels: ****
- Removed labels: ****
from vboxweb.
I think issue 16 is a duplicate of my problem.....
Original comment by [email protected]
on 9 Oct 2009 at 6:39
- Added labels: ****
- Removed labels: ****
from vboxweb.
Please read my "HOWTO" posted in Issue #16. It addresses all of the problems
everyone mentioned in this issue.
Original comment by [email protected]
on 4 Jun 2010 at 2:56
- Added labels: ****
- Removed labels: ****
from vboxweb.
Original comment by [email protected]
on 26 Aug 2010 at 2:18
- Changed state: WontFix
- Added labels: ****
- Removed labels: ****
from vboxweb.
Related Issues (20)
- "Saved Machine State" on non-system-drives ignored HOT 2
- Virtual Box causes Win 7 64 bit to Crash HOT 1
- Mouse capture not suported, ubuntu 10.04 32 bits update to vbox 3.2.0 OSE release 29652 HOT 1
- Can't install VirtualBox3.2.2-62321 on Chinese UserName's user account HOT 1
- [TODO] Fix Environment Variables HOT 1
- Linux init script missing HOT 7
- {Enhancement} Fully Support Google Chrome HOT 2
- ip keep error in win7 HOT 1
- cant connect to rdp on non standard port HOT 1
- Display broken on Safari HOT 1
- Nothing works on web interface HOT 7
- No startup and runtime errors but it doesn't work HOT 1
- Error when loading CDROM ISO into VM via VBoxWeb
- VBoxWebSrv Not Working HOT 1
- Disconnect reason: E: TCP: SECURITY_ERROR Error #2048 HOT 4
- Just Loading
- vboxweb questions
- Add User
- Objects of type 'unicode' can not be used as COM objects error message received when attempting to attach hard drive to Virtual machine
- It is not happy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vboxweb.