Handy locations for MongoDB servers running on Amazon Linux
In this post I will keep track of handy locations for logs and configuration files on MongoDB servers running on Amazon Linux.
What is MongoDB?
MongoDB is a document database that provides high performance, high availability, and easy scalability.
What is Amazon Linux?
The Amazon Linux AMI is a supported and maintained Linux image provided by Amazon Web Services for use on Amazon Elastic Compute Cloud (Amazon EC2). It is designed to provide a stable, secure, and high performance execution environment for applications running on Amazon EC2.
Where is MongoDB installed?
When MongoDB is installed via YUM is can be found here
/usr/bin/mongo
Where are the MongoDB log files?
You can file the MongoDB log files here
/var/log/mongo/mongod.log - mongo log /var/log/mongo/watchdog.log - mongo watchdog log
Where is the MongoDB initd script?
You can find the MongoDB initd script here
/etc/init.d/mongod
Where is the MongoDB configuration file?
You can find the MongoDB configuration file here
/etc/mongod.conf
Add Yours
YOU