502 bad gateway error

Posted on 2011-10-20
Last Modified: 2012-05-12
We have an internal server here at work that we use for staging purposes.  Yesterday there was a power outage - and when we turned the server back on today it's being glitchy.

I'm a PHP guy - with minimal knowledge of server configurations - so any help would be greatly appreciated.  :)

Here's what I'm getting:
If I ping the server, using the domain name, I get the appropriate response.  It's being found.
If I attempt to make http calls to it (meaning - through my browser) - the connections are rejected.  On Chrome it gives an error 102, and on my phone it says error 502, bad gateway

What could be wrong?  Where would you start?  :)

A little bit of info on the server:

Fedora 12
Has Railo installed on it
Has Tomcat installed on it
I'm assuming it runs off of Apache - and that neither Railo nor Tomcat are substitutes for apache, correct?
Question by:erzoolander
    LVL 8

    Expert Comment

    Do you have a proxy enabled in your internet settings?  Disabling it might get you to connect.
    LVL 1

    Author Comment

    I assume you mean on my client devices (computer, phone, etc)?  Nope.

    Everything was working up until the power outage...which impacted only the server here.  So - I'm guessing it's not a client computer issue.
    LVL 8

    Accepted Solution

    Default location for error log files on Fedora is  /var/log/httpd/error_log.  That file should be able to give a better clue (feel free to post it here if you can).

    Featured Post

    Live: Real-Time Solutions, Start Here

    Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

    Join & Write a Comment

    Suggested Solutions

    Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
    If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now