dgzyk / phpvirtualbox

Automatically exported from code.google.com/p/phpvirtualbox
Other
0 stars 0 forks source link

Ubuntu 12.04 - vboxweb-service not starting on boot #538

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've been playing with virtualbox 4.1.12_Ubunur77245 on Ubuntu 12.04 LTS server 
(x32). Everything runs well, except I have an issue where the vboxweb-service 
is not starting up properly on boot.

It's been registered as a service and a script exists in /etc/init.d (root:root 
privs) but everytime I reboot the box I have to manually run "service 
vboxweb-service start" which works fine after that.

However I need the service to auto start (and will be working on having my 
single VM autostart with it.) for an unattended headless setup.

The only log info I can find is /var/log/vboxweb.log as defined in 
/etc/default/virtualbox. Here is all the output from a single reboot:

VirtualBox web service 4.1.12_Ubuntu r77245 linux.x86 (Apr  6 2012 15:13:19) 
release log
00:00:00.001 main     Log opened 2012-05-10T19:21:57.550848000Z
00:00:00.001 main     OS Product: Linux
00:00:00.001 main     OS Release: 3.2.0-24-generic-pae
00:00:00.001 main     OS Version: #37-Ubuntu SMP Wed Apr 25 10:47:59 UTC 2012
00:00:00.001 main     OS Service Pack: #37-Ubuntu SMP Wed Apr 25 10:47:59 UTC 
2012
00:00:00.001 main     Executable: /usr/lib/virtualbox/vboxwebsrv
00:00:00.001 main     Process ID: 1497
00:00:00.001 main     Package type: LINUX_32BITS_GENERIC (OSE)

checking dmesg for anything "dmesg |grep vbox" produces:

[  125.358296] vboxdrv: Found 2 processor cores.
[  125.359169] vboxdrv: fAsync=0 offMin=0x198 offMax=0x990
[  125.359371] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 
'normal'.
[  125.359379] vboxdrv: Successfully loaded version 4.1.12_Ubuntu (interface 
0x00190000).
[  125.394897] vboxpci: IOMMU not found (not registered)

I have no idea what else to check, but there doesn't seem to be any clues here. 
What else can I check?

Original issue reported on code.google.com by zacharyj...@gmail.com on 10 May 2012 at 7:45

GoogleCodeExporter commented 8 years ago
Hello,

Please ask over at ubuntu forums how to get a service to start at boot. I 
believe it is something like:

# update-rc.d vboxweb-service defaults

.. something like that. Google or ask on some ubuntu forums to be sure.

Original comment by imooreya...@gmail.com on 24 May 2012 at 11:01