Making sure NGINX and MongoDB are running (AEN 4.1.3)#
In order for AEN to run, the dependencies mongodb and nginx must be up and running. If either of these fail to start, AEN will not be served on port 80.
Check if nginx and mongod are both running (RHEL 6x):
$ sudo service nginx status
nginx (pid 25956) is running...
$ sudo service mongod status
mongod (pid 25928) is running...
If either of these failed to start, tail the log files. The default location of log files is:
$ tail -n 50 /var/log/mongodb/mongod.log
# nginx errors reported in error.log
$ tail -n 50 /var/log/nginx/error.log