MongoDB

Unauthorized dropDatabase in MangoDB

Normally when you want to drop a database in MongoDB, you just need these command. > use mydatabase; switched to db mydatabase > db.dropDatabase(); Error message with Unauthorized But when you see this error, it mean you are not authorized and not enough level access to run the command. Drop database in MongoDB, you need MongoDB root role. { “ok” : 0, “errmsg” : “not authorized on mydatabase to execute command { dropDatabase: 1.0, writeConcern: { w: \”majority\”, wtimeout: 600000.0 }, lsid[…]

Unauthorized dropDatabase in MangoDB Read More »

MongoDB Error: about to fork child process, waiting until server is ready for connections.

I tried to install MongoDB to CentOS 6.4 64Bit and found the error while I launch mongodb like this: numactl –interleave=all /usr/bin/mongod -f /etc/mongod.conf Here are the error code. about to fork child process, waiting until server is ready for connections. forked process: 9713 Wed Oct 16 02:00:00.640 terminate() called, printing stack (if implemented for platform): 0xdddd81 0x6cfbae 0x35d60203be6 0x35d60203c13 0x35d60203d0e 0x35d601a8ce7 0x35d60201a04 0x35d601ad3bc 0x35d601ae226 0xdfb5df 0[…]

MongoDB Error: about to fork child process, waiting until server is ready for connections. Read More »