Koozali.org: home of the SME Server

Updating SME8b7 with Virtualbox installed

Offline EdelingF

  • *****
  • 215
  • +0/-0
Updating SME8b7 with Virtualbox installed
« on: March 16, 2012, 08:49:05 PM »
Everytime I update my host SME8b7 on my server and a new kernel is installed, Virtualbox won't start.
When I boot with the kernel (2.6.18-274.12.1.el5PAE), which was installed when I installed Virtualbox, Virtualbox starts normal.
I follow the HowTo (http://wiki.contribs.org/VirtualBox_4.0_on_SME_Server_v8_beta_6) after an update, but it makes no difference.

When I boot with the newest kernel (2.6.18-308.1.1.el5PAE) I get the error in Virtualbox that is can't connect to http://127.0.0.1:18083, which is the SOAP URL of vboxwebsrv.

Am I missing something?
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Updating SME8b7 with Virtualbox installed
« Reply #1 on: March 17, 2012, 12:05:29 PM »
My guess is that might be because you need specific drivers or programs that are compiled against the current kernel and need specific packages related to the new installed kernel or need manual intervention, e.g. (re)compilation.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline maicz

  • **
  • 26
  • +0/-0
Re: Updating SME8b7 with Virtualbox installed
« Reply #2 on: March 28, 2012, 10:05:11 PM »
you have to follow the instruction listed in http://wiki.contribs.org/VirtualBox_4.0_on_SME_Server_v8_beta_6 EVERY TIME kernel is upgraded, as specified at pt.9:

Code: [Select]
ln -s /usr/src/kernels/`uname -r`-`uname -m` /lib/modules/`uname -r`/build
Reminder: if you subsequently update SME Server to use a newer kernel, you may need to recreate the symbolic link.

Bye,
M

Offline EdelingF

  • *****
  • 215
  • +0/-0
Re: Updating SME8b7 with Virtualbox installed
« Reply #3 on: March 29, 2012, 08:14:18 PM »
Did that....
...

Offline maicz

  • **
  • 26
  • +0/-0
Re: Updating SME8b7 with Virtualbox installed
« Reply #4 on: March 29, 2012, 08:24:50 PM »
Boot with the new kernel, run this as root:

Code: [Select]
/etc/init.d/vboxdrv setup
and follow instructions.