LoginSignup
4
4

More than 5 years have passed since last update.

森崎くんだからVirtualBox on MacがVERR_SUPLIB_OWNER_NOT_ROOTでvagrant upできない場合の対処方法

Posted at

背景

i320.jpg

あるときvagrant upしたらこんなんになってどのvmも起動しなくなった(´;ω;`)ブワッ

バージョン

command
tokifujp:cent7-apache tokifujp$ vboxmanage -v                                                                                                                            
5.0.14r105127
tokifujp:cent7-apache tokifujp$ vagrant -v
Vagrant 1.8.1

vagrant upするとこんなんなる

vu = vagrant up デス

command
tokifujp:cent7-apache tokifujp$ vu
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 8888 (guest) => 8888 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.

If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.

The primary issue for this error is that the provider you're using
is not properly configured. This is very rarely a Vagrant issue.

vagrantじゃなくてvirtualboxから起動してみると

あ、あかんヤツやこれ→"VERR_SUPLIB_OWNER_NOT_ROOT"でググろう
キャプチャ.PNG

原因は/Applications ディレクトリの権限だった

なんやねんApple。

command
tokifujp:~ tokifujp$ ll /
:
drwxrwxr-x+  49 tokifujp  admin     1666 Jan 21 13:58 Applications
:

解決方法

Morisaki02.jpg

sudo chown root /Applicationsしたら治った。

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4