Here is my walkthrough to where the bugs might be in the software. use *:80 / *:443 in your Vhosts. Saved my day –Anonymous Platypus Jan 8 at 13:17 add a comment| up vote 11 down vote In all cases killing the process may not work, as the process using the What is the day to day life like as a father? http://gsbook.org/could-not/make-sock-could-not-bind-to-address-apache.php
Adv Reply April 4th, 2013 #9 oldos2er View Profile View Forum Posts Private Message The Doctor is Real In Join Date Jul 2007 Location Magic City of the Plains BeansHidden! List them with: semanageport-l|grephttp And add your favourite port to the existing policy: semanageport-a-thttp_port_t-ptcp
First, I killed the hung process (sending a kill -HUP to the process ID for /usr/sbin/apache2 process should be enough to kill the other ones too, but do another ps -ef Thanks for your post… you saved me :-) Reply Link artur November 18, 2010, 6:11 pmit does't help me…^( Reply Link paul mostertman January 14, 2011, 2:09 pmAnd what if the Subscribe now for more great web hosting articles. share|improve this answer answered Apr 4 '13 at 14:52 Gunner Barnes 129117 2 I also had duplicate Listen 80 commands in both my httpd.conf and ports.conf –Gunner Barnes Apr 4
Reply Link Dead.Zone December 2, 2013, 3:22 pmGreat . Make_sock Could Not Bind To Address No Listening Sockets Available Shutting Down I was able to fix this by analyzing the ps command output. Unsold Atari videogames dumped in a desert? https://www.liquidweb.com/kb/error-98address-already-in-use-make_sock-could-not-bind-to-address-0-0-0-080-on-ubuntu-solved/ This will confirm: [email protected]:~$ ps -ef | grep apache2 root 1146 954 0 15:51 ? 00:00:00 /bin/sh /etc/rc2.d/S91apache2 start root 1172 1146 0 15:51 ? 00:00:00 /bin/sh /usr/sbin/apache2ctl start root 1181
This is a workaround, I suppose the fix is to get newer versions of apache2 and Ubuntu and hope for the best. Eaddr In Use 8080 Error Then, either reconfigure or remove that program. (If you provide the output for us in an edit to your question we can try and help you further). I shut all apache2 services down by doing the following:sudo killall -9 apache2Then ran: netstat -tulpn| grep :80 to see if there was anything left open. Reply Link Sunil December 8, 2011, 5:32 pmScrewed up almost 100s of pages for the solution of this issue…Just a small command "Killall" gave me a way from dark light..thkx guys….
What confuses me is that service reports that apache2 is NOT running: [email protected]:~$ sudo service apache2 status Apache2 is NOT running. Go Here The fact that port 80 could be busy with something else sounded strange. Make_sock: Could Not Bind To Address [::]:80 Does gunlugger AP ammo affects all armor? Make_sock: Could Not Bind To Address 0.0.0.0:80 Windows Then a service apache2 start worked fine, and Apache started properly after a reboot.
Ubuntu 11.10 Problems0tomcat and apache http together0500 Internal Server Error installing codeigniter on ubuntu 11.100ISPConfig 3: After adding a website Apache crashing3Adding a directory to Apache Server0Setting the Root to public navigate here How to respond to a ridiculous request from a senior colleague? Reply Link Flyboy November 12, 2009, 8:10 pmOk. Browse other questions tagged 12.04 apache2 vm or ask your own question. Fuser -k -n Tcp 80
Log In to Comment 6 Answers 3 arnoldkarani March 3, 2016 This could be brought about by Nginx, if you have it install run these two command to uninstall it. share|improve this answer edited Aug 20 '14 at 18:01 Eliah Kagan 57.7k17165258 answered Aug 20 '14 at 17:09 ravi 9111 thanx bro, you saved my day :) –Pankaj Oct It helped in getting up the server once again and save time & effort. Check This Out User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License.
That is the offending program that needs a swift kick. /etc/rc2.d/S91apache2 is the symbolic link used to start apache2 for you when the computer starts. Eaddr In Use 8080 Error It Can Mean It's a bug in the apache2. Reply Link Igor December 20, 2011, 9:03 [email protected], thanks a lot, was helpful for me.
share|improve this answer answered Jan 8 '12 at 4:35 Mattias Ahnberg 2,964814 add a comment| up vote 0 down vote you should set your ServerName into the httpd.conf also make sure In Ubuntu or Debian: vim /etc/apache2/apache2.conf Try to find ServerName Directive first, can be commented with #, if it's not present then add it. It's free: ©2000-2016 nixCraft. If Http Server Is Run And Outputs The Eaddr In Use 8080 Error Log In Sign Up Report a Bug Use this form to report bugs related to the Community Report a bug: Name Email Message ≡ MenuHomeAboutLinux Shell Scripting TutoriaLRSS/FeednixCraftLinux and Unix tutorials
Made my own virtual host files using the given tutorials, DNS all figured out...great! [email protected]:/etc/rc2.d$ ls -l lrwxrwxrwx 1 root root 17 Nov 7 21:45 S91apache2 -> ../init.d/apache2* It's a symbolic link that we don't want it to be there. one of the is as below.If you have configured your apache with a listen address that is hitting 80 or 443 and if there is a duplicate entry in the same http://gsbook.org/could-not/permission-denied-make-sock-could-not-bind-to-address-apache.php Do SSDs reduce the usefulness of Databases What does the author want to convey by ending his letter with »Tschüssikowsky«?
Than again port 80 is in use. Is すごく怖 bad, or good? I get this error: (98) Address already in use: make_sock: could not bind to address 0.0.0.0:80 The output of netstat -tulpn shows that nothing is using port 80. To find out, use: grep -ri listen /etc/apache2 Keep Listen 80 in just a single place.
Four Birds + One How do I answer a question on graduate school applications on textbooks used in my classes, when my class didn't use a textbook? Adv Reply January 6th, 2011 #3 lightsabersetc View Profile View Forum Posts Private Message 5 Cups of Ubuntu Join Date Jan 2008 Beans 21 Re: (98)Address already in use: make_sock: I had the same issue. What is the difference between l() and url()?
apache2 share|improve this question edited Jul 31 '15 at 2:55 bagustris 2,07221631 asked Jul 30 '15 at 22:55 user1 12 Possible duplicate Action 'start' failed ? –Liso Jul 30 But after removing ssl and rebooting, it worked. Specifying the protocol with Listen The optional second protocol argument of Listen is not required for most configurations. share|improve this answer answered Apr 7 '14 at 18:29 Populus 4,37012037 add a comment| up vote 0 down vote List of currently running services, $ sudo netstat -tulpn Active Internet connections
Notice that the ps command tells us that that process was started by "/etc/rc2.d/S91apache2 start". Reply Log In to Comment 0 shijir99 July 13, 2016 This was the solution to my problem. Changed your mind? Output the sign Is すごく怖 bad, or good?
So # netstat -tulpn| grep :80 If port 80 is bind to httpd, kill all process: # killall -9 httpd Now start the httpd: # /etc/init.d/httpd start fixes the symtoms but Ubuntuforums posting guidelines htop explained linuxcommand.org Adv Reply Quick Navigation Desktop Environments Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Now you COULD put apache2 back the way it was, but that would make it fail again. If only a port number is specified in the Listen directive, the server listens to the given port on all interfaces.
Time to stop apache2: [email protected]:~# /usr/sbin/apache2ctl stop httpd (no pid file) not running A big clue!