Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 69787 invoked from network); 22 Mar 2008 20:42:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Mar 2008 20:42:39 -0000 Received: (qmail 80098 invoked by uid 500); 22 Mar 2008 20:42:26 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 80085 invoked by uid 500); 22 Mar 2008 20:42:26 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 80074 invoked by uid 99); 22 Mar 2008 20:42:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Mar 2008 13:42:26 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of craig.huffstetler@gmail.com designates 72.14.220.153 as permitted sender) Received: from [72.14.220.153] (HELO fg-out-1718.google.com) (72.14.220.153) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Mar 2008 20:41:48 +0000 Received: by fg-out-1718.google.com with SMTP id 16so1743281fgg.40 for ; Sat, 22 Mar 2008 13:41:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=3tGzJCc0JYUNilWc6bX2bGWAkUIvrV4p9pBu/tFWOog=; b=Gx3dVd6BJ1i/VpLmH4hQCivK4BQsgAJZGpUF6XmcOOeRnzaDTmNGtfkoJOtRNH4MnVtVGyk1YqdYDjiL1M8dg11UHsvIVigac3v5YWVkxad3ZTFeDFDXR6rVPyn9UycH/hU47DS7W9kQ816YsjI335RKxS/z/gcXfdfF//FHz5E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=WZJPm8+KflmTcIYrfH6wjEeBF1OZiVW/odOmTL0H+r/AnEV7I7JUQp+GrF3UOojxAGVkVbn7nii7UGyfLNu6E9ug3E7QIP2OjSGidyQnwLpRVC3k9cGLY1dzrhenQLNEta/evYlTer86D8RaA8+PDVk/LDX6evMSiTc5YGjxT5o= Received: by 10.82.145.7 with SMTP id s7mr11715934bud.24.1206218518662; Sat, 22 Mar 2008 13:41:58 -0700 (PDT) Received: by 10.82.141.6 with HTTP; Sat, 22 Mar 2008 13:41:58 -0700 (PDT) Message-ID: Date: Sat, 22 Mar 2008 15:41:58 -0500 From: "Craig Huffstetler" To: users@httpd.apache.org, ddogej@excite.com In-Reply-To: <20080322202407.8F0CC91FD5@xprdmxin.myway.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7099_206865.1206218518658" References: <20080322202407.8F0CC91FD5@xprdmxin.myway.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Virtual Host problems ------=_Part_7099_206865.1206218518658 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Edwin, Again, google.com is your friend. I can't stress this enough. If you simply go to google.com and type in: "windows apache no listening sockets available" or try "windows apache could not bind to address 0.0.0.0:80" And look at the top results, you will most likely find an answer. Did you try this before writing to us? Research, again, is your best friend and how you will learn. I can not stress. this. enough. It looks like you have another service running on port 80. Do you have another application, daemon or server running on port 80? Can you please look into this. Perhaps go to: START > RUN Type in services.msc And look for IIS or PWS and see if either are STARTED and/or running automatically (if so, right click and turn them OFF and also go to PROPERTIES and set them to MANUAL startup) or any other web server/services. Please make sure these are shut down if you are planning on using Apache as your primary web server. You can not have two web servers listening on port 80 at the same time. It's just not possible. Sincerely, Craig Huffstetler On Sat, Mar 22, 2008 at 3:24 PM, Edwin wrote: > Ok out with the old and in with the new. Now That I have read through that > and I think I understood most of it. Thank you Craig > I did modify my file structure and as well as modified my code to include > quotation marks. But the redirect to the new file structure isn't working > I know I'm still doing something wrong. > > The error this time was > only one usage of each socket address (protocol/network address/port) is > normally permitted. :make_sock: could not bind to address 0.0.0.0:80 > no listening sockets available, shutting down > > > > > > --- On Sat 03/22, j k < jonnykent@gmail.com > wrote: > > *From: *j k [mailto: jonnykent@gmail.com] > *To: *users@httpd.apache.org, ddogej@excite.com > *Date: *Sat, 22 Mar 2008 12:14:20 -0800 > *Subject: *Re: [users@httpd] Virtual Host problems > > > > On Sat, Mar 22, 2008 at 9:46 AM, Edwin wrote: > > > People whom know more than me please inform me of what I'm doing wrong > > > > > > > > > > DocumentRoot C:/users/edwin j mcleod/documents/Apache Software > > Foundation/Apache2.2/htdocs > > ServerName www.Example.com > > # Other directives here > > > > > > > > DocumentRoot C:/users/edwin j mcleod/documents/Apache Software > > Foundation/Apache2.2/htdocs2 > > ServerName www.Example.com > > # Other directives here > > > > > > > > > > > > Syntax error on line 165 of c:/Users/Edwin J Mcleod/Documents/Apache > > Software Foundation/APache2.2/conf/httpd.conf: > > Documentroot takes one argument, Root directory of the document tree > > > > > > > > ------------------------------ > > ** > > > There's th eproblem: > 'Documentroot takes one argument, Root directory of the document tree' > > Try quotes around that: > DocumentRoot "C:/users/edwin j mcleod/documents/Apache Software" > > > Neither windows nor unix/linux likes a space in a file name. > Good luck > > ------------------------------ > *Join Excite! - http://www.excite.com* > The most personalized portal on the Web! > ------=_Part_7099_206865.1206218518658 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Edwin,

