View previous topic :: View next topic |
Author |
Message |
MaartenZz n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Sep 2004 Posts: 15
|
Posted: Sun Nov 07, 2004 9:54 pm Post subject: Apache error at (re)starting |
|
|
I'v read alot about errors at starting up Apache in these forums. The problem is that there is another program running on port 80. I think this is different in my case:
Quote: | Maryland root # /etc/init.d/apache2 status
* status: started
Maryland root # /etc/init.d/apache2 restart
* Stopping apache2... [ ok ]
* Starting apache2...
(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 [ !! ]
Maryland root # |
After I kill the process, and start it manually, it sais it's started, but when I check it by going to my website, it doesn't work.
This went suddenly (for me ). Can somebody give me advise on how to fix this?
(After this error i've updated to apache-2.0.52-r1 but this doesn't help.)
Thank you very much. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dsegel Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 31 Jan 2003 Posts: 127
|
Posted: Mon Nov 08, 2004 12:38 am Post subject: |
|
|
Stop apache, kill the process, make sure it's really dead and then do a
netstat -an | grep 80
if you get something like
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
then you have some other server running on port 80. Try a 'ps ax' to see if you can figure out what it is.
If the netstat command produces no output, try changing the LISTEN section of your apache.conf to 8080 or something like that and see if it works that way. In fact, even if netstat does show some other server on port 80 you could try this. Check http://localhost:8080 to try it out. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MaartenZz n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Sep 2004 Posts: 15
|
Posted: Tue Jan 11, 2005 2:09 am Post subject: |
|
|
Sorry for never answering.. it's works fine now, thnx anyway ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|