And when you query apache2ctl for its status, it hangs. 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 I changed it all back to port 80. It's a bug in the apache2. http://askubuntu.com/questions/277162/apache-fails-to-start-address-already-in-use-but-not-really
So How to fix it? thanks OP, you're a lifesaver Last edited by macns; February 6th, 2012 at 05:48 PM. DistroXubuntu Re: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 Old thread closed. Powered by vBulletin Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc.
But now I cannot reach my two domain anymore and when I restart Apache using terminal (sudo service apache2 restart) I get this error: Restarting web server apache2 AH00548: NameVirtualHost has 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 Removing the pass-phrase removes a layer of security from your server - proceed with caution!Remove the encryption from the RSA private key (while keeping a backup copy of the original file):$ Fuser -k -n Tcp 80 Adv Reply February 6th, 2012 #6 macns View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Feb 2012 Beans 1 Re: (98)Address already in use: make_sock:
I had to stop everything and go after this problem. Top torontob123 Posts: 95 Joined: 2009/11/30 20:21:14 Re: httpd can't start due to ports 80 and 443 magically being in-use...why? Bizarre. http://www.centos.org/forums/viewtopic.php?t=14681 This leads to a situation where the socket that was held open by apache was inherited by the malware which ignores signals to finish.
Everytime I restart the system it fails to have httpd service working because:[[email protected]]# service httpd startStarting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80no listening sockets available, Make_sock: Could Not Bind To Address 0.0.0.0:80 Windows Translating "mankind evolves" and two other two-word phrases What is a real-world metaphor for irrational numbers? Page 1 of 2 12 Last Jump to page: Results 1 to 20 of 22 Thread: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 Thread Tools Show Printable Is… Chaoran Song says: fuck u asshole, don't use any software or services from china if… TagsApache HTTP Server CentOS cPanel Fedora FreeBSD Gmail Google Google AdSense Google Search How To
The solution was to remove the password on the cert.key and that solved my problem. But after removing ssl and rebooting, it worked. Starting Httpd: (98)address Already In Use: Make_sock: Could Not Bind To Address I would like to give back (if you will). Make_sock Could Not Bind To Address No Listening Sockets Available Shutting Down Look for children:Code: Select all# pgrep httpd
So those are all instances of httpd.There is probably a more elegant way to do it, but I
How to respond to a ridiculous request from a senior colleague? Try netstat -ltnp | grep :80 This would return something like tcp6 0 0 :::80 :::* LISTEN 1047/apache2 Then run sudo kill -9 1047 Where 1047 is the pid of the Thank you! 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 No Listening Sockets Available, Shutting Down Unable To Open Logs
Change the entry for
The normal boot process for apache2 is not working right. (67)address Already In Use Make_sock Could Not Bind To Address Extra command for finding running srrvices, $ ps -ef $ ps -ef | grep python share|improve this answer answered Mar 23 '15 at 9:18 S͢ky D͢ream 10.4k64155 add a comment| Your more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
Not the answer you're looking for? thanks! –technocrusaders.com Oct 13 at 11:55 add a comment| up vote 0 down vote I fixed it by using below procedure. root# ps aux |grep apache It will show you Apache PID, just kill that PIDs and restart Apache Server. Ah00015: Unable To Open Logs On one strange reason dit some users had CGI access.
netstat -na | grep -i list | grep 80 tcp 0 0 :::80 :::* LISTEN unix 2 [ ACC ] STREAM LISTENING 5180 /var/run/dovecot/dict-server Nothing to see :S 04-27-2010,02:53 PM #12 Email address Twitter Facebook Dribbble GitHub RSS Careers About FacebookTwitterGoogle+ Contact Us HomeActivityCloudAdvertisingCloud ComputingDomains & HostingSecurityWeb AnalyticsWeb PublishingWeb ServersOSWindowsLinuxSoftwareDatabasesDeveloper ToolsEnterprise SolutionsOfficeMedia & PicturesGPS Navigation & MappingSocial Networking & CommunicationUtilitiesWeb BrowsersComputer & All rights reserved. Cheers! –kodeart Dec 15 at 21:30 add a comment| up vote 6 down vote I got this error on a fresh install when starting apache2 Ubuntu 12.10.
Bizarre. Time to stop apache2: [email protected]:~# /usr/sbin/apache2ctl stop httpd (no pid file) not running A big clue! We'd love to hear from you. Kind regards, Jasper 0 Banzai May 16, 2015 Hi Jasper, Did you get this resolved?
Browse other questions tagged apache ubuntu-11.10 or ask your own question. It gets hung in the background. One of the following error message or similar message is displayed and recorded in error log: Starting httpd/ web server apache2 : (98)Address already in use: make_sock: could not bind to I have this in my ports.conf NameVirtualHost *:80 Listen 80 This is my vhost file
share|improve this answer answered Jul 31 '13 at 11:16 eaykin 2,58812423 Seems so obvious now that Ive found the answer, but I had this exact issue. To find out, use: grep -ri listen /etc/apache2 Keep Listen 80 in just a single place. Apache is on my server stoped now. [root ~]# netstat -lnp | grep :80 tcp 0 0 :::80 :::* LISTEN 13481/hugobloc.pl So on your and my server both an pl script. No background jobs, nothing related to httpd server, just some minor rewrite rules only. –mtndesign Dec 16 '12 at 15:46 1 @mdpc You can shorten that grep command to ps
What is 'sparrow bath' and how do you do it in airport bathroom?