Results 1 to 7 of 7

Thread: Virtualbox not starting

  1. #1

    Default Virtualbox not starting

    So after a series of uninstalling and reinstalling VirtualBox to get the updated version, I was able to get it installed and working but it seemed to be crashing my computer as everytime i walked away for 10 minutes and came back, it would be at the login screen. It never did it while I was on it though so I never saw any errors. Now after a couple days of that... Whenever I start it I get an error:
    Failed to create VirtualBox COM object
    The application will now terminate.
    Could not load the settings file '/home/user/.VirtualBox/VirtualBox.xml'
    Cannont convert settings from version '1.10-linux'
    Source version is not supported.
    I try to reinstall it with zypper in virtualbox and I get:
    insserv: warning: script 'S01pwrstatd' missing LSB tags and overrides
    insserv: warning: script 'pwrstatd' missing LSB tags and overrides
    No precompiled module for this kernel found -- trying to build one. Messages
    emitted during module compilation will be logged to /var/log/vbox-install.log.

    Compilation of the kernel module FAILED! VirtualBox will not start until this
    problem is fixed. Please consult /var/log/vbox-install.log to find out why the
    kernel module does not compile. Most probably the kernel sources are not found.
    Install them and execute

    /etc/init.d/vboxdrv setup

    as root.

    I run the /etc/init.d/vboxdrv setup
    Stopping VirtualBox kernel module done
    Recompiling VirtualBox kernel module failed
    (Look at /var/log/vbox-install.log to find out what went wrong)

    That log file says:
    Makefile:174: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again. Stop.

    Has anyone run into this before and/or can help me fix this?
    I would bring this to Sun's forums for vbox but you guys are always most helpful so i thought I'd bug you with it first (sorry)!

    Thanks for any help in advanced!

    EDIT: oops, forgot.. Im running OpenSUSE 11.1 and it seems as though the installed version of vbox is 3.0.14
    Asus M3N78-VM, AMD A64 X2 7750 2.7G,WiFi: EDIMAX EW-7727IN 300M RET, 2x2GB GSkill RAM,420W Apevia PSU,1TB WD Cavair Black

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,728
    Blog Entries
    20

    Default Re: Virtualbox not starting

    There is a guide here, just replace 11.1 for where you read 11.2 or 11.3
    Virtual Box (Sun Version) Install HowTo

    Probably the easiest way for you is to open a terminal and become su -
    then copy and paste this code using your mouse:

    Code:
    zypper ar -f http://download.virtualbox.org/virtualbox/rpm/opensuse/11.1 virtualbox
    Then close that and go to Yast > Software Management
    accept the key from VirtualBox
    Then search for Virtualbox and install, currently v. 3.2.6
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Jul 2010
    Location
    Kent, England
    Posts
    52

    Default Re: Virtualbox not starting

    Quote Originally Posted by newbs08 View Post
    Makefile:174: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again. Stop.
    I had this message with 11.3. Installing the base development package fixed it for me.

    Open Software Manager
    Select Patterns from the Drop Down
    Check the tick box next to the "Base Development" option
    Click apply

    Hope this helps
    "Sometimes free software isn't free and sometimes free software isn't free. Sometimes it's both free and free and sometimes it's neither free nor free!

    Why is this so hard to explain" - Me

  4. #4

    Default Re: Virtualbox not starting

    Quote Originally Posted by caf4926 View Post
    There is a guide here, just replace 11.1 for where you read 11.2 or 11.3
    Virtual Box (Sun Version) Install HowTo
    Thanks! I went through the manual installations and I didnt have Kernel-source or gcc installed, after installing those I also installed the "Base Development" like richard suggested (thanks Richard)!

    Now VirtualBox opens and before I went any further I wanted to do the post install reqs.
    When running the "modprobe vboxdrv" I get
    FATAL: Module vboxdrv not found.
    As a side note I also noticed that it installed 3.2.2, not 3.2.6, though this is not a big deal for me.
    Asus M3N78-VM, AMD A64 X2 7750 2.7G,WiFi: EDIMAX EW-7727IN 300M RET, 2x2GB GSkill RAM,420W Apevia PSU,1TB WD Cavair Black

  5. #5

    Default Re: Virtualbox not starting

    Hi there,

    The error: FATAL: Module vboxdrv not found means that the kernel module is not installed. This looks like the original problem you were having back from you first post. Earlier you tried to run this to make the kernel module:

    /etc/init.d/vboxdrv setup

    But it failed, and directed you to the log, in which you correctly identified this line:

    Makefile:174: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again. Stop.

    You are very close, all you should need to do is install the kernel sources (zypper install kernel-source) and then try to build the module again (/etc/init.d/vboxdrv setup). It should then work and you should then be able to start Vbox.

    Cheers,
    Lews Therin

  6. #6

    Default Re: Virtualbox not starting

    ahh, right on!! Dont know why that didnt click in my head (Ill get the hang of this eventually) to run the "/ect/init.d/vboxdrv", ran that with no errors this time, same with "modprobe vboxdrv"

    and now vbox itself is working and everything looks normal again!
    Awesome Thank You all soo much! Really appreciate your time
    Asus M3N78-VM, AMD A64 X2 7750 2.7G,WiFi: EDIMAX EW-7727IN 300M RET, 2x2GB GSkill RAM,420W Apevia PSU,1TB WD Cavair Black

  7. #7

    Default Re: Virtualbox not starting

    Great - glad to hear it is working now. I love VirtualBox - good stuff.

    Cheers,
    Lews Therin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •