(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
(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 hi folks i am new to apache2 server i have been trying to start the server using the default httpd.conf file provided in the source code but when i give the following command sudo /usr/local/apache/bin/apachectl start i receive the above error and the server shuts down. any kind of help will be highly appreciated. |
why /usr/local/apache/bin/apachectl ?
"/etc/init.d/apache2 start" is better "Address already in use" - no comments. lsof -i -n|grep http |
thanks man that worked i understood the mistake
|
Quote:
You might want to try with apachectl restart |
error in starting apache2
error in starting apache2
error in starting service "service apache2 start" i was tried to install apache2 in my ubuntu 11.10 using the command "sudo apt-get install apache2". It was installed successfully and pops message failed when * Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (9Address 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 Action 'start' failed. The Apache error log may have more information. [fail] invoke-rc.d: initscript apache2, action "start" failed. Setting up apache2 (2.2.20-1ubuntu1.1) ... after that i tried apt-get install httpd Reading package lists... Done Building dependency tree Reading state information... Done Package httpd is a virtual package provided by: apache2-mpm-itk 2.2.20-1ubuntu1.1 apache2-mpm-worker 2.2.20-1ubuntu1.1 apache2-mpm-prefork 2.2.20-1ubuntu1.1 apache2-mpm-event 2.2.20-1ubuntu1.1 yaws 1.90-2 webfs 1.21+ds1-8 tntnet 1.6.3-4.1 thttpd 2.25b-11 ocsigen 1.3.4-2 nginx-light 1.0.5-1 nginx-full 1.0.5-1 nginx-extras 1.0.5-1 monkey 0.9.3-1ubuntu1 mini-httpd 1.19-9.2build1 micro-httpd 20051212-13 mathopd 1.5p6-1.1 lighttpd 1.4.28-2ubuntu2 ebhttpd 1:1.0.dfsg.1-4.2 dhttpd 1.02a-18 cherokee 1.2.2-2build1 bozohttpd 20100920-1 boa 0.94.14rc21-3.1 aolserver4-daemon 4.5.1-15 aolserver4-core 4.5.1-15 You should explicitly select one to install. E: Package 'httpd' has no installation candidate root@# service apache2 start * Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (9Address 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 Action 'start' failed. The Apache error log may have more information. [fail] i want to install apache2 and php to do my project. i was installed mysql. thanks prabhas |
Quote:
|
It may occasionally be required to kill -15 apache processes that refuse to die.
I've also had some strange situations where shared memory segments and semaphores have been left and had to be removed. |
So is this solved?
Also, holy shyte this thread has 12K+ views. |
All times are GMT -5. The time now is 06:35 PM. |