質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
CentOS

CentOSは、主にRed Hat Enterprise Linux(RHEL)をベースにした、フリーのソフトウェアオペレーティングシステムです。

Vagrant

Vagrantは、VirtualBox上の仮想マシンを コマンドラインから作成してくれるソフトウェアです。 ビルド環境など容易に構築が可能です。

Q&A

解決済

1回答

734閲覧

GuestAdditions seems to be installed (5.1.18) correctly, but not running.

Casablanca_mtg

総合スコア209

CentOS

CentOSは、主にRed Hat Enterprise Linux(RHEL)をベースにした、フリーのソフトウェアオペレーティングシステムです。

Vagrant

Vagrantは、VirtualBox上の仮想マシンを コマンドラインから作成してくれるソフトウェアです。 ビルド環境など容易に構築が可能です。

0グッド

0クリップ

投稿2017/07/07 01:02

お世話になります
macOs 10.12.5
Vagrant 1.9.5
Virtualbox 5.1.18

上記を使用しています
先日、python3.5.2を入れたら下記のようなエラーが出るようになりました
対処方法をお教えいただきたいです

[default] GuestAdditions seems to be installed (5.1.18) correctly, but not running.
vboxadd.sh: Starting the VirtualBox Guest Additions.
vboxadd.sh: Building Guest Additions kernel modules.
vboxadd.sh: failed: Look at /var/log/vboxadd-install.log to find out what went wrong.
vboxadd.sh: failed: Please check that you have gcc, make, the header files for your Linux kernel and possibly perl installed..
vboxadd.sh: failed: modprobe vboxguest failed.
vboxadd-service.sh: Starting VirtualBox Guest Addition service.
VirtualBox Additions module not loaded!
vboxadd.sh: Building Guest Additions kernel modules.
vboxadd.sh: failed: Look at /var/log/vboxadd-install.log to find out what went wrong.
vboxadd.sh: failed: Please check that you have gcc, make, the header files for your Linux kernel and possibly perl installed..
==> default: Checking for guest additions in VM...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

/usr/lib64/VBoxGuestAdditions/vboxadd setup

Stdout from the command:

vboxadd.sh: Building Guest Additions kernel modules.

Stderr from the command:

vboxadd.sh: failed: Look at /var/log/vboxadd-install.log to find out what went wrong.
vboxadd.sh: failed: Please check that you have gcc, make, the header files for your Linux kernel and possibly perl installed..

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

vboxadd.sh: failed: Look at /var/log/vboxadd-install.log

こう書かれていますが、/var/log/vboxadd-install.logはご覧になったのでしょうか。こういう場合、まずログを確認するのが定石だと思います。

エラー内容でぐぐると、以下サイトが出ましたが、試されたのでしょうか。
vagrant up で CentOS 6.8 を起動するとエラーが出たときの対処法

投稿2017/07/07 18:15

imamoto_browser

総合スコア1161

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

Casablanca_mtg

2017/07/08 00:34

上記試しましたが途中でパスワードを要求されてVagrantとするがダメです cat /var/log/vboxadd-install.log cat: /var/log/vboxadd-install.log: No such file or directory このようになります
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問