Again, google.com is your friend. I can't stress this enough.

If you simply go to google.com and type in:
"windows apache no listening sockets available"
or try
"windows apache could not bind to address 0.0.0.0:80"

And look at the top results, you will most likely find an answer. Did you try this before writing to us? Research, again, is your best friend and how you will learn. I can not stress. this. enough.

It looks like you have another service running on port 80. Do you have another application, daemon or server running on port 80? Can you please look into this. Perhaps go to:
START > RUN
Type in services.msc
And look for IIS or PWS and see if either are STARTED and/or running automatically (if so, right click and turn them OFF and also go to PROPERTIES and set them to MANUAL startup) or any other web server/services.

Please make sure these are shut down if you are planning on using Apache as your primary web server. You can not have two web servers listening on port 80 at the same time. It's just not possible.

Sincerely,

Craig Huffstetler

On Sat, Mar 22, 2008 at 3:24 PM, Edwin <ddogej@excite.com> wrote:
Ok out with the old and in with the new. Now That I have read through that and I think I understood most of it. Thank you Craig
I did modify my file structure and as well as modified my code to include quotation marks. But the redirect to the new file structure isn't working
I know I'm still doing something wrong.

The error this time was
only one usage of each socket address (protocol/network address/port) is normally permitted. :make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down





--- On Sat 03/22, j k < jonnykent@gmail.com > wrote:

From: j k [mailto: jonnykent@gmail.com]
To: users@httpd.apache.org, ddogej@excite.com
Date: Sat, 22 Mar 2008 12:14:20 -0800
Subject: Re: [users@httpd] Virtual Host problems



On Sat, Mar 22, 2008 at 9:46 AM, Edwin <ddogej@excite.com> wrote:
People whom know more than me please inform me of what I'm doing wrong




DocumentRoot C:/users/edwin j mcleod/documents/Apache Software Foundation/Apache2.2/htdocs
ServerName www.Example.com
# Other directives here



DocumentRoot C:/users/edwin j mcleod/documents/Apache Software Foundation/Apache2.2/htdocs2
ServerName www.Example.com
# Other directives here





Syntax error on line 165 of c:/Users/Edwin J Mcleod/Documents/Apache Software Foundation/APache2.2/conf/httpd.conf:
Documentroot takes one argument, Root directory of the document tree





There's th eproblem:
'Documentroot takes one argument, Root directory of the document tree'

Try quotes around that:
DocumentRoot "C:/users/edwin j mcleod/documents/Apache Software"


Neither windows nor unix/linux likes a space in a file name.
Good luck



Join Excite! - http://www.excite.com
The most personalized portal on the Web!

------=_Part_7099_206865.1206218518658--