Category Archives: OSX

Mongod error | exception in initAndListen std::exception: locale::facet::_S_create_c_locale name not valid

I got this error while trying to start mongodb on amazon ec2. Running this command in the terminal solved the problem. export LC_ALL=C I don’t have any idea about what it means at this time except that it sets the … Continue reading

Posted in MongoDB, OSX, PYTHON | Tagged , , | Leave a comment

Where is httpd.conf file in Mac OSX Lion

On mac httpd.conf file is located in the directory /etc/apache2/. You can access it through terminal if you want to navigate to it through finder, on finder toolbar goto go->go to folder and type in /etc/apache2

Posted in OSX, Web Development | Tagged , , | Leave a comment

Make command not found in Mac OSX

If you get a -bash: make: command not found error while trying to compile from source, you have to install xcode and then in xcode goto preferences->downloads and install xcode developer tools Download Xcode I’m not sure if you can … Continue reading

Posted in Coding, OSX | Tagged , , , | Leave a comment