Debian Jessie - vboxdrv not starting automaticly [SOLVED]

Discussions related to using VirtualBox on Linux hosts.

Debian Jessie - vboxdrv not starting automaticly [SOLVED]

Postby Lucas286 » 19. Aug 2015, 10:12

Hi,
I've used Debian Jessie stable (only kernel 4.1 from backports), VirtualBox from Oracle repo version 5.0.2. Generaly all works fine, but vboxdrv not starting automaticly during boot. I have to manually:
Code: Select all   Expand viewCollapse view
sudo service vboxdrv start


Code: Select all   Expand viewCollapse view
lukasz@hp:~$ sudo journalctl | grep vboxdrv
sie 19 08:31:10 hp systemd-sysv-generator[170]: Overwriting existing symlink /run/systemd/generator.late/vboxdrv.service with real service
sie 19 08:31:10 hp kernel: vboxdrv: Found 4 processor cores
sie 19 08:31:10 hp kernel: vboxdrv: TSC mode is Invariant, tentative frequency 2893473372 Hz
sie 19 08:31:10 hp kernel: vboxdrv: Successfully loaded version 5.0.2 (interface 0x00230003)
sie 19 08:31:10 hp systemd-modules-load[180]: Inserted module 'vboxdrv'
sie 19 08:31:35 hp kernel: vboxdrv: ffffffffa0b57020 VMMR0.r0
sie 19 08:31:36 hp kernel: vboxdrv: ffffffffa0c55020 VBoxDDR0.r0
sie 19 08:31:36 hp kernel: vboxdrv: ffffffffa005c020 VBoxDD2R0.r0
sie 19 08:31:42 hp kernel: vboxdrv: ffffffffa0b57020 VMMR0.r0
sie 19 08:31:42 hp kernel: vboxdrv: ffffffffa0c55020 VBoxDDR0.r0
sie 19 08:31:42 hp kernel: vboxdrv: ffffffffa005c020 VBoxDD2R0.r0
sie 19 08:53:50 hp kernel: vboxdrv: ffffffffa0b57020 VMMR0.r0
sie 19 08:53:51 hp kernel: vboxdrv: ffffffffa0c55020 VBoxDDR0.r0
sie 19 08:53:51 hp kernel: vboxdrv: ffffffffa005c020 VBoxDD2R0.r0
sie 19 08:54:56 hp sudo[2669]: lukasz : TTY=pts/1 ; PWD=/home/lukasz ; USER=root ; COMMAND=/usr/sbin/service vboxdrv start
sie 19 08:54:57 hp vboxdrv[2690]: Starting VirtualBox kernel modules ...done.
sie 19 09:47:40 hp kernel: vboxdrv: ffffffffa0b57020 VMMR0.r0
sie 19 09:47:40 hp kernel: vboxdrv: ffffffffa0c55020 VBoxDDR0.r0
sie 19 09:47:40 hp kernel: vboxdrv: ffffffffa005c020 VBoxDD2R0.r0
sie 19 09:47:40 hp kernel: vboxdrv: ffffffffa00d7020 VBoxEhciR0.r0


Why service not starting automaticly ?
Last edited by Lucas286 on 20. Aug 2015, 08:04, edited 1 time in total.
Lucas286
 
Posts: 2
Joined: 19. Aug 2015, 10:03

Re: Debian Jessie - vboxdrv not starting automaticly

Postby noteirak » 19. Aug 2015, 13:19

Check if it is set to start automatically.
Hyperbox - Virtual Infrastructure Manager - https://kamax.io/hbox/
Manage your VirtualBox infrastructure the free way!
noteirak
Site Moderator
 
Posts: 5120
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7

Re: Debian Jessie - vboxdrv not starting automaticly

Postby Lucas286 » 19. Aug 2015, 13:49

It isn't set.

Code: Select all   Expand viewCollapse view
lukasz@hp:~$ sudo chkconfig --list | grep vbox
vboxautostart-service     0:off  1:off  2:on   3:on   4:on   5:on   6:off
vboxballoonctrl-service   0:off  1:off  2:on   3:on   4:on   5:on   6:off
vboxdrv                   0:off  1:off  2:off  3:off  4:off  5:off  6:off
vboxweb-service           0:off  1:off  2:on   3:on   4:on   5:on   6:off


Code: Select all   Expand viewCollapse view
lukasz@hp:~$ sudo systemctl status vboxdrv
● vboxdrv.service - LSB: VirtualBox Linux kernel module
   Loaded: loaded (/etc/init.d/vboxdrv)
   Active: inactive (dead)


I trying enable, but failed.

Code: Select all   Expand viewCollapse view
lukasz@hp:~$ sudo systemctl enable vboxdrv
Synchronizing state for vboxdrv.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d vboxdrv defaults
insserv: script vboxdrv: service vboxdrv already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
*** Error in `systemctl': double free or corruption (fasttop): 0x00005557e9c249c0 ***



OK, I resolved problem. It was conflict with old version VBox (4.3.18). It's nessesary remove old version with purge

Code: Select all   Expand viewCollapse view
apt-get purge virtualbox


Now, it's possible to set vboxdrv start automaticly.
Thanks.
Lucas286
 
Posts: 2
Joined: 19. Aug 2015, 10:03


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 26 guests