It´s using the default port 18083 (not specifically configured). Nothing else is configured to run on that port (The IP has been changed from .140 to .5 in the meantime).
Code: Select all
atl-vmserver:~# cat /etc/default/virtualbox
#VBOXWEB_USER=root
VBOXWEB_USER=vbox
VBOXWEB_HOST=192.168.120.5
VBOXWEB_LOGFILE=/var/log/vboxweb
Code: Select all
atl-vmserver:~# ll /etc/init.d/vbox*
-rwxr-xr-x 1 root root 11460 Feb 17 18:22 /etc/init.d/vboxdrv
-rwxr-xr-x 1 root root 8131 Feb 17 18:22 /etc/init.d/vboxweb-service
I was working on another problem yesterday and I am not sure what I have changed that could affect this (if anything), but now I get another error message and it´s a little bit more informative than the "failed" before =)
Code: Select all
vbox@atl-vmserver:~$ /etc/init.d/vboxweb-service start
Starting VirtualBox web service:/etc/init.d/vboxweb-service: 369: cannot create /var/run/vboxweb-service: Permission denied
done..
Of course, that´s correct:
Code: Select all
vbox@atl-vmserver:~$ ll -d /var/run/
drwxr-xr-x 6 root root 4096 Mar 29 10:42 /var/run/
Now, I don´t think that it would be a good idea to give vbox write permissions on /var/run, would it? Also, wouldn´t the normal(TM) way be to start the service as root on system boot and configure a user to later switch to dropping privileges (like Apache does)?