FWROOT is /home/techempower/FrameworkBenchmarks Configuration options: {'client_host': '10.0.3.3', 'client_identity_file': '/home/techempower/.ssh/id_rsa', 'client_user': 'techempower', 'concurrency_levels': [8, 16, 32, 64, 128, 256], 'conf_file': 'benchmark.cfg', 'database_host': '10.0.3.5', 'database_identity_file': '/home/techempower/.ssh/id_rsa', 'database_os': 'linux', 'database_user': 'techempower', 'duration': 15, 'exclude': None, 'install': 'database', 'install_error_action': 'continue', 'install_only': True, 'install_strategy': 'unified', 'list_test_metadata': False, 'list_tests': False, 'mode': 'benchmark', 'name': 'ec2', 'os': 'linux', 'parse': None, 'password_prompt': False, 'query_levels': [1, 5, 10, 15, 20], 'runner_user': 'testrunner', 'server_host': '10.0.3.2', 'sleep': 60, 'test': None, 'threads': 40, 'type': 'all', 'verbose': True} WARNING:root:results.json for test ec2 not found. WARNING:root:Framework redstone does not define a default test in benchmark_config WARNING:root:Framework stream does not define a default test in benchmark_config WARNING:root:Framework start does not define a default test in benchmark_config WARNING:root:Framework wildfly-ee7 does not define a default test in benchmark_config WARNING:root:Framework play2 does not define a default test in benchmark_config WARNING:root:Framework rails-stripped does not define a default test in benchmark_config WARNING:root:Framework padrino does not define a default test in benchmark_config WARNING:root:Framework rack does not define a default test in benchmark_config WARNING:root:Framework sinatra does not define a default test in benchmark_config WARNING:root:Framework grape does not define a default test in benchmark_config WARNING:root:Framework rails does not define a default test in benchmark_config WARNING:root:Framework yaf does not define a default test in benchmark_config WARNING:root:Framework pyramid does not define a default test in benchmark_config WARNING:root:Framework servicestack does not define a default test in benchmark_config WARNING:root:Framework play2 does not define a default test in benchmark_config INSTALL: Installing database software INSTALL: yes yes | cd .. && sftp -oStrictHostKeyChecking=no -b ../config/database_sftp_batch -i /home/techempower/.ssh/id_rsa techempower@10.0.3.5 (cwd=$FWROOT/installs) yes: standard output: Broken pipe yes: write error sftp> lcd .. sftp> put config/my.cnf Uploading config/my.cnf to /home/techempower/my.cnf sftp> put config/mongodb.conf Uploading config/mongodb.conf to /home/techempower/mongodb.conf sftp> put config/create.sql Uploading config/create.sql to /home/techempower/create.sql sftp> put config/create.js Uploading config/create.js to /home/techempower/create.js sftp> put config/create-postgres-database.sql Uploading config/create-postgres-database.sql to /home/techempower/create-postgres-database.sql sftp> put config/create-postgres.sql Uploading config/create-postgres.sql to /home/techempower/create-postgres.sql sftp> put config/postgresql.conf Uploading config/postgresql.conf to /home/techempower/postgresql.conf sftp> put config/pg_hba.conf Uploading config/pg_hba.conf to /home/techempower/pg_hba.conf sftp> put config/usr.sbin.mysqld Uploading config/usr.sbin.mysqld to /home/techempower/usr.sbin.mysqld sftp> put config/60-postgresql-shm.conf Uploading config/60-postgresql-shm.conf to /home/techempower/60-postgresql-shm.conf sftp> put config/mysql Uploading config/mysql to /home/techempower/mysql sftp> put config/mysql.conf Uploading config/mysql.conf to /home/techempower/mysql.conf sftp> -mkdir cassandra Couldn't create directory: Failure sftp> put -r config/cassandra Uploading config/cassandra/ to /home/techempower/cassandra sftp> put config/redis.conf Uploading config/redis.conf to /home/techempower/redis.conf sftp> put config/create-redis.sh Uploading config/create-redis.sh to /home/techempower/create-redis.sh INSTALL: ssh -T -o StrictHostKeyChecking=no techempower@10.0.3.5 -i /home/techempower/.ssh/id_rsa + export DEBIAN_FRONTEND=noninteractive + DEBIAN_FRONTEND=noninteractive + source /etc/lsb-release ++ DISTRIB_ID=Ubuntu ++ DISTRIB_RELEASE=14.04 ++ DISTRIB_CODENAME=trusty ++ DISTRIB_DESCRIPTION='Ubuntu 14.04 LTS' + export TFB_DISTRIB_ID=Ubuntu + TFB_DISTRIB_ID=Ubuntu + export TFB_DISTRIB_RELEASE=14.04 + TFB_DISTRIB_RELEASE=14.04 + export TFB_DISTRIB_CODENAME=trusty + TFB_DISTRIB_CODENAME=trusty + export 'TFB_DISTRIB_DESCRIPTION=Ubuntu 14.04 LTS' + TFB_DISTRIB_DESCRIPTION='Ubuntu 14.04 LTS' + sudo apt-get -y update Ign http://downloads-distro.mongodb.org dist InRelease Hit http://downloads-distro.mongodb.org dist Release.gpg Hit http://downloads-distro.mongodb.org dist Release Ign http://us.archive.ubuntu.com trusty InRelease Ign http://us.archive.ubuntu.com trusty-updates InRelease Ign http://us.archive.ubuntu.com trusty-backports InRelease Hit http://downloads-distro.mongodb.org dist/10gen amd64 Packages Hit http://downloads-distro.mongodb.org dist/10gen i386 Packages Hit http://us.archive.ubuntu.com trusty Release.gpg Hit http://us.archive.ubuntu.com trusty-updates Release.gpg Ign http://downloads-distro.mongodb.org dist/10gen Translation-en_US Ign http://downloads-distro.mongodb.org dist/10gen Translation-en Hit http://us.archive.ubuntu.com trusty-backports Release.gpg Ign http://security.ubuntu.com trusty-security InRelease Hit http://us.archive.ubuntu.com trusty Release Hit http://us.archive.ubuntu.com trusty-updates Release Hit http://us.archive.ubuntu.com trusty-backports Release Hit http://us.archive.ubuntu.com trusty/main Sources Hit http://us.archive.ubuntu.com trusty/restricted Sources Hit http://us.archive.ubuntu.com trusty/universe Sources Hit http://security.ubuntu.com trusty-security Release.gpg Hit http://us.archive.ubuntu.com trusty/multiverse Sources Hit http://us.archive.ubuntu.com trusty/main amd64 Packages Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages Hit http://us.archive.ubuntu.com trusty/main i386 Packages Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages Hit http://security.ubuntu.com trusty-security Release Hit http://us.archive.ubuntu.com trusty/universe i386 Packages Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages Hit http://security.ubuntu.com trusty-security/main Sources Hit http://us.archive.ubuntu.com trusty/main Translation-en Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en Hit http://us.archive.ubuntu.com trusty/restricted Translation-en Hit http://us.archive.ubuntu.com trusty/universe Translation-en Hit http://security.ubuntu.com trusty-security/restricted Sources Hit http://us.archive.ubuntu.com trusty-updates/main Sources Hit http://us.archive.ubuntu.com trusty-updates/restricted Sources Hit http://us.archive.ubuntu.com trusty-updates/universe Sources Hit http://us.archive.ubuntu.com trusty-updates/multiverse Sources Hit http://us.archive.ubuntu.com trusty-updates/main amd64 Packages Hit http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages Hit http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages Hit http://security.ubuntu.com trusty-security/universe Sources Hit http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages Hit http://us.archive.ubuntu.com trusty-updates/main i386 Packages Hit http://security.ubuntu.com trusty-security/multiverse Sources Hit http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages Hit http://us.archive.ubuntu.com trusty-updates/universe i386 Packages Hit http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en Hit http://security.ubuntu.com trusty-security/main amd64 Packages Hit http://us.archive.ubuntu.com trusty-backports/main Sources Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources Hit http://us.archive.ubuntu.com trusty-backports/universe Sources Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources Hit http://us.archive.ubuntu.com trusty-backports/main amd64 Packages Hit http://us.archive.ubuntu.com trusty-backports/restricted amd64 Packages Hit http://us.archive.ubuntu.com trusty-backports/universe amd64 Packages Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages Hit http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages Hit http://security.ubuntu.com trusty-security/universe amd64 Packages Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages Hit http://security.ubuntu.com trusty-security/main i386 Packages Ign http://us.archive.ubuntu.com trusty/main Translation-en_US Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US Hit http://security.ubuntu.com trusty-security/restricted i386 Packages Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US Hit http://security.ubuntu.com trusty-security/universe i386 Packages Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages Hit http://security.ubuntu.com trusty-security/main Translation-en Hit http://security.ubuntu.com trusty-security/multiverse Translation-en Hit http://security.ubuntu.com trusty-security/restricted Translation-en Hit http://security.ubuntu.com trusty-security/universe Translation-en Reading package lists... W: Duplicate sources.list entry http://downloads-distro.mongodb.org/repo/ubuntu-upstart/ dist/10gen amd64 Packages (/var/lib/apt/lists/downloads-distro.mongodb.org_repo_ubuntu-upstart_dists_dist_10gen_binary-amd64_Packages) W: Duplicate sources.list entry http://downloads-distro.mongodb.org/repo/ubuntu-upstart/ dist/10gen i386 Packages (/var/lib/apt/lists/downloads-distro.mongodb.org_repo_ubuntu-upstart_dists_dist_10gen_binary-i386_Packages) W: You may want to run apt-get update to correct these problems + sudo apt-get -y install -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold build-essential git libev-dev libpq-dev libreadline6-dev postgresql redis-server lsb-core Reading package lists... Building dependency tree... Reading state information... build-essential is already the newest version. libreadline6-dev is already the newest version. lsb-core is already the newest version. postgresql is already the newest version. libev-dev is already the newest version. redis-server is already the newest version. git is already the newest version. libpq-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 199 not upgraded. + sudo sh -c 'echo '\''* - nofile 65535'\'' >> /etc/security/limits.conf' + sudo mkdir -p /ssd + sudo mkdir -p /ssd/log + sudo chown -R techempower:techempower /ssd + sudo useradd benchmarkdbuser -p benchmarkdbpass useradd: user 'benchmarkdbuser' already exists Setting up MySQL database + echo 'Setting up MySQL database' + sudo sh -c 'echo mysql-server mysql-server/root_password_again select secret | debconf-set-selections' + sudo sh -c 'echo mysql-server mysql-server/root_password select secret | debconf-set-selections' + sudo apt-get -y install mysql-server Reading package lists... Building dependency tree... Reading state information... mysql-server is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 199 not upgraded. + sudo stop mysql mysql stop/waiting + sudo mv mysql /etc/init.d/mysql + sudo chmod +x /etc/init.d/mysql + sudo mv mysql.conf /etc/init/mysql.conf + sudo mv /etc/mysql/my.cnf /etc/mysql/my.cnf.orig + sudo mv my.cnf /etc/mysql/my.cnf + sudo rm -rf /ssd/mysql + sudo rm -rf /ssd/log/mysql + sudo cp -R -p /var/lib/mysql /ssd/ + sudo cp -R -p /var/log/mysql /ssd/log + sudo cp usr.sbin.mysqld /etc/apparmor.d/ + sudo /etc/init.d/apparmor reload * Reloading AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd ...done. + sudo start mysql mysql start/running, process 30986 + mysql -uroot -psecret + rm create.sql Setting up Postgres database + echo 'Setting up Postgres database' + '[' trusty == precise ']' + sudo service postgresql stop * Stopping PostgreSQL 9.3 database server ...done. + sudo killall -s 9 -u postgres + sudo mv postgresql.conf /etc/postgresql/9.3/main/postgresql.conf + sudo mv pg_hba.conf /etc/postgresql/9.3/main/pg_hba.conf + sudo rm -rf /ssd/postgresql + sudo cp -R -p /var/lib/postgresql/9.3/main /ssd/postgresql + sudo mv 60-postgresql-shm.conf /etc/sysctl.d/60-postgresql-shm.conf + sudo service postgresql start * Starting PostgreSQL 9.3 database server ...done. + sudo -u postgres psql template1 CREATE ROLE DROP DATABASE NOTICE: database "hello_world" does not exist, skipping CREATE DATABASE GRANT + sudo -u benchmarkdbuser psql hello_world DROP TABLE NOTICE: table "world" does not exist, skipping CREATE TABLE INSERT 0 10000 NOTICE: table "fortune" does not exist, skipping DROP TABLE CREATE TABLE INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 DROP TABLE NOTICE: table "World" does not exist, skipping CREATE TABLE INSERT 0 10000 DROP TABLE NOTICE: table "Fortune" does not exist, skipping CREATE TABLE INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 + rm create-postgres-database.sql create-postgres.sql + sudo killall -s 9 -u postgres + sudo service postgresql restart * Restarting PostgreSQL 9.3 database server ...done. Setting up MongoDB database + echo 'Setting up MongoDB database' + sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.zD3Y93TkOZ --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 7F0CEB10 gpg: requesting key 7F0CEB10 from hkp server keyserver.ubuntu.com gpg: key 7F0CEB10: "Richard Kreuter " not changed gpg: Total number processed: 1 gpg: unchanged: 1 + echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' + sudo tee /etc/apt/sources.list.d/mongodb.list deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen + sudo apt-get -y update Ign http://downloads-distro.mongodb.org dist InRelease Hit http://downloads-distro.mongodb.org dist Release.gpg Hit http://downloads-distro.mongodb.org dist Release Ign http://us.archive.ubuntu.com trusty InRelease Ign http://us.archive.ubuntu.com trusty-updates InRelease Ign http://us.archive.ubuntu.com trusty-backports InRelease Ign http://security.ubuntu.com trusty-security InRelease Hit http://downloads-distro.mongodb.org dist/10gen amd64 Packages Hit http://downloads-distro.mongodb.org dist/10gen i386 Packages Hit http://security.ubuntu.com trusty-security Release.gpg Hit http://us.archive.ubuntu.com trusty Release.gpg Hit http://security.ubuntu.com trusty-security Release Ign http://downloads-distro.mongodb.org dist/10gen Translation-en_US Hit http://us.archive.ubuntu.com trusty-updates Release.gpg Ign http://downloads-distro.mongodb.org dist/10gen Translation-en Hit http://us.archive.ubuntu.com trusty-backports Release.gpg Hit http://security.ubuntu.com trusty-security/main Sources Hit http://us.archive.ubuntu.com trusty Release Hit http://security.ubuntu.com trusty-security/restricted Sources Hit http://security.ubuntu.com trusty-security/universe Sources Hit http://us.archive.ubuntu.com trusty-updates Release Hit http://security.ubuntu.com trusty-security/multiverse Sources Hit http://us.archive.ubuntu.com trusty-backports Release Hit http://security.ubuntu.com trusty-security/main amd64 Packages Hit http://us.archive.ubuntu.com trusty/main Sources Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages Hit http://us.archive.ubuntu.com trusty/restricted Sources Hit http://security.ubuntu.com trusty-security/universe amd64 Packages Hit http://us.archive.ubuntu.com trusty/universe Sources Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages Hit http://us.archive.ubuntu.com trusty/multiverse Sources Hit http://security.ubuntu.com trusty-security/main i386 Packages Hit http://us.archive.ubuntu.com trusty/main amd64 Packages Hit http://security.ubuntu.com trusty-security/restricted i386 Packages Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages Hit http://security.ubuntu.com trusty-security/universe i386 Packages Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages Hit http://security.ubuntu.com trusty-security/main Translation-en Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages Hit http://security.ubuntu.com trusty-security/multiverse Translation-en Hit http://us.archive.ubuntu.com trusty/main i386 Packages Hit http://security.ubuntu.com trusty-security/restricted Translation-en Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages Hit http://security.ubuntu.com trusty-security/universe Translation-en Hit http://us.archive.ubuntu.com trusty/universe i386 Packages Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages Hit http://us.archive.ubuntu.com trusty/main Translation-en Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en Hit http://us.archive.ubuntu.com trusty/restricted Translation-en Hit http://us.archive.ubuntu.com trusty/universe Translation-en Hit http://us.archive.ubuntu.com trusty-updates/main Sources Hit http://us.archive.ubuntu.com trusty-updates/restricted Sources Hit http://us.archive.ubuntu.com trusty-updates/universe Sources Hit http://us.archive.ubuntu.com trusty-updates/multiverse Sources Hit http://us.archive.ubuntu.com trusty-updates/main amd64 Packages Hit http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages Hit http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages Hit http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages Hit http://us.archive.ubuntu.com trusty-updates/main i386 Packages Hit http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages Hit http://us.archive.ubuntu.com trusty-updates/universe i386 Packages Hit http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en Hit http://us.archive.ubuntu.com trusty-backports/main Sources Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources Hit http://us.archive.ubuntu.com trusty-backports/universe Sources Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources Hit http://us.archive.ubuntu.com trusty-backports/main amd64 Packages Hit http://us.archive.ubuntu.com trusty-backports/restricted amd64 Packages Hit http://us.archive.ubuntu.com trusty-backports/universe amd64 Packages Hit http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en Ign http://us.archive.ubuntu.com trusty/main Translation-en_US Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US Reading package lists... W: Duplicate sources.list entry http://downloads-distro.mongodb.org/repo/ubuntu-upstart/ dist/10gen amd64 Packages (/var/lib/apt/lists/downloads-distro.mongodb.org_repo_ubuntu-upstart_dists_dist_10gen_binary-amd64_Packages) W: Duplicate sources.list entry http://downloads-distro.mongodb.org/repo/ubuntu-upstart/ dist/10gen i386 Packages (/var/lib/apt/lists/downloads-distro.mongodb.org_repo_ubuntu-upstart_dists_dist_10gen_binary-i386_Packages) W: You may want to run apt-get update to correct these problems + sudo apt-get -y remove mongodb-clients Reading package lists... Building dependency tree... Reading state information... Package 'mongodb-clients' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 199 not upgraded. + sudo apt-get -y install mongodb-org Reading package lists... Building dependency tree... Reading state information... mongodb-org is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 199 not upgraded. + sudo service mongod stop mongod stop/waiting + sudo mv /etc/mongodb.conf /etc/mongodb.conf.orig + sudo cp mongodb.conf /etc/mongodb.conf + sudo mv mongodb.conf /etc/mongod.conf + sudo rm -rf /ssd/mongodb + sudo rm -rf /ssd/log/mongodb + sudo cp -R -p /var/lib/mongodb /ssd/ + sudo cp -R -p /var/log/mongodb /ssd/log/ + sudo service mongod start mongod start/running, process 31340 + for i in '{1..45}' + nc -z localhost 27017 + sleep 1 Waiting for MongoDB (1/45} + echo 'Waiting for MongoDB (1/45}' + for i in '{1..45}' + nc -z localhost 27017 + break + nc -z localhost 27017 + '[' 0 -eq 0 ']' + mongo MongoDB shell version: 2.6.6 connecting to: test switched to db hello_world false WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 10000 }) { "numIndexesBefore" : 1, "note" : "all indexes already exist", "ok" : 1 } false WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 1 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 2 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 3 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 4 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 5 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 6 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 7 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 8 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 9 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 10 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 11 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 12 }) { "numIndexesBefore" : 1, "note" : "all indexes already exist", "ok" : 1 } switched to db hello_world false WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 10000 }) { "numIndexesBefore" : 1, "note" : "all indexes already exist", "ok" : 1 } false WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 1 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 2 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 3 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 4 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 5 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 6 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 7 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 8 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 9 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 10 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 11 }) WriteResult({ "nMatched" : 0, "nUpserted" : 1, "nModified" : 0, "_id" : 12 }) { "numIndexesBefore" : 1, "note" : "all indexes already exist", "ok" : 1 } bye + rm create.js + mongod --version db version v2.6.6 2015-03-05T17:53:36.081-0500 git version: 608e8bc319627693b04cc7da29ecc300a5f45a1f Setting up Apache Cassandra database + echo 'Setting up Apache Cassandra database' + sudo apt-get install -qqy openjdk-7-jdk + sudo addgroup --system cassandra addgroup: The group `cassandra' already exists as a system group. Exiting. + sudo adduser --system --home /ssd/cassandra --no-create-home --ingroup cassandra cassandra The system user `cassandra' already exists. Exiting. + export CASS_V=2.0.12 + CASS_V=2.0.12 + wget -nv http://archive.apache.org/dist/cassandra/2.0.12/apache-cassandra-2.0.12-bin.tar.gz 2015-03-05 17:53:39 URL:http://archive.apache.org/dist/cassandra/2.0.12/apache-cassandra-2.0.12-bin.tar.gz [18069554/18069554] -> "apache-cassandra-2.0.12-bin.tar.gz.1" [1] + sudo tar xzf apache-cassandra-2.0.12-bin.tar.gz -C /opt + sudo ln -s /opt/apache-cassandra-2.0.12 /opt/cassandra + rm -rf /ssd/cassandra /ssd/log/cassandra + mkdir -p /ssd/cassandra /ssd/log/cassandra + sudo chown -R cassandra:cassandra /ssd/cassandra + sudo cp -f cassandra/cassandra.init /etc/init.d/cassandra + sudo cp -f cassandra/cassandra.init.env /etc/default/cassandra + sudo cp -f cassandra/cassandra.yaml /opt/apache-cassandra-2.0.12/conf + sudo cp -f cassandra/log4j-server.properties /opt/apache-cassandra-2.0.12/conf + sudo update-rc.d cassandra defaults System start/stop links for /etc/init.d/cassandra already exist. + sudo service cassandra start + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (1/45} + echo 'Waiting for Cassandra (1/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (2/45} + echo 'Waiting for Cassandra (2/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (3/45} + echo 'Waiting for Cassandra (3/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (4/45} + echo 'Waiting for Cassandra (4/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (5/45} + echo 'Waiting for Cassandra (5/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (6/45} + echo 'Waiting for Cassandra (6/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (7/45} + echo 'Waiting for Cassandra (7/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (8/45} + echo 'Waiting for Cassandra (8/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (9/45} + echo 'Waiting for Cassandra (9/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (10/45} + echo 'Waiting for Cassandra (10/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (11/45} + echo 'Waiting for Cassandra (11/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (12/45} + echo 'Waiting for Cassandra (12/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (13/45} + echo 'Waiting for Cassandra (13/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (14/45} + echo 'Waiting for Cassandra (14/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (15/45} + echo 'Waiting for Cassandra (15/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (16/45} + echo 'Waiting for Cassandra (16/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (17/45} + echo 'Waiting for Cassandra (17/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (18/45} + echo 'Waiting for Cassandra (18/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (19/45} + echo 'Waiting for Cassandra (19/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (20/45} + echo 'Waiting for Cassandra (20/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (21/45} + echo 'Waiting for Cassandra (21/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (22/45} + echo 'Waiting for Cassandra (22/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (23/45} + echo 'Waiting for Cassandra (23/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (24/45} + echo 'Waiting for Cassandra (24/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (25/45} + echo 'Waiting for Cassandra (25/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (26/45} + echo 'Waiting for Cassandra (26/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (27/45} + echo 'Waiting for Cassandra (27/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (28/45} + echo 'Waiting for Cassandra (28/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (29/45} + echo 'Waiting for Cassandra (29/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (30/45} + echo 'Waiting for Cassandra (30/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (31/45} + echo 'Waiting for Cassandra (31/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (32/45} + echo 'Waiting for Cassandra (32/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (33/45} + echo 'Waiting for Cassandra (33/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (34/45} + echo 'Waiting for Cassandra (34/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (35/45} + echo 'Waiting for Cassandra (35/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (36/45} + echo 'Waiting for Cassandra (36/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (37/45} + echo 'Waiting for Cassandra (37/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (38/45} + echo 'Waiting for Cassandra (38/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (39/45} + echo 'Waiting for Cassandra (39/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (40/45} + echo 'Waiting for Cassandra (40/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (41/45} + echo 'Waiting for Cassandra (41/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (42/45} + echo 'Waiting for Cassandra (42/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (43/45} + echo 'Waiting for Cassandra (43/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (44/45} + echo 'Waiting for Cassandra (44/45}' + for i in '{1..45}' + nc -z localhost 9160 + sleep 1 Waiting for Cassandra (45/45} + echo 'Waiting for Cassandra (45/45}' + nc -z localhost 9160 + '[' 1 -eq 0 ']' + echo 'Cassandra did not start, skipping' Cassandra did not start, skipping Setting up Redis database + echo 'Setting up Redis database' + '[' trusty == precise ']' + sudo service redis-server stop Stopping redis-server: redis-server. + sudo mv redis.conf /etc/redis/redis.conf + sudo service redis-server start Starting redis-server: redis-server. + bash create-redis.sh 1 1 2 3 4 5 6 7 8 9 10 11 12 + rm create-redis.sh INSTALL: Finished installing database software