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

Further reading



Comments

No comments yet.

Add Yours

  • Author Avatar

    YOU


Comment Arrow




About Author

Robert

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning hands down.