LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-02-2012, 06:36 AM   #1
KaRt
LQ Newbie
 
Registered: Jul 2012
Location: india
Posts: 28

Rep: Reputation: Disabled
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..
 
Old 08-02-2012, 06:56 AM   #2
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Code:
netstat -nap | grep 80
To see who's on port 80. Then kill it and retry to start apache2.
 
Old 08-02-2012, 07:15 AM   #3
KaRt
LQ Newbie
 
Registered: Jul 2012
Location: india
Posts: 28

Original Poster
Rep: Reputation: Disabled
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
 
Old 08-02-2012, 07:34 AM   #4
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Well, looks like it's running.
 
Old 08-02-2012, 08:36 AM   #5
jsaravana87
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled
Hi
Did you check the apache status.whether process is running are not

#service apache2 status

Last edited by jsaravana87; 08-02-2012 at 08:38 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache cannot be started Azzath Linux - Server 9 08-06-2007 11:19 AM
What version is Apache and getting started michshelly Linux - Server 1 06-20-2007 03:07 AM
Started Apache, but not working coolrock Slackware 7 10-02-2006 01:10 PM
Getting started with Apache shazam75 Linux - Software 4 09-26-2005 10:48 PM
Apache 1.3 started but not working ? Devboy *BSD 0 08-16-2004 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration