Skip to content

Instantly share code, notes, and snippets.

@gzoller
Created September 15, 2015 02:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gzoller/5ff4737e9aa1a55bd211 to your computer and use it in GitHub Desktop.
Save gzoller/5ff4737e9aa1a55bd211 to your computer and use it in GitHub Desktop.
Mongo Error
root@e427cd230b83:/# cat /var/log/mongodb/mongodb.log
Tue Sep 15 00:01:55 [initandlisten] MongoDB starting : pid=12 port=27017 dbpath=/var/lib/mongodb 64-bit host=e427cd230b83
Tue Sep 15 00:01:55 [initandlisten] db version v2.0.6, pdfile version 4.5
Tue Sep 15 00:01:55 [initandlisten] git version: nogitversion
Tue Sep 15 00:01:55 [initandlisten] build info: Linux z6 3.8-trunk-amd64 #1 SMP Debian 3.8.3-1~experimental.1 x86_64 BOOST_LIB_VERSION=1_49
Tue Sep 15 00:01:55 [initandlisten] options: { command: [ "run" ], config: "/etc/mongodb.conf", dbpath: "/var/lib/mongodb", journal: "true", logappend: "true", logpath: "/var/log/mongodb/mongodb.log", unixSocketPrefix: "/var/run/mongodb" }
Tue Sep 15 00:01:55 [initandlisten] Assertion: 13651:Couldn't fsync directory '/var/lib/mongodb': errno:22 Invalid argument
0x5d74b3 0x5ddcd9 0x5dc3a9 0x7cc596 0x8d12c3 0x8d22d8 0x58f02c 0x7f42509b8ead 0x58f8e9
/usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x23) [0x5d74b3]
/usr/bin/mongod(_ZN5mongo11msgassertedEiPKc+0xb9) [0x5ddcd9]
/usr/bin/mongod(_ZN5mongo16flushMyDirectoryERKN5boost11filesystem210basic_pathISsNS1_11path_traitsEEE+0x2a9) [0x5dc3a9]
/usr/bin/mongod(_ZN5mongo15acquirePathLockEb+0x176) [0x7cc596]
/usr/bin/mongod(_ZN5mongo14_initAndListenEi+0x393) [0x8d12c3]
/usr/bin/mongod(_ZN5mongo13initAndListenEi+0x18) [0x8d22d8]
/usr/bin/mongod(main+0x2ebc) [0x58f02c]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f42509b8ead]
/usr/bin/mongod() [0x58f8e9]
Tue Sep 15 00:01:55 [initandlisten] exception in initAndListen: 13651 Couldn't fsync directory '/var/lib/mongodb': errno:22 Invalid argument, terminating
Tue Sep 15 00:01:55 dbexit:
Tue Sep 15 00:01:55 [initandlisten] shutdown: going to close listening sockets...
Tue Sep 15 00:01:55 [initandlisten] shutdown: going to flush diaglog...
Tue Sep 15 00:01:55 [initandlisten] shutdown: going to close sockets...
Tue Sep 15 00:01:55 [initandlisten] shutdown: waiting for fs preallocator...
Tue Sep 15 00:01:55 [initandlisten] shutdown: lock for final commit...
Tue Sep 15 00:01:55 [initandlisten] shutdown: final commit...
Tue Sep 15 00:01:55 [initandlisten] shutdown: closing all files...
Tue Sep 15 00:01:55 [initandlisten] closeAllFiles() finished
Tue Sep 15 00:01:55 [initandlisten] shutdown: removing fs lock...
Tue Sep 15 00:01:55 dbexit: really exiting now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment