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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-02-2012, 05:36 AM
|
#1
|
LQ Newbie
Registered: Jul 2012
Location: india
Posts: 28
Rep: 
|
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..
|
|
|
08-02-2012, 05:56 AM
|
#2
|
Senior Member
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238
Rep: 
|
Code:
netstat -nap | grep 80
To see who's on port 80. Then kill it and retry to start apache2.
|
|
|
08-02-2012, 06:15 AM
|
#3
|
LQ Newbie
Registered: Jul 2012
Location: india
Posts: 28
Original Poster
Rep: 
|
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
|
|
|
|
08-02-2012, 06:34 AM
|
#4
|
Senior Member
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238
Rep: 
|
Well, looks like it's running.
|
|
|
08-02-2012, 07:36 AM
|
#5
|
Member
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Rep: 
|
Hi
Did you check the apache status.whether process is running are not
#service apache2 status
Last edited by jsaravana87; 08-02-2012 at 07:38 AM.
|
|
|
All times are GMT -5. The time now is 02:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|