LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cant Start Apache (https://www.linuxquestions.org/questions/linux-software-2/cant-start-apache-163099/)

arimus25 03-27-2004 02:42 PM

Cant Start Apache
 
When I try to start apache2, this error comes up:

Quote:

(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
I had apache2 running before, but I forgot how to do it.

Muzzy 03-27-2004 02:54 PM

Looks like you already have somethign bound to port 80? Are you sure that it is not already running?

arimus25 03-27-2004 03:00 PM

no, it is not running

Quote:

[root@localhost root]# /usr/local/apache2/bin/apachectl stop
httpd (no pid file) not running
[root@localhost root]#

arimus25 03-28-2004 02:36 PM

Apache Prob
 
OK, so now I have apache 2 up and running. When I go to 127.0.0.1, the apache test page comes up like it is supposed to. But when I go to my ip address (192.168.1.10), it just says "The connection was refused when attempting to connect to 192.168.1.10."

I am confused on what exactly to do next. I searched this site and google for that past 2 days, and cant really find out what to do next. I looked at http://httpd.apache.org/docs-2.0/ as well, but cant find what I am looking for.

What I beleive the next step is would be to change the httpd.conf file in the "listen" section. For example, it says #Listen 12.34.56.78:80. I tried changing this to by ip address amd to my LAN gateway, and it still doenst work. Am I supposed to change this?

rcs1000 03-29-2004 04:23 AM

I suspect this is a problem with hosts.allow, hosts.deny. Try opening these up and restarting xinet (assuming Apache is run from there.) If this doesn't work, then I have no idea ;-)

arimus25 03-30-2004 11:05 AM

I found out what the prob was. I was configure Apache and was configure the http server that came with Fedora, so there was a conflict there. I removed the http that came with Fedora and now my server runs great.


All times are GMT -5. The time now is 10:16 PM.