Giter Site home page Giter Site logo

mariadb-vagrant's Introduction

A bunch of cool stuff below:

mariadb-vagrant's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mariadb-vagrant's Issues

Vagrant was unable to mount VirtualBox shared folders

I tried to use this project on my computer, but I got an error about shared folders.

I use macOS Sierra 10.12.3 with Vagrant 1.9.0 and vagrant-vbguest installed.

➜  mariadb-vagrant git:(master) vagrant plugin list
vagrant-hostmanager (1.8.5)
vagrant-share (1.1.6, system)
vagrant-sshfs (1.3.0)
vagrant-triggers (0.5.3)
vagrant-vbguest (0.13.0)
➜  mariadb-vagrant git:(master) vagrant --version
Vagrant 1.9.0
➜  mariadb-vagrant git:(master) uname -a
Darwin mbp 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64

Here is the full output:

➜  mariadb-vagrant git:(master) vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'bento/centos-7.2' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'bento/centos-7.2'
    default: URL: https://atlas.hashicorp.com/bento/centos-7.2
==> default: Adding box 'bento/centos-7.2' (v2.3.1) for provider: virtualbox
    default: Downloading: https://atlas.hashicorp.com/bento/boxes/centos-7.2/versions/2.3.1/providers/virtualbox.box
==> default: Successfully added box 'bento/centos-7.2' (v2.3.1) for 'virtualbox'!
==> default: Importing base box 'bento/centos-7.2'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: mariadb-vagrant_default_1489744971392_95672
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 3306 (guest) => 3306 (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...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
[default] GuestAdditions versions on your host (5.1.14) and guest (5.1.10) do not match.
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: ftp.lysator.liu.se
* extras: ftp.lysator.liu.se
* updates: ftp.lysator.liu.se
No package kernel-devel-3.10.0-327.el7.x86_64 available.
Package bzip2-1.0.6-13.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package binutils.x86_64 0:2.23.52.0.1-55.el7 will be updated
---> Package binutils.x86_64 0:2.25.1-22.base.el7 will be an update
---> Package gcc.x86_64 0:4.8.5-11.el7 will be installed
--> Processing Dependency: libgomp = 4.8.5-11.el7 for package: gcc-4.8.5-11.el7.x86_64
--> Processing Dependency: cpp = 4.8.5-11.el7 for package: gcc-4.8.5-11.el7.x86_64
--> Processing Dependency: libgcc >= 4.8.5-11.el7 for package: gcc-4.8.5-11.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-11.el7.x86_64
---> Package make.x86_64 1:3.82-21.el7 will be updated
---> Package make.x86_64 1:3.82-23.el7 will be an update
---> Package perl.x86_64 4:5.16.3-286.el7 will be updated
---> Package perl.x86_64 4:5.16.3-291.el7 will be an update
--> Processing Dependency: perl-libs = 4:5.16.3-291.el7 for package: 4:perl-5.16.3-291.el7.x86_64
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-11.el7 will be installed
---> Package glibc-devel.x86_64 0:2.17-157.el7_3.1 will be installed
--> Processing Dependency: glibc-headers = 2.17-157.el7_3.1 for package: glibc-devel-2.17-157.el7_3.1.x86_64
--> Processing Dependency: glibc = 2.17-157.el7_3.1 for package: glibc-devel-2.17-157.el7_3.1.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-157.el7_3.1.x86_64
---> Package libgcc.x86_64 0:4.8.5-4.el7 will be updated
---> Package libgcc.x86_64 0:4.8.5-11.el7 will be an update
---> Package libgomp.x86_64 0:4.8.5-4.el7 will be updated
---> Package libgomp.x86_64 0:4.8.5-11.el7 will be an update
---> Package perl-libs.x86_64 4:5.16.3-286.el7 will be updated
---> Package perl-libs.x86_64 4:5.16.3-291.el7 will be an update
--> Running transaction check
---> Package glibc.x86_64 0:2.17-105.el7 will be updated
--> Processing Dependency: glibc = 2.17-105.el7 for package: glibc-common-2.17-105.el7.x86_64
---> Package glibc.x86_64 0:2.17-157.el7_3.1 will be an update
---> Package glibc-headers.x86_64 0:2.17-157.el7_3.1 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-157.el7_3.1.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-157.el7_3.1.x86_64
--> Running transaction check
---> Package glibc-common.x86_64 0:2.17-105.el7 will be updated
---> Package glibc-common.x86_64 0:2.17-157.el7_3.1 will be an update
---> Package kernel-headers.x86_64 0:3.10.0-514.10.2.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package             Arch        Version                     Repository    Size
================================================================================
Installing:
gcc                 x86_64      4.8.5-11.el7                base          16 M
Updating:
binutils            x86_64      2.25.1-22.base.el7          base         5.4 M
make                x86_64      1:3.82-23.el7               base         420 k
perl                x86_64      4:5.16.3-291.el7            base         8.0 M
Installing for dependencies:
cpp                 x86_64      4.8.5-11.el7                base         5.9 M
glibc-devel         x86_64      2.17-157.el7_3.1            updates      1.1 M
glibc-headers       x86_64      2.17-157.el7_3.1            updates      668 k
kernel-headers      x86_64      3.10.0-514.10.2.el7         updates      4.8 M
Updating for dependencies:
glibc               x86_64      2.17-157.el7_3.1            updates      3.6 M
glibc-common        x86_64      2.17-157.el7_3.1            updates       11 M
libgcc              x86_64      4.8.5-11.el7                base          97 k
libgomp             x86_64      4.8.5-11.el7                base         152 k
perl-libs           x86_64      4:5.16.3-291.el7            base         688 k

Transaction Summary
================================================================================
Install  1 Package  (+4 Dependent packages)
Upgrade  3 Packages (+5 Dependent packages)

Total download size: 58 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
Public key for binutils-2.25.1-22.base.el7.x86_64.rpm is not installed
warning: /var/cache/yum/x86_64/7/base/packages/binutils-2.25.1-22.base.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for glibc-2.17-157.el7_3.1.x86_64.rpm is not installed
--------------------------------------------------------------------------------
Total                                              8.4 MB/s |  58 MB  00:06
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <[email protected]>"
Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
Package    : centos-release-7-2.1511.el7.centos.2.10.x86_64 (@anaconda)
From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Updating   : libgcc-4.8.5-11.el7.x86_64                                  1/21
  Updating   : glibc-2.17-157.el7_3.1.x86_64                               2/21
warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew
  Updating   : glibc-common-2.17-157.el7_3.1.x86_64                        3/21
  Updating   : binutils-2.25.1-22.base.el7.x86_64                          4/21
  Updating   : 4:perl-libs-5.16.3-291.el7.x86_64                           5/21
  Updating   : 4:perl-5.16.3-291.el7.x86_64                                6/21
  Installing : cpp-4.8.5-11.el7.x86_64                                     7/21
  Updating   : libgomp-4.8.5-11.el7.x86_64                                 8/21
  Installing : kernel-headers-3.10.0-514.10.2.el7.x86_64                   9/21
  Installing : glibc-headers-2.17-157.el7_3.1.x86_64                      10/21
  Installing : glibc-devel-2.17-157.el7_3.1.x86_64                        11/21
  Installing : gcc-4.8.5-11.el7.x86_64                                    12/21
  Updating   : 1:make-3.82-23.el7.x86_64                                  13/21
  Cleanup    : 4:perl-5.16.3-286.el7.x86_64                               14/21
  Cleanup    : 4:perl-libs-5.16.3-286.el7.x86_64                          15/21
  Cleanup    : libgomp-4.8.5-4.el7.x86_64                                 16/21
  Cleanup    : 1:make-3.82-21.el7.x86_64                                  17/21
  Cleanup    : binutils-2.23.52.0.1-55.el7.x86_64                         18/21
  Cleanup    : glibc-2.17-105.el7.x86_64                                  19/21
  Cleanup    : glibc-common-2.17-105.el7.x86_64                           20/21
  Cleanup    : libgcc-4.8.5-4.el7.x86_64                                  21/21
  Verifying  : glibc-headers-2.17-157.el7_3.1.x86_64                       1/21
  Verifying  : glibc-common-2.17-157.el7_3.1.x86_64                        2/21
  Verifying  : libgcc-4.8.5-11.el7.x86_64                                  3/21
  Verifying  : glibc-2.17-157.el7_3.1.x86_64                               4/21
  Verifying  : binutils-2.25.1-22.base.el7.x86_64                          5/21
  Verifying  : 4:perl-libs-5.16.3-291.el7.x86_64                           6/21
  Verifying  : kernel-headers-3.10.0-514.10.2.el7.x86_64                   7/21
  Verifying  : 1:make-3.82-23.el7.x86_64                                   8/21
  Verifying  : cpp-4.8.5-11.el7.x86_64                                     9/21
  Verifying  : libgomp-4.8.5-11.el7.x86_64                                10/21
  Verifying  : gcc-4.8.5-11.el7.x86_64                                    11/21
  Verifying  : 4:perl-5.16.3-291.el7.x86_64                               12/21
  Verifying  : glibc-devel-2.17-157.el7_3.1.x86_64                        13/21
  Verifying  : libgomp-4.8.5-4.el7.x86_64                                 14/21
  Verifying  : 4:perl-5.16.3-286.el7.x86_64                               15/21
  Verifying  : libgcc-4.8.5-4.el7.x86_64                                  16/21
  Verifying  : 1:make-3.82-21.el7.x86_64                                  17/21
  Verifying  : binutils-2.23.52.0.1-55.el7.x86_64                         18/21
  Verifying  : glibc-common-2.17-105.el7.x86_64                           19/21
  Verifying  : 4:perl-libs-5.16.3-286.el7.x86_64                          20/21
  Verifying  : glibc-2.17-105.el7.x86_64                                  21/21

Installed:
  gcc.x86_64 0:4.8.5-11.el7

Dependency Installed:
  cpp.x86_64 0:4.8.5-11.el7
  glibc-devel.x86_64 0:2.17-157.el7_3.1
  glibc-headers.x86_64 0:2.17-157.el7_3.1
  kernel-headers.x86_64 0:3.10.0-514.10.2.el7

Updated:
  binutils.x86_64 0:2.25.1-22.base.el7         make.x86_64 1:3.82-23.el7
  perl.x86_64 4:5.16.3-291.el7

Dependency Updated:
  glibc.x86_64 0:2.17-157.el7_3.1      glibc-common.x86_64 0:2.17-157.el7_3.1
  libgcc.x86_64 0:4.8.5-11.el7         libgomp.x86_64 0:4.8.5-11.el7
  perl-libs.x86_64 4:5.16.3-291.el7

Complete!
Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
mount: /dev/loop0 is write-protected, mounting read-only
Installing Virtualbox Guest Additions 5.1.14 - guest version is 5.1.10
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.1.14 Guest Additions for Linux...........
VirtualBox Guest Additions installer
Removing installed version 5.1.10 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
vboxadd.sh: Building Guest Additions kernel modules.
Failed to set up service vboxadd, please check the log file
/var/log/VBoxGuestAdditions.log for details.

==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
    default: /vagrant => /Users/deniz/Code/mariadb-vagrant
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:

mount -t vboxsf -o dmode=777,fmode=666,uid=1000,gid=1000 vagrant /vagrant

The error output from the command was:

/sbin/mount.vboxsf: mounting failed with the error: No such device

➜  mariadb-vagrant git:(master) vagrant ssh
[vagrant@localhost ~]$ cat /var/log/VBoxGuestAdditions.log

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..
[vagrant@localhost ~]$ cat /var/log/vboxadd-install.log
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
[vagrant@localhost ~]$ logout
Connection to 127.0.0.1 closed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.