Last active
September 25, 2015 02:29
-
-
Save melissamarima/ae9e60bd7e75f871e350 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
melissa@simba:/$ sudo chmod -R /data mongodb | |
chmod: invalid mode: `/data' | |
Try `chmod --help' for more information. | |
melissa@simba:/$ cd /data/ | |
melissa@simba:/data$ ls -alt | |
total 12 | |
drwxr-xr-x 3 melissa root 4096 2015-09-24 19:14 db | |
drwxr-xr-x 23 root root 4096 2015-09-15 00:47 .. | |
drwxr-xr-x 3 root root 4096 2013-01-31 07:45 . | |
melissa@simba:/$ mongo | |
MongoDB shell version: 2.6.11 | |
connecting to: test | |
2015-09-25T02:25:10.073+0000 warning: Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused | |
2015-09-25T02:25:10.074+0000 Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed at src/mongo/shell/mongo.js:146 | |
exception: connect failed | |
melissa@simba:/$ mongod & | |
[1] 16994 | |
melissa@simba:/$ mongod --help for help and startup options | |
2015-09-25T02:25:24.612+0000 [initandlisten] MongoDB starting : pid=16994 port=27017 dbpath=/data/db 64-bit host=simba | |
2015-09-25T02:25:24.612+0000 [initandlisten] db version v2.6.11 | |
2015-09-25T02:25:24.612+0000 [initandlisten] git version: d00c1735675c457f75a12d530bee85421f0c5548 | |
2015-09-25T02:25:24.612+0000 [initandlisten] build info: Linux build4.ny.cbi.10gen.cc 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 BOOST_LIB_VERSION=1_49 | |
2015-09-25T02:25:24.612+0000 [initandlisten] allocator: tcmalloc | |
2015-09-25T02:25:24.612+0000 [initandlisten] options: {} | |
2015-09-25T02:25:24.615+0000 [initandlisten] journal dir=/data/db/journal | |
2015-09-25T02:25:24.615+0000 [initandlisten] recover : no journal files present, no recovery needed | |
2015-09-25T02:25:24.615+0000 [initandlisten] | |
2015-09-25T02:25:24.615+0000 [initandlisten] ERROR: Insufficient free space for journal files | |
2015-09-25T02:25:24.615+0000 [initandlisten] Please make at least 3379MB available in /data/db/journal or use --smallfiles | |
2015-09-25T02:25:24.615+0000 [initandlisten] | |
2015-09-25T02:25:24.616+0000 [initandlisten] exception in initAndListen: 15926 Insufficient free space for journals, terminating | |
2015-09-25T02:25:24.616+0000 [initandlisten] dbexit: | |
2015-09-25T02:25:24.616+0000 [initandlisten] shutdown: going to close listening sockets... | |
2015-09-25T02:25:24.616+0000 [initandlisten] shutdown: going to flush diaglog... | |
2015-09-25T02:25:24.616+0000 [initandlisten] shutdown: going to close sockets... | |
2015-09-25T02:25:24.616+0000 [initandlisten] shutdown: waiting for fs preallocator... | |
2015-09-25T02:25:24.616+0000 [initandlisten] shutdown: lock for final commit... | |
2015-09-25T02:25:24.616+0000 [initandlisten] shutdown: final commit... | |
2015-09-25T02:25:24.616+0000 [initandlisten] shutdown: closing all files... | |
2015-09-25T02:25:24.616+0000 [initandlisten] closeAllFiles() finished | |
2015-09-25T02:25:24.616+0000 [initandlisten] journalCleanup... | |
2015-09-25T02:25:24.616+0000 [initandlisten] removeJournalFiles | |
2015-09-25T02:25:24.616+0000 [initandlisten] shutdown: removing fs lock... | |
2015-09-25T02:25:24.617+0000 [initandlisten] dbexit: really exiting now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment