Forum Moderators: phranque

Message Too Old, No Replies

Can't find the IIS in windows XP to fix problem with error in Apache

         

tmstclaire

3:08 pm on Dec 15, 2004 (gmt 0)

10+ Year Member



I am learning perl and CGI and have followed all the very simple directions in this web book [cgi101.com...] however I can't seem to find where the IIS is that is causing the error message that I am getting. The book referenced that I might get the error and gave instruction on how to fix it however when I follow the microsoft instructions on removing or disabling it, I can't find it to disable. I am running windows XP 2002 home edition. Our ISP is bellsouth DSL. I am not a complete moron when it comes to this type of stuff but I am stuck and can't seem to find an answer here using search although I'm sure it must have arose before. If anyone can help, I would appreciate it. I am trying to learn this to build a web store for my boss using agora cart. Thanks. : )

mattur

3:25 pm on Dec 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



tmstclaire, XP Home Edition does not include IIS, it is only available in XP Pro*. So the error message you're getting is probably due to something else.

If you post your error message, someone here may be able to help you.

*Apparently, it's possible to hack XP Home to install IIS, if you've done this, undo it(!)

jdMorgan

3:26 pm on Dec 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



tmstclaire,

Welcome to WebmasterWorld!

I found it at:

Control Panel->Add/Remove Programs->Add/Remove Windows Components->Internet Information Services

You can remove it there. I'm not sure how to just disable it on XP Home, since I use Control Panel->Administration tools to do this on XP Pro.

Jim

tmstclaire

3:31 pm on Dec 15, 2004 (gmt 0)

10+ Year Member



(OS 0048) Only one use of each socket address (protocol/network/address/port) is normally permitted. : make_sock: Could not bind to address 0.0.0.0:80 no listning sockets available, shutting down. unable to open logs

jimbeetle

3:42 pm on Dec 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I was looking around at installing Apache on my W2K Pro machine a couple of weeks ago (until the down time I thought I had disappeared). One blurb I noticed was that if there was a conflict with IIS on port 80, you could change the port for Apache to 8080.

Is this recommended? Any problems or conflicts?

tmstclaire

3:43 pm on Dec 15, 2004 (gmt 0)

10+ Year Member



Oh and I do not know how to hack anything except for things that you hack with a sharp object. I know just a little beyond the basics of operating a computer but trying to learn more. I did post the error message above and in the book, it did say that this error message was caused (more than likely) by ISS.

tmstclaire

7:03 pm on Dec 15, 2004 (gmt 0)

10+ Year Member



jdmorgan,

I looked there before I posted as this where the microsoft doc said I could remove it and it is not there. There is no internet information services that can be found. So I am still stuck.

mattur

12:40 pm on Dec 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



tmstclaire, a couple of things you could try:

If you have a firewall installed, try turning it off - it may be blocking the port.

Try identifying what program is using port 80. Go to a command window and run "netstat -aon". This will give you a list of network connections, ports and Process IDs (PID). If there's an entry for 0.0.0.0:80, note the PID then start Task Manager, go to the Processes tab, click View -> Select Columns... and tick PID. Find the process with the PID you noted - this is the program using port 80.

HTH

tmstclaire

3:02 pm on Dec 16, 2004 (gmt 0)

10+ Year Member



mattur,

I don't think there is a firewall installed on this computer. How can tell? I do have norton anti virus, does this have a firewall?

I ran the program that you told me and it ran so fast and disappeared so fast that I couldn't read it. It's like a flash. Any other ideas or how I can make this screen hang around so I can read it?

mattur

3:13 pm on Dec 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



To get the netstat output, first launch a command window:
Start -> Run then type "cmd". This will bring up a command window, and you can then execute the netstat command - the window won't disappear.

(You can also put the output into a text file by typing "netstat -aon > c:\netstat.txt")

I don't think Norton AV will be causing problems - it doesn't include a firewall, though Norton Internet Security Suite does. Check your list of programs in the Start menu to be sure.

You can check the status of the Windows Firewall by going into "Control Panel" and then "Windows Firewall".

HTH

tmstclaire

7:39 pm on Dec 30, 2004 (gmt 0)

10+ Year Member



mattur:

Thanks again for your help. Here is what the netstat cmd printed to the text file...

Active Connections

Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 1328
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 716
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING 768
TCP 0.0.0.0:1032 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:1043 0.0.0.0:0 LISTENING 768
TCP 0.0.0.0:2117 0.0.0.0:0 LISTENING 640
TCP 0.0.0.0:2120 0.0.0.0:0 LISTENING 640
TCP 0.0.0.0:2122 0.0.0.0:0 LISTENING 640
TCP 0.0.0.0:2125 0.0.0.0:0 LISTENING 640
TCP 0.0.0.0:2126 0.0.0.0:0 LISTENING 640
TCP 0.0.0.0:2127 0.0.0.0:0 LISTENING 640
TCP 0.0.0.0:2130 0.0.0.0:0 LISTENING 640
TCP 0.0.0.0:2131 0.0.0.0:0 LISTENING 640
TCP 0.0.0.0:2132 0.0.0.0:0 LISTENING 640
TCP 0.0.0.0:2135 0.0.0.0:0 LISTENING 640
TCP 0.0.0.0:2136 0.0.0.0:0 LISTENING 640
TCP 0.0.0.0:5000 0.0.0.0:0 LISTENING 948
TCP 127.0.0.1:1034 0.0.0.0:0 LISTENING 2656
TCP 127.0.0.1:1034 127.0.0.1:2155 TIME_WAIT 0
TCP 127.0.0.1:1034 127.0.0.1:2157 TIME_WAIT 0
TCP 192.168.1.3:139 0.0.0.0:0 LISTENING 4
TCP 192.168.1.3:2156 205.152.59.17:110 TIME_WAIT 0
TCP 192.168.1.3:14928 0.0.0.0:0 LISTENING 3768
UDP 0.0.0.0:135 *:* 716
UDP 0.0.0.0:445 *:* 4
UDP 0.0.0.0:500 *:* 540
UDP 0.0.0.0:1026 *:* 768
UDP 0.0.0.0:1027 *:* 904
UDP 0.0.0.0:1269 *:* 3768
UDP 0.0.0.0:1471 *:* 904
UDP 127.0.0.1:123 *:* 768
UDP 127.0.0.1:1814 *:* 640
UDP 127.0.0.1:1900 *:* 948
UDP 127.0.0.1:2101 *:* 3336
UDP 192.168.1.3:123 *:* 768
UDP 192.168.1.3:137 *:* 4
UDP 192.168.1.3:138 *:* 4
UDP 192.168.1.3:1900 *:* 948
UDP 192.168.1.3:9105 *:* 3768
UDP 192.168.1.3:61458 *:* 3768

Also, there is not a windows firewall button in my control panel. AND I have recently upgraded my computer to XP 2003?

tmstclaire

7:45 pm on Dec 30, 2004 (gmt 0)

10+ Year Member



I am sorry, I had to read up to remember what I was supposed to do with this info I had. : ) Ok, so guess what program is using port 80? None other than Apache Server.exe! Now what? Should I end process and try to restart?

tmstclaire

7:47 pm on Dec 30, 2004 (gmt 0)

10+ Year Member



I did end process and tried to restart but I still keep getting the same error. I am at a loss...

