From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Kk84M-0007Ds-3S for garchives@archives.gentoo.org; Mon, 29 Sep 2008 02:01:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52E5AE06FB; Mon, 29 Sep 2008 02:01:01 +0000 (UTC) Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by pigeon.gentoo.org (Postfix) with ESMTP id 263C7E06D5 for ; Mon, 29 Sep 2008 02:01:01 +0000 (UTC) Received: from OMTA08.westchester.pa.mail.comcast.net ([76.96.62.12]) by QMTA09.westchester.pa.mail.comcast.net with comcast id LP7g1a00k0Fqzac59S105X; Mon, 29 Sep 2008 02:01:00 +0000 Received: from spinner ([98.235.60.115]) by OMTA08.westchester.pa.mail.comcast.net with comcast id LS0m1a0022VAnqy3US0t6N; Mon, 29 Sep 2008 02:01:00 +0000 X-Authority-Analysis: v=1.0 c=1 a=qw_mBxUAuk8A:10 a=FzF9BTH5yJQA:10 a=3BOlefFFmwbPbeRVmD0A:9 a=4vPR1tn426KqxFDHZq_qE221BxYA:4 a=LY0hPdMaydYA:10 From: Jerry McBride Organization: TEAM LINUX To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /etc/init.d/apache2 fails, but apache will run Date: Sun, 28 Sep 2008 22:00:40 -0400 User-Agent: KMail/1.9.10 References: <707E41AE68E444499861C6B248AB868453A857EC5E@excprdmbxw002.optus.com.au> In-Reply-To: <707E41AE68E444499861C6B248AB868453A857EC5E@excprdmbxw002.optus.com.au> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809282200.40661.mcbrides9@comcast.net> X-Archives-Salt: 1d817dbf-5a79-46f9-abe6-a5d5aca98aee X-Archives-Hash: 75c09ceeba7f6e3a39d3ec49f77b2f33 On Sunday 28 September 2008 09:26:06 pm Adam Carter wrote: > rix adam # /etc/init.d/apache2 start > * Starting 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 [ > ok ] rix adam # > > The socket is not in use and log dir perms are ok, and; > > rix adam # apache2 -f /etc/apache2/httpd.conf > rix adam # pgrep -lf apach > 17740 apache2 -f /etc/apache2/httpd.conf > 17741 apache2 -f /etc/apache2/httpd.conf > 17744 apache2 -f /etc/apache2/httpd.conf > 17772 apache2 -f /etc/apache2/httpd.conf > rix adam # > > So, how do I troubleshoot this? I just did a google search on the error "(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 > no listening sockets available, shutting down" and it turned up so much that I just don't even feel like reading it for you... What I suspect and what's mentioned in the pages that google turned up, something else is bound to port 80. Do a "ps -A | grep apache" and see if a stray daemon is running around... i not then go to /etc/apache2/vhosts.d and make sure both config files are "pointing" to the same host that apache is running on... That's where I would start. -- ***************************************************************************** From the desk of: Jerome D. McBride 21:56:02 up 1 day, 2:13, 5 users, load average: 0.14, 0.07, 0.02 *****************************************************************************