(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
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.
(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.
(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.
What you were doing was probably starting another httpd process while there was already one running and used port 80.
You might want to try with apachectl restart
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.
(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.
Please check which are the process running in the apache port (80 or which custom port you are using) using netstat -nlp | grep 80, check the process which is running in the same port. Kill that process (using kill -9 PID) and restart the apache.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.