On 21/05/10 21:12, Mark Jonathan Myatt wrote:
[root@Mark Mark]# /etc/init.d/vboxdrv setup Stopping VirtualBox kernel module [ OK ] Recompiling VirtualBox kernel module [FAILED] (Look at /var/log/vbox-install.log to find out what went wrong) [root@Mark Mark]# "
When I look at /var/log/vbox-install.log I get the following response:
"[root@Mark Mark]# /var/log/vbox-install.log bash: /var/log/vbox-install.log: Permission denied [root@Mark Mark]# "
You need to tell the shell what you want to do with that log, just typing it's name makes the shell think you want to execute it which isn't possible because it isn't an executable file and the execute permissions bit isn't set (hence the permission denied error)
The simple way to review the whole log would be to type
more /var/log/vbox-install.log
and then press the space bar to view the next page.
or to just see the last few lines type
tail /var/log/vbox-install.log
Mostly I suspect you will see a similar error as per below
Error! Your kernel source for kernel 2.6.32.12-115.fc12.i686.PAE cannot be found at /lib/modules/2.6.32.12-115.fc12.i686.PAE/build or /lib/modules/2.6.32.12-115.fc12.i686.PAE/source. You can use the --kernelsourcedir option to tell DKMS where it's located. Failed to install using DKMS, attempting to install without Makefile:159: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop."
You need to install the kernel source package (or maybe just the kernel headers package) there may be several offered in your distributions package manager but you want the one that matches your current kernel i.e.
2.6.32.12-115.fc12.i686.PAE
and then rerun
/etc/init.d/vboxdrv setup
Although DKMS might beat you to it..either way that should get you working.