web server isnt responding :(

Discussion in 'Web Server' started by greenEmerald, Dec 7, 2012.

  1. greenEmerald

    greenEmerald New Member

    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    We have a website server set up for payments on a GNU/Linux machine. Now, I can ping the Linux box, it can ping our main server(Windows 2008 R2).

    Heres the problem: When someone tries to make a payment, it says: Cannot reach host: payments.lake.lw(That is the website on the Linux box)

    Somebody please help! I have already rebooted the Linux box and power cycled the network equipment.This is stressful and I have already done everything imaginable(i.e. checked physical connections, pinged sites from Linux box, pinged Linux box from multiple machines) I did not set this Linux web site crap up. Is there a simple on off switch I am not seeing? I did not change anything yet this problem just popped up yesterday. Thanks for your time and answers in advance. Any help will be GREATLY appreciated.

  2. hackinjack

    hackinjack New Member

    Messages:
    22
    Likes Received:
    2
    Trophy Points:
    0
    You've not given enough information for me to do more than take a stab in the dark.

    What Linux type and version is this? Debian, Ubuntu, RedHat, CentOS ? You should get a banner on login telling you.
    what webserver is running on this box - apache, glassfish, ngnix?
    Is it using SSL - could the server certificate have expired perhaps since you say it failed all of a sudden? That'd be one of the first things I'd look at in this scenario. You can check this using:

    I'll assume you're using standard https port 443 - adapt if you are not...

    Code:
    echo "" | openssl s_client -connect tv.eurosport.com:443 > /tmp/x
    openssl x509 -in /tmp/x -noout -enddate
    Otherwise you probably need to check the basic stuff like disk space, hardware health etc. A full disk may prevent the webserver service from running/starting. In fact, check that stuff anyway as a proactive step. If you don't know where to look for this info here are some commands:

    Code:
    df -h                        # will show disk space - look for 100% used figures or approaching that
    less /var/log/syslog    # will show the system log, 1 page at a time - q to quit. Scan for error messages
    
    You may need to substitute /var/log/messages for /var/log syslog above, depending on the Linux distribution used.

    A word to the wise: You are asking for help from a Linux community on a Linux forum, so you might want to consider that it's not very diplomatic to refer to "this Linux web site crap" when seeking that assistance. It may well be crap, I have no idea how it has been designed or implemented, but that tone won't do much to solicit replies. Linux webservers work perfectly well when correctly set up, and Linux/Apache has far more market share than any other vendor (see below). Don't blame the tools for your lack of experience.

    Webserver Market Share Table

    [TABLE="class: centered"]
    [TR="bgcolor: transparent"]
    [TH="bgcolor: #E0EAEF, align: center"]Developer[/TH]
    [TH="bgcolor: #E0EAEF, align: center"]January 2013[/TH]
    [TH="bgcolor: #E0EAEF, align: center"]Percent[/TH]
    [TH="bgcolor: #E0EAEF, align: center"]February 2013[/TH]
    [TH="bgcolor: #E0EAEF, align: center"]Percent[/TH]
    [TH="bgcolor: #E0EAEF, align: center"]Change[/TH]
    [/TR]
    [TR="bgcolor: transparent"]
    [TD="bgcolor: transparent, align: left"]Apache[/TD]
    [TD="bgcolor: transparent"]348,119,032[/TD]
    [TD="bgcolor: transparent"]55.26%[/TD]
    [TD="bgcolor: transparent"]344,915,105[/TD]
    [TD="bgcolor: transparent"]54.68%[/TD]
    [TD="bgcolor: transparent"]-0.58[/TD]
    [/TR]
    [TR="bgcolor: transparent"]
    [TD="bgcolor: transparent, align: left"]Microsoft[/TD]
    [TD="bgcolor: transparent"]106,619,177[/TD]
    [TD="bgcolor: transparent"]16.93%[/TD]
    [TD="bgcolor: transparent"]104,647,425[/TD]
    [TD="bgcolor: transparent"]16.59%[/TD]
    [TD="bgcolor: transparent"]-0.34[/TD]
    [/TR]
    [TR="bgcolor: transparent"]
    [TD="bgcolor: transparent, align: left"]nginx[/TD]
    [TD="bgcolor: transparent"]79,640,472[/TD]
    [TD="bgcolor: transparent"]12.64%[/TD]
    [TD="bgcolor: transparent"]81,074,694[/TD]
    [TD="bgcolor: transparent"]12.85%[/TD]
    [TD="bgcolor: transparent"]0.21[/TD]
    [/TR]
    [TR="bgcolor: transparent"]
    [TD="bgcolor: transparent, align: left"]Google[/TD]
    [TD="bgcolor: transparent"]22,573,858[/TD]
    [TD="bgcolor: transparent"]3.58%[/TD]
    [TD="bgcolor: transparent"]22,717,984[/TD]
    [TD="bgcolor: transparent"]3.60%[/TD]
    [TD="bgcolor: transparent"]0.02[/TD]
    [/TR]
    [/TABLE]

    source: netcraft.com http://news.netcraft.com/archives/category/web-server-survey/

    Hope that helped.
  3. greenEmerald

    greenEmerald New Member

    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    I fixed this problem long before your reply. Thanks for the troubleshooting steps.
    And,for the record, I didnt have a "tone". I was aggravated and frustrated to the point where I wanted to punch a hole through the dry wall because I was the only one having this issue and no one could lend advice. I was NOT bashing linux, just my current issue.I think your just reading things with your tampon up too far. Learn to take everything with a grain of rice my friend, you will live longer in life. Good day sir.

Share This Page