LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Apache problem on Debian 3.0 (https://www.linuxquestions.org/questions/linux-newbie-8/apache-problem-on-debian-3-0-a-97787/)

mahartman 09-28-2003 06:10 AM

Apache problem on Debian 3.0
 
Hi,

I've just installed Apache 2.0.47 on my server running Debian 3.0 (woody), compiling and installing it from source without any problems.

Then I tried to start it up using './apachectl start'. At first it gave a warning about a missing servername, but after editing 'httpd.conf' this warning disappeared. Entering the 'apachectl' command gave no errors and the prompt quickly returned after issuing it.

However, the server did not start up. I was not able to connect to it either locally ( lynx h ttp://localhost/ or lynx h ttp://127.0.0.1/ ) or from another machine on my lan ( IE ), while pinging my server worked just fine.
The command 'ps -aux | grep httpd' did not show anything, and when I tried to stop the server with './apachectl stop' there was an error: "httpd (pid 13279?) not running".

I debian installation is pretty default as well as the installation of apache, so I really don't have a clue why it isn't working.

Please help me out!

Grtz, Maurits

ps. I'm not allowed to post urls so in order to post this a had to add a space between the 'h' and the 't' in the lynx command.

david_ross 09-28-2003 09:11 AM

Welcome to LQ.

The url thing will go away after 5 posts it is just to stop spamming.

Check that it is listening twith netstat:
netstat -nlp

And that you don't have any firewall rules in place blocking port 80:
iptables -L


All times are GMT -5. The time now is 02:43 AM.