Thank you Ramachandran. Vagrant provisioning output was long. It did end oddly with a curl command failure which I ran manually after it. The course material does not indicate what a successful install would look like, so I have nothing to compare against, unless I am blatantly missing something here.
Here is the output. Any suggestions?
C02WT3B1HTD6MBP:/Users/axc08/university/m103/m103-vagrant-env> vagrant up --provision
Bringing machine ‘mongod-m103’ up with ‘virtualbox’ provider…
==> mongod-m103: Running provisioner: shell…
mongod-m103: Running: /var/folders/cc/ys93h08j16j7jz10h73j2l7c0000gn/T/vagrant-shell20190413-19937-eybuj1
mongod-m103: + config
mongod-m103: + sudo su
mongod-m103: + echo -e never
mongod-m103: + echo -e never
mongod-m103: + echo manual
mongod-m103: + sudo tee /etc/init/mongod.override
mongod-m103: manual
mongod-m103: + ip_config
mongod-m103: ++ ifconfig
mongod-m103: ++ tail -1
mongod-m103: ++ awk ‘{ print $1}’
mongod-m103: ++ grep -v 127.0.0.1
mongod-m103: ++ cut -d: -f2
mongod-m103: ++ grep ‘inet addr:’
mongod-m103: + export CLIENT_IP_ADDR=192.168.103.100
mongod-m103: + CLIENT_IP_ADDR=192.168.103.100
mongod-m103: ++ hostname
mongod-m103: + export CLIENT_FQDN=m103
mongod-m103: + CLIENT_FQDN=m103
mongod-m103: ++ hostname
mongod-m103: ++ tr ‘[:upper:]’ ‘[:lower:]’
mongod-m103: ++ cut -d. -f 1
mongod-m103: + export CLIENT_NAME=m103
mongod-m103: + CLIENT_NAME=m103
mongod-m103: + echo ‘Configuring /etc/hosts …’
mongod-m103: Configuring /etc/hosts …
mongod-m103: + echo ‘127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ’
mongod-m103: + echo ‘::1 localhost localhost.localdomain localhost6 localhost6.localdomain6’
mongod-m103: + echo ‘fe00::0 ip6-localnet’
mongod-m103: + echo ‘ff00::0 ip6-mcastprefix’
mongod-m103: + echo ‘ff02::1 ip6-allnodes’
mongod-m103: + echo ‘ff02::2 ip6-allrouters’
mongod-m103: + echo ‘ff02::3 ip6-allhosts’
mongod-m103: + echo ‘192.168.103.100 m103 m103’
mongod-m103: + update_repo
mongod-m103: + echo ‘Install MongoDB Enterprise Repository’
mongod-m103: Install MongoDB Enterprise Repository
mongod-m103: + echo ‘deb [ arch=amd64 ] http://repo.mongodb.com/apt/ubuntu trusty/mongodb-enterprise/3.6 multiverse’
mongod-m103: + sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
mongod-m103: deb [ arch=amd64 ] http://repo.mongodb.com/apt/ubuntu trusty/mongodb-enterprise/3.6 multiverse
mongod-m103: + sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
mongod-m103: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.O6YRhgJAex --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
mongod-m103: gpg:
mongod-m103: requesting key 91FA4AD5 from hkp server keyserver.ubuntu.com
mongod-m103: gpg:
mongod-m103: key 91FA4AD5: “MongoDB 3.6 Release Signing Key packaging@mongodb.com” not changed
mongod-m103: gpg:
mongod-m103: Total number processed: 1
mongod-m103: gpg:
mongod-m103: unchanged: 1
mongod-m103: + echo ‘Update Repositories’
mongod-m103: Update Repositories
mongod-m103: + sudo apt-get update -y
mongod-m103: Ign http://repo.mongodb.com trusty/mongodb-enterprise/3.6 InRelease
mongod-m103: Hit http://repo.mongodb.com trusty/mongodb-enterprise/3.6 Release.gpg
mongod-m103: Hit http://repo.mongodb.com trusty/mongodb-enterprise/3.6 Release
mongod-m103: Hit http://security.ubuntu.com trusty-security InRelease
mongod-m103: Ign http://archive.ubuntu.com trusty InRelease
mongod-m103: Hit http://repo.mongodb.com trusty/mongodb-enterprise/3.6/multiverse amd64 Packages
mongod-m103: Hit http://security.ubuntu.com trusty-security/main Sources
mongod-m103: Hit http://archive.ubuntu.com trusty-updates InRelease
mongod-m103: Hit http://security.ubuntu.com trusty-security/universe Sources
mongod-m103: Hit http://archive.ubuntu.com trusty-backports InRelease
mongod-m103: Hit http://security.ubuntu.com trusty-security/main amd64 Packages
mongod-m103: Hit http://archive.ubuntu.com trusty Release.gpg
mongod-m103: Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
mongod-m103: Hit http://archive.ubuntu.com trusty-updates/main Sources
mongod-m103: Hit http://security.ubuntu.com trusty-security/main Translation-en
mongod-m103: Hit http://archive.ubuntu.com trusty-updates/restricted Sources
mongod-m103: Hit http://security.ubuntu.com trusty-security/universe Translation-en
mongod-m103: Hit http://archive.ubuntu.com trusty-updates/universe Sources
mongod-m103: Ign http://repo.mongodb.com trusty/mongodb-enterprise/3.6/multiverse Translation-en_US
mongod-m103: Ign http://repo.mongodb.com trusty/mongodb-enterprise/3.6/multiverse Translation-en
mongod-m103: Hit http://archive.ubuntu.com trusty-updates/multiverse Sources
mongod-m103: Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages
mongod-m103: Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
mongod-m103: Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages
mongod-m103: Hit http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages
mongod-m103: Hit http://archive.ubuntu.com trusty-updates/main Translation-en
mongod-m103: Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
mongod-m103: Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
mongod-m103: Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
mongod-m103: Hit http://archive.ubuntu.com trusty-backports/main Sources
mongod-m103: Hit http://archive.ubuntu.com trusty-backports/restricted Sources
mongod-m103: Hit http://archive.ubuntu.com trusty-backports/universe Sources
mongod-m103: Hit http://archive.ubuntu.com trusty-backports/multiverse Sources
mongod-m103: Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
mongod-m103: Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
mongod-m103: Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
mongod-m103: Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
mongod-m103: Hit http://archive.ubuntu.com trusty-backports/main Translation-en
mongod-m103: Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
mongod-m103: Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
mongod-m103: Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
mongod-m103: Hit http://archive.ubuntu.com trusty Release
mongod-m103: Hit http://archive.ubuntu.com trusty/main Sources
mongod-m103: Hit http://archive.ubuntu.com trusty/restricted Sources
mongod-m103: Hit http://archive.ubuntu.com trusty/universe Sources
mongod-m103: Hit http://archive.ubuntu.com trusty/multiverse Sources
mongod-m103: Hit http://archive.ubuntu.com trusty/main amd64 Packages
mongod-m103: Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
mongod-m103: Hit http://archive.ubuntu.com trusty/universe amd64 Packages
mongod-m103: Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
mongod-m103: Hit http://archive.ubuntu.com trusty/main Translation-en
mongod-m103: Hit http://archive.ubuntu.com trusty/multiverse Translation-en
mongod-m103: Hit http://archive.ubuntu.com trusty/restricted Translation-en
mongod-m103: Hit http://archive.ubuntu.com trusty/universe Translation-en
mongod-m103: Ign http://archive.ubuntu.com trusty/main Translation-en_US
mongod-m103: Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US
mongod-m103: Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
mongod-m103: Ign http://archive.ubuntu.com trusty/universe Translation-en_US
mongod-m103: Reading package lists…
mongod-m103: + echo ‘Installing MongoDB Enterprise Dependencies’
mongod-m103: Installing MongoDB Enterprise Dependencies
mongod-m103: + sudo apt-get install -y libgssapi-krb5-2 libsasl2-2 libssl1.0.0 libstdc++6 snmp
mongod-m103: Reading package lists…
mongod-m103: Building dependency tree…
mongod-m103: Reading state information…
mongod-m103: libsasl2-2 is already the newest version.
mongod-m103: libgssapi-krb5-2 is already the newest version.
mongod-m103: libssl1.0.0 is already the newest version.
mongod-m103: libstdc++6 is already the newest version.
mongod-m103: snmp is already the newest version.
mongod-m103: 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
mongod-m103: + install_mongod
mongod-m103: + echo ‘Install MongoDB Enterprise’
mongod-m103: Install MongoDB Enterprise
mongod-m103: + sudo apt-get install --force-yes -y mongodb-enterprise
mongod-m103: Reading package lists…
mongod-m103: Building dependency tree…
mongod-m103: Reading state information…
mongod-m103: mongodb-enterprise is already the newest version.
mongod-m103: 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
mongod-m103: + mkdir -p /var/log/mongodb/
mongod-m103: + sudo chown vagrant:vagrant -R /var/log/mongodb
mongod-m103: + sudo chown vagrant:vagrant -R /var/lib/mongodb
mongod-m103: + sudo echo ’
mongod-m103: security:
mongod-m103: + sudo tee -a /etc/mongod.conf
mongod-m103: authorization: enabled’
mongod-m103:
mongod-m103: security:
mongod-m103: authorization: enabled
mongod-m103: + echo ‘Done installing MongoDB Enterprise’
mongod-m103: Done installing MongoDB Enterprise
mongod-m103: + user_setup
mongod-m103: + sudo sh -c ‘killall mongod; true’
mongod-m103: mongod: no process found
mongod-m103: + sudo mkdir -p /data
mongod-m103: + sudo chmod -R 777 /data
mongod-m103: + mkdir -p /data/db
mongod-m103: + mkdir -p /home/vagrant/data
mongod-m103: + chmod -R 777 /home/vagrant/data
mongod-m103: + chown -R vagrant:vagrant /home/vagrant/data
mongod-m103: + mkdir -p /var/m103/validation
mongod-m103: + echo ‘Set LC_ALL=C to .profile’
mongod-m103: Set LC_ALL=C to .profile
mongod-m103: + sudo echo ‘export LC_ALL=C’
mongod-m103: + sudo echo PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/var/m103/validation
mongod-m103: + data_path
mongod-m103: + sudo mkdir -p /data
mongod-m103: + sudo chown -R vagrant:vagrant /data
mongod-m103: + install_pymongo
mongod-m103: + sudo apt-get -y install python-pip
mongod-m103: Reading package lists…
mongod-m103: Building dependency tree…
mongod-m103: Reading state information…
mongod-m103: python-pip is already the newest version.
mongod-m103: 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
mongod-m103: + sudo pip install pymongo
mongod-m103: Requirement already satisfied (use --upgrade to upgrade): pymongo in /usr/local/lib/python2.7/dist-packages
mongod-m103: Cleaning up…
mongod-m103: + download_dataset
mongod-m103: + echo ‘Downloading Dataset’
mongod-m103: Downloading Dataset
mongod-m103: + curl -s https://s3.amazonaws.com/edu-static.mongodb.com/lessons/M103/products.json.tgz -o products.json.tgz
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
C02WT3B1HTD6MBP:/Users/axc08/university/m103/m103-vagrant-env> curl -s https://s3.amazonaws.com/edu-static.mongodb.com/lessons/M103/products.json.tgz -o products.json.tgz
C02WT3B1HTD6MBP:/Users/axc08/university/m103/m103-vagrant-env> ls -ltr
total 22696
-rw-r–r--@ 1 axc08 staff 811 Apr 12 22:08 Vagrantfile
-rw-r–r--@ 1 axc08 staff 4672 Apr 12 22:38 provision-mongod.orig
-rw-r–r--@ 1 axc08 staff 4783 Apr 12 22:39 provision-mongod
drwxr-xr-x 2 axc08 staff 64 Apr 12 22:42 shared
drwxr-xr-x 2 axc08 staff 64 Apr 12 22:42 dataset
-rw-r–r-- 1 axc08 staff 11314280 Apr 13 01:36 products.json.tgz
C02WT3B1HTD6MBP:/Users/axc08/university/m103/m103-vagrant-env> vagrant ssh
Welcome to Ubuntu 14.04.6 LTS (GNU/Linux 3.13.0-168-generic x86_64)
System information as of Sat Apr 13 05:36:06 UTC 2019
System load: 0.01 Processes: 84
Usage of /: 4.9% of 39.34GB Users logged in: 0
Memory usage: 8% IP address for eth0: 10.0.2.15
Swap usage: 0% IP address for eth1: 192.168.103.100
Graph this data and manage this system at:
https://landscape.canonical.com/
New release ‘16.04.6 LTS’ available.
Run ‘do-release-upgrade’ to upgrade to it.
Last login: Sat Apr 13 05:32:09 2019 from 10.0.2.2
vagrant@m103:~$
Thanks a lot.
~amrita