Making sure NGINX and MongoDB are running (AEN 4.2.0)
=====================================================

.. raw:: html

    <p>In order for AEN to run, the dependencies <cite>mongodb</cite> and <cite>nginx</cite> must be up and running. If
    either of these fail to start, AEN will not be served on port 80.</p>
    <p>Check if <cite>nginx</cite> and <cite>mongod</cite> are both running (RHEL 6x):</p>
    <div class="highlight-default"><div class="highlight"><pre><span></span>$ sudo service nginx status
    nginx (pid  25956) is running...

    $ sudo service mongod status
    mongod (pid 25928) is running...
    </pre></div>
    </div>
    <p>If either of these failed to start, tail the log files. The default location of log files is:</p>
    <div class="highlight-default"><div class="highlight"><pre><span></span>$ tail -n 50 /var/log/mongodb/mongod.log

    # nginx errors reported in error.log
    $ tail -n 50 /var/log/nginx/error.log
    </pre></div>
    </div>