: ( I really want to become edumacated on this stuff but I can't even finish the perl 101 class because of these problems...

jenkers

9:40 am on Dec 31, 2004 (gmt 0)

10+ Year Member



hi,
if you close down all apps, reboot the pc and then when the pc is up again:

open up Internet Explorer and in the address bar key in
[127.0.0.1...]
or
[localhost...]

what happens in your browser?

tmstclaire

3:31 pm on Jan 3, 2005 (gmt 0)

10+ Year Member



Jenkers,

If I type either of those I get this:

If you can see this, it means that the installation of the Apache web server software on this system was successful. You may now add content to this directory and replace this page.
________________________________________
Seeing this instead of the website you expected?
This page is here because the site administrator has changed the configuration of this web server. Please contact the person responsible for maintaining this server with questions. The Apache Software Foundation, which wrote the web server software this site administrator is using, has nothing to do with maintaining this site and cannot help resolve configuration issues.
________________________________________
The Apache documentation has been included with this distribution.
You are free to use the image below on an Apache-powered web server. Thanks for using Apache!

jenkers

7:28 am on Jan 4, 2005 (gmt 0)

10+ Year Member



hi again,
this means that Apache is already installed and running on your pc.

It looks as though it is installed as a service which starts automatically on bootup.

When you were trying to start Apache it could not bind to port 80 as the Apache service was already using it.

What you need to do now is just navigate down to the 'htdocs' folder under Apache (more than likely under Program files), and put your content under this directory and it will show.

Congrats - you have a running webserver...

tmstclaire

5:22 pm on Jan 6, 2005 (gmt 0)

10+ Year Member



jenkers,

I don't see how it could have been installed before I installed but anyhow, what do you mean by putting my content under the htdocs? I can't get the software to start. Sorry if I sound like a moron but I guess I am when it comes to this...

: /

kalos

7:09 pm on Jan 6, 2005 (gmt 0)

10+ Year Member



C:\Program Files\Apache Group\Apache2\htdocs is the default document root for Apache 2. You can easily change this by opening the http.conf file in a text editor and using Find to locate "DocumentRoot" and changing what comes after to where ever you wish your files to be served from. Since I'm running both IIS and Apache on the same machine I just made a htdocs directory off the root C: drive and have both point to it.

Hope this helps,
-ben

misjka

11:21 am on Jan 14, 2005 (gmt 0)

10+ Year Member



Hi there!

I have followed this thread and the advice given. BUT, my Apache 2.0.52 server still doesn't start and complains about make_sock on port 127.0.0.1:80! The Firewall is shut down, and the netstat command gives this result (Swedish XP SP2) as below.

Very grateful for a solution to this

Aktiva an#*$!ningar

Proto Lokal adress Fj„rradress Tillst†nd PID
TCP 0.0.0.0:21 0.0.0.0:0 LISTENING 1528
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 808
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:2869 0.0.0.0:0 LISTENING 1068
TCP 0.0.0.0:4446 0.0.0.0:0 LISTENING 1504
TCP 0.0.0.0:9614 0.0.0.0:0 LISTENING 2720
TCP 127.0.0.1:1025 127.0.0.1:32000 ESTABLISHED 1504
TCP 127.0.0.1:1027 0.0.0.0:0 LISTENING 1960
TCP 127.0.0.1:1168 127.0.0.1:1169 ESTABLISHED 3368
TCP 127.0.0.1:1169 127.0.0.1:1168 ESTABLISHED 3368
TCP 127.0.0.1:6999 0.0.0.0:0 LISTENING 1648
TCP 127.0.0.1:32000 0.0.0.0:0 LISTENING 1308
TCP 127.0.0.1:32000 127.0.0.1:1025 ESTABLISHED 1308
TCP 127.0.0.1:43958 0.0.0.0:0 LISTENING 1528
TCP 192.168.0.102:139 0.0.0.0:0 LISTENING 4
TCP 192.168.0.102:1189 145.94.37.214:13816 ESTABLISHED 2720
TCP 192.168.0.102:1239 213.248.112.106:80 TIME_WAIT 0
TCP 192.168.0.102:1240 213.248.112.106:80 TIME_WAIT 0
UDP 0.0.0.0:161 *:* 1564
UDP 0.0.0.0:445 *:* 4
UDP 0.0.0.0:500 *:* 588
UDP 0.0.0.0:1040 *:* 920
UDP 0.0.0.0:1204 *:* 920
UDP 0.0.0.0:1205 *:* 920
UDP 0.0.0.0:4500 *:* 588
UDP 0.0.0.0:9614 *:* 2720
UDP 127.0.0.1:123 *:* 872
UDP 127.0.0.1:1900 *:* 1068
UDP 192.168.0.102:123 *:* 872
UDP 192.168.0.102:137 *:* 4
UDP 192.168.0.102:138 *:* 4
UDP 192.168.0.102:1900 *:* 1068

misjka

11:23 am on Jan 14, 2005 (gmt 0)

10+ Year Member



...and besides:

[127.0.0.1...]
or
[localhost...]

doesn't work :(

kalos

6:35 pm on Jan 14, 2005 (gmt 0)

10+ Year Member



What does your error.log say? There should be a few lines that start with a timestamp near when you are attempting to start the daemon (service).