Web Servers on Unix and Linux - [Apache 2.0.47] Running but no response

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > May 2005 > [Apache 2.0.47] Running but no response





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [Apache 2.0.47] Running but no response
andre töllner

2005-05-01, 6:09 pm

Hello,

i installed apache 2.0.47 from the original SuSE 9.0 Professional CD. After
i tried a http://localhost/ without any result. Further i tried a telnet
localhost 80 resulted in a connection. GET / printed no response. in the
log-files specially /srv/www/apache2/access_log there is no entry. the only
log entry in /srv/www/apache2/error_log that is different to a friends
error_log is: [warn] Init: Session Cache is not configured [hint:
SSLSessionCache].

thx, for help.

Andre
David Efflandt

2005-05-01, 6:09 pm

On Sun, 01 May 2005 17:55:57 +0200, andre töllner <a.toellner@gmx.de> wrote:
> Hello,
>
> i installed apache 2.0.47 from the original SuSE 9.0 Professional CD. After
> i tried a http://localhost/ without any result. Further i tried a telnet
> localhost 80 resulted in a connection. GET / printed no response. in the
> log-files specially /srv/www/apache2/access_log there is no entry. the only
> log entry in /srv/www/apache2/error_log that is different to a friends
> error_log is: [warn] Init: Session Cache is not configured [hint:
> SSLSessionCache].
>
> thx, for help.
>
> Andre


I assume you hit the enter key twice (blank line) after: GET /
That is actually HTTP 0.9. GET / HTTP/1.0 would be HTTP 1.0, or 1.1
would also require a Host: header.

Does following show any httpd processes: ps ax | grep httpd

Do you have anything listening on port 80: netstat -atn

Are you using personal-firewall (or checked firewall for an internet
connection)? Or have you configured /etc/sysconfig/SuSEfirewall2, and
how? Does /var/log/messages show anything about connections to dpt=80?
andre töllner

2005-05-02, 7:46 am

> I assume you hit the enter key twice (blank line) after: GET /
> That is actually HTTP 0.9. GET / HTTP/1.0 would be HTTP 1.0, or 1.1
> would also require a Host: header.
>
> Does following show any httpd processes: ps ax | grep httpd
>
> Do you have anything listening on port 80: netstat -atn
>
> Are you using personal-firewall (or checked firewall for an internet
> connection)? Or have you configured /etc/sysconfig/SuSEfirewall2, and
> how? Does /var/log/messages show anything about connections to dpt=80?



No, i hit the enter one time. with the 1.3.xx version of apache comes with
SuSE 9.0 and the same telnet-command it has been worked.

Whatever, i donwloaded another version of apache (2.0.54) and installed it.
I stopped all other apache services (1.x and 2.x) and started the new one.

now everything works fine. but i still interested in findig the cause of the
other issue. so here your requested information (i shut the 2.0.54 down and
started the 2.0.47 again):

ps ax | grep httpd prints:

4941 ? S 0:00 /usr/sbin/httpd2-metuxmpm -f /etc/apache2/httpd.conf
4942 ? S 0:00 /usr/sbin/httpd2-metuxmpm -f /etc/apache2/httpd.conf
4943 ? S 0:00 /usr/sbin/httpd2-metuxmpm -f /etc/apache2/httpd.conf
4944 ? S 0:00 /usr/sbin/httpd2-metuxmpm -f /etc/apache2/httpd.conf
4945 ? S 0:00 /usr/sbin/httpd2-metuxmpm -f /etc/apache2/httpd.conf
4946 ? S 0:00 /usr/sbin/httpd2-metuxmpm -f /etc/apache2/httpd.conf
4947 ? S 0:00 /usr/sbin/httpd2-metuxmpm -f /etc/apache2/httpd.conf
4948 ? S 0:00 /usr/sbin/httpd2-metuxmpm -f /etc/apache2/httpd.conf
4952 pts/6 R 0:00 grep httpd


netstat -atn print:


Aktive Internetverbindungen (Server und stehende Verbindungen)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 192.168.0.100:5190 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 192.168.0.100:4443 0.0.0.0:* LISTEN
tcp 0 0 192.168.0.100:32780 64.12.28.56:5190 VERBUNDEN
tcp 0 0 192.168.0.100:33794 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33795 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33793 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33798 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33799 64.236.34.4:80 VERBUNDEN
tcp 0 0 192.168.0.100:33796 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33797 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33781 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33780 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33783 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33782 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33779 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33789 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33788 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33791 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33790 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33784 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33787 64.236.34.4:80 TIME_WAIT
tcp 0 0 192.168.0.100:33786 64.236.34.4:80 TIME_WAIT
tcp 65583 0 192.168.0.100:33623 213.251.132.115:8000 VERBUNDEN
tcp 0 0 127.0.0.1:8005 :::* LISTEN
tcp 0 0 :::8009 :::* LISTEN
tcp 0 0 :::5001 :::* LISTEN
tcp 0 0 :::80 :::* LISTEN
tcp 0 0 :::8080 :::* LISTEN
tcp 0 0 :::22 :::* LISTEN


cat /var/log/messages | grep httpd prints nothing.
cat /var/log/messages | grep dpt prints nothing.


The SuSE Firewall is shuted down.

It seems like apache listen on port 80 but cannot accept connections and
maybe send no response. cat /var/log/apache2/access_log prints nothing
allthough i could connect with telnet localhost 80.

thx.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com