Linux

Common Error in CentOS: Failed to set locale, defaulting to C

Failed to set locale, defaulting to C You can see this often in CentOS because you never set the locale for your Linux. You can try this [code lang="bash"] echo "export LC_ALL=en_US.UTF-8" >> /etc/profile export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 export LC_COLLATE=C export LC_CTYPE=en_US.UTF-8 [/code] Then disconnect and reconnect to your bash.

Common Error in CentOS: Failed to set locale, defaulting to C 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 »