良玉的博客 点点滴滴,积水成河_良玉的博客_页游、手游linux运维工程师之路

vboxdrv 开启失败

root@ubuntu:~# /etc/init.d/vboxdrv setup

Stopping VirtualBox kernel modules ...done.

Uninstalling old VirtualBox DKMS kernel modules/etc/init.d/vboxdrv: line 302: /usr/share/virtualbox/src/vboxhost/do_dkms: No such file or directory

 ...done.

Removing old VirtualBox pci kernel module ...done.

Removing old VirtualBox netadp kernel module ...done.

Removing old VirtualBox netflt kernel module ...done.

Removing old VirtualBox kernel module ...done.

Trying to register the VirtualBox kernel modules using DKMS/etc/init.d/vboxdrv: line 327: /usr/share/virtualbox/src/vboxhost/do_dkms: No such file or directory

 ...failed!

  (Failed, trying without DKMS)

Recompiling VirtualBox kernel modules ...failed!

  (Look at /var/log/vbox-install.log to find out what went wrong)

root@ubuntu:~# cat /var/log/vbox-install.log

/etc/init.d/vboxdrv: line 335: /usr/share/virtualbox/src/vboxhost/build_in_tmp: No such file or directory


解决:

root@ubuntu:~# apt-get install -y virtualbox-dkms dkms


再开启:

service vboxdrv start

service virtualbox start

vboxwebsrv -b


留言列表
发表评论
来宾的头像