LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Apache not started (https://www.linuxquestions.org/questions/linux-newbie-8/apache-not-started-4175419954/)

KaRt 08-02-2012 05:36 AM

Apache not started
 
Quote:

/etc/init.d/apache2 start
* Starting web server 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
how to recover this..

Mr. Alex 08-02-2012 05:56 AM

Code:

netstat -nap | grep 80
To see who's on port 80. Then kill it and retry to start apache2.

KaRt 08-02-2012 06:15 AM

hi
 
i kill the PID and restart means it wii give like this
Quote:

/etc/apache2# /etc/init.d/apache2 start
* Starting web server apache2 httpd (pid 478) already running

Mr. Alex 08-02-2012 06:34 AM

Well, looks like it's running.

jsaravana87 08-02-2012 07:36 AM

Hi
Did you check the apache status.whether process is running are not

#service apache2 status


All times are GMT -5. The time now is 08:27 PM.