9

Мне кажется, в Интернете появляются сообщения о подобных проблемах, подобных этой, но я не смог заставить их работать.

ОС хоста: Mac OS X 10.11.1 (El Capitan) Гостевая ОС: Ubuntu 14.04 LTS Virtualbox 5.0.8 Vagrant 1.7.4

$ vagrant reload

...
...
...
==> default: Machine booted and ready!
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   4.3.10
VBoxService inside the vm claims: 5.0.8
Going on, assuming VBoxService is correct...
GuestAdditions seems to be installed (5.0.8) correctly, but not running.
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   4.3.10
VBoxService inside the vm claims: 5.0.8
Going on, assuming VBoxService is correct...
stdin: is not a tty
Usage: service  | --status-all | [ service_name [ command | --full-restart ] ]
bash: line 3: vboxadd: command not found
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   4.3.10
VBoxService inside the vm claims: 5.0.8
Going on, assuming VBoxService is correct...
stdin: is not a tty
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules ...done.
Doing non-kernel setup of the Guest Additions ...done.
You should restart your guest to make sure the new modules are actually used

Restarting VM to apply changes...
==> default: Attempting graceful shutdown of VM...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default: 
    default: Guest Additions Version: 4.3.10
    default: VirtualBox Version: 5.0
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /vagrant => /Users/martin/VMs/cloudperf
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.

Однако следующие команды показывают правильную информацию:

$ vagrant vbguest --status
GuestAdditions 5.0.8 running --- OK.
$ VBoxManage guestproperty get  /VirtualBox/GuestAdd/Version
Value: 5.0.8

У меня есть две другие бродячие виртуальные машины под управлением CentOS без каких-либо проблем.

Любая помощь приветствуется.

2 ответа2

1

Я получил:

Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   4.3.20
VBoxService inside the vm claims: 5.0.10   
Going on, assuming VBoxService is correct...
GuestAdditions 5.0.10 running --- OK.
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   4.3.20
VBoxService inside the vm claims: 5.0.10
Going on, assuming VBoxService is correct...

Иногда все хорошо, но чаще всего сейчас сообщается о проблеме. Кажется, что это неправильные результаты запроса VirtualBox о версии.

Мой VirtualBox версии 5.0.10 r104061; vbguest версия 0.11.0

vbguest --status дает мне:

$ vagrant vbguest --status
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   4.3.20
VBoxService inside the vm claims: 5.0.10
Going on, assuming VBoxService is correct...
GuestAdditions 5.0.10 running --- OK.

Это чепуха; виртуальная коробка 5.0.10

vboxmanage --version дает мне 5.0.10r104061, что правильно.

Поэтому это похоже на ошибку vbguest.

0

Просто попробуйте обновить все. VirtualBox, VirtualBoxAddons и Vagrant. Если вы не можете подключиться к виртуальной машине с помощью Vagrant, просто откройте VirtualBox и запустите его отсюда.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками .