Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 Apache wont deliver pages
Google
Post new topic Reply to topic
Author Message
crvoss
 
 


Joined: 21 Oct 2007
Posts: 7

PostPosted: Tue Oct 23, 2007 5:44 pm Reply with quoteBack to top

I have installed A2T to my laptop (running XP home) but cannot seem to get apache to deliver pages using http://localhost. I have placed some HTML pages in htdocs and changed the listen port (Listen 80) to various values with no luck (though it changes the error message I get). The apache service shows to be started and I have restarted it between every config modification. I have read many of the messages on this site trying to determine what to do. Can anyone help me with this?

When using Listen 80
The browser eventually times out after an extemded period

When using Listen 8080 or Listen 3611 or Listen 127.0.0.1:80
The browser responds with "unable to connect"
View user's profileSend private message
linux-don
 
 


Joined: 12 Jan 2006
Posts: 30
Location: New York

PostPosted: Wed Oct 24, 2007 12:04 pm Reply with quoteBack to top

Is port 80 accessible? Do you have any firewalls that may have this port blocked? May want to check there.
View user's profileSend private messageYahoo MessengerMSN Messenger
crvoss
 
 


Joined: 21 Oct 2007
Posts: 7

PostPosted: Wed Oct 24, 2007 1:11 pm Reply with quoteBack to top

Thanks for your reply. I did a netstat -ano and found one app using port 80 then stopped apache and did the netstat -ano again which showed no apps using port 80. So I guess that means that we're good there. My firewall is turned off as well. The laptop is not connected to a network in any way -- if that makes any difference. Any more places to look?
View user's profileSend private message
linux-don
 
 


Joined: 12 Jan 2006
Posts: 30
Location: New York

PostPosted: Wed Oct 24, 2007 2:58 pm Reply with quoteBack to top

Just sent you a PM for further help.
View user's profileSend private messageYahoo MessengerMSN Messenger
crvoss
 
 


Joined: 21 Oct 2007
Posts: 7

PostPosted: Wed Oct 24, 2007 5:56 pm Reply with quoteBack to top

Sorry, no MSN linux-don. I guess "forum tag" will have to do.
View user's profileSend private message
linux-don
 
 


Joined: 12 Jan 2006
Posts: 30
Location: New York

PostPosted: Wed Oct 24, 2007 6:16 pm Reply with quoteBack to top

Have you tried http://127.0.0.1/ ?

Also, are these .html pages you are trying to serve or are they .php?
View user's profileSend private messageYahoo MessengerMSN Messenger
crvoss
 
 


Joined: 21 Oct 2007
Posts: 7

PostPosted: Wed Oct 24, 2007 6:30 pm Reply with quoteBack to top

I tried the http://127.0.0.1 with no luck. The pages in htdoc have both HTML and php files but the index.html is pure HTML. I tried specifying an HTML file in the URL also with no luck.
View user's profileSend private message
linux-don
 
 


Joined: 12 Jan 2006
Posts: 30
Location: New York

PostPosted: Thu Oct 25, 2007 2:57 am Reply with quoteBack to top

Ok... if you can't access it from the offline IP.. that means there is a problem somewhere between your server and the browser. I'm sorry, but I'm not sure how to troubleshoot this problem further. Sad

As a last effort.. try accessing http://127.0.0.1/apache2triadcp/ and login with the password that you set during install.
View user's profileSend private messageYahoo MessengerMSN Messenger
crvoss
 
 


Joined: 21 Oct 2007
Posts: 7

PostPosted: Thu Oct 25, 2007 10:34 pm Reply with quoteBack to top

Sorry about the delay, am having trouble with another computer (critical). Thanks for your help linux-don but the last suggestion didn't solve things.

If there is anybody else out there that has suggestions, I am all ears. I really need to get this going. Thanks in advance.

I did another thing that might help diagnose the problem. I shut down apache and did a netstat -ano and there were no processes accessing port 80. Then I started apache and did another netstat -ano. That gave me one process listening on port 80. I then launched Firefox and type in the URL http://localhost/ which it did not find anything. I then did another netstat -ano and it showed one process listening (I assume to be apache) and two process listed as established. One with a foreign address of 127.0.0.1:1140 and the other with a foreign address of 127.0.0.1:80. I dont know how to interpret that since I dont know how to find out what program it is talking about. It lists the PID but I don't know how to find out which program it is. Can anyone help me there?
View user's profileSend private message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Sun Oct 28, 2007 2:29 pm Reply with quoteBack to top

search tcpview and use it to get a clear positive of what is listening
based on what you say it looks like it isnot apache , but in that case it will write a line in it's error log saying that port 80 is allready in use
View user's profileSend private message
crvoss
 
 


Joined: 21 Oct 2007
Posts: 7

PostPosted: Sun Oct 28, 2007 8:44 pm Reply with quoteBack to top

Here is what I got from TopView:

alg.exe:2944 TCP compaqlt:1025 compaqlt:0 LISTENING
ashMaiSv.exe:2796 TCP compaqlt:12143 compaqlt:0 LISTENING
ashMaiSv.exe:2796 TCP compaqlt:12110 compaqlt:0 LISTENING
ashMaiSv.exe:2796 TCP compaqlt:12025 compaqlt:0 LISTENING
ashMaiSv.exe:2796 TCP compaqlt:12119 compaqlt:0 LISTENING
ashWebSv.exe:2828 TCP compaqlt:12080 compaqlt:0 LISTENING
firefox.exe:2780 TCP compaqlt:1359 localhost:http ESTABLISHED
firefox.exe:2780 TCP compaqlt:1355 localhost:1356 ESTABLISHED
firefox.exe:2780 TCP compaqlt:1356 localhost:1355 ESTABLISHED
firefox.exe:2780 TCP compaqlt:1358 localhost:1357 ESTABLISHED
firefox.exe:2780 TCP compaqlt:1357 localhost:1358 ESTABLISHED
httpd.exe:1752 TCP compaqlt:http localhost:1248 CLOSE_WAIT
httpd.exe:3944 TCP compaqlt:http localhost:1359 ESTABLISHED
httpd.exe:3944 TCP compaqlt:http localhost:1260 CLOSE_WAIT
httpd.exe:3944 TCP compaqlt:http localhost:1261 CLOSE_WAIT
httpd.exe:3944 TCP compaqlt:http compaqlt:0 LISTENING
lsass.exe:788 UDP compaqlt:isakmp *:*
lsass.exe:788 UDP compaqlt:4500 *:*
mysqld.exe:300 TCP compaqlt:3306 compaqlt:0 LISTENING
svchost.exe:1024 TCP compaqlt:epmap compaqlt:0 LISTENING
svchost.exe:1084 UDP compaqlt:1053 *:*
svchost.exe:1084 UDP compaqlt:ntp *:*
svchost.exe:1084 UDP compaqlt:ntp *:*
svchost.exe:1136 UDP compaqlt:1101 *:*
svchost.exe:1136 UDP compaqlt:1048 *:*
svchost.exe:1136 UDP compaqlt:1041 *:*
svchost.exe:1516 UDP compaqlt:1900 *:*
svchost.exe:1516 UDP compaqlt:1900 *:*
System:4 TCP compaqlt:microsoft-ds compaqlt:0 LISTENING
System:4 TCP compaqlt:netbios-ssn compaqlt:0 LISTENING
System:4 UDP compaqlt:netbios-ns *:*
System:4 UDP compaqlt:netbios-dgm *:*
System:4 UDP compaqlt:microsoft-ds *:*
vmware-authd.exe:1292 TCP compaqlt:912 compaqlt:0 LISTENING
winvnc4.exe:108 TCP compaqlt:5900 compaqlt:0 LISTENING
winvnc4.exe:108 TCP compaqlt:5800 compaqlt:0 LISTENING

I may not understand everything I see here but it looks like apache is not listening on port 80. However, netstat says that it is:

Active Connections

Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 3944
[httpd.exe]

TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 1024
[svchost.exe]

TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
[System]

TCP 0.0.0.0:912 0.0.0.0:0 LISTENING 1292
[vmware-authd.exe]

TCP 0.0.0.0:5800 0.0.0.0:0 LISTENING 108
[WinVNC4.exe]

TCP 0.0.0.0:5900 0.0.0.0:0 LISTENING 108
[WinVNC4.exe]

TCP 10.0.0.16:139 0.0.0.0:0 LISTENING 4
[System]

TCP 127.0.0.1:1025 0.0.0.0:0 LISTENING 2944
[alg.exe]

TCP 127.0.0.1:3306 0.0.0.0:0 LISTENING 300
[mysqld.exe]

TCP 127.0.0.1:12025 0.0.0.0:0 LISTENING 2796
[ashMaiSv.exe]

TCP 127.0.0.1:12080 0.0.0.0:0 LISTENING 2828
[ashWebSv.exe]

TCP 127.0.0.1:12110 0.0.0.0:0 LISTENING 2796
[ashMaiSv.exe]

TCP 127.0.0.1:12119 0.0.0.0:0 LISTENING 2796
[ashMaiSv.exe]

TCP 127.0.0.1:12143 0.0.0.0:0 LISTENING 2796
[ashMaiSv.exe]

TCP 10.0.0.16:1332 10.0.0.1:445 ESTABLISHED 4
[System]

TCP 127.0.0.1:80 127.0.0.1:1359 ESTABLISHED 3944
[httpd.exe]

TCP 127.0.0.1:1355 127.0.0.1:1356 ESTABLISHED 2780
[firefox.exe]

TCP 127.0.0.1:1356 127.0.0.1:1355 ESTABLISHED 2780
[firefox.exe]

TCP 127.0.0.1:1357 127.0.0.1:1358 ESTABLISHED 2780
[firefox.exe]

TCP 127.0.0.1:1358 127.0.0.1:1357 ESTABLISHED 2780
[firefox.exe]

TCP 127.0.0.1:1359 127.0.0.1:80 ESTABLISHED 2780
[firefox.exe]

TCP 127.0.0.1:80 127.0.0.1:1261 CLOSE_WAIT 3944
[httpd.exe]

TCP 127.0.0.1:80 127.0.0.1:1260 CLOSE_WAIT 3944
[httpd.exe]

TCP 127.0.0.1:80 127.0.0.1:1248 CLOSE_WAIT 1752
[httpd.exe]

UDP 0.0.0.0:1048 *:* 1136
C:\WINDOWS\system32\mswsock.dll
C:\WINDOWS\System32\bmnet.dll
-- unknown component(s) --
[svchost.exe]

UDP 0.0.0.0:1101 *:* 1136
C:\WINDOWS\system32\mswsock.dll
C:\WINDOWS\System32\bmnet.dll
-- unknown component(s) --
[svchost.exe]

UDP 0.0.0.0:500 *:* 788
[lsass.exe]

UDP 0.0.0.0:4500 *:* 788
[lsass.exe]

UDP 0.0.0.0:1041 *:* 1136
C:\WINDOWS\system32\mswsock.dll
C:\WINDOWS\System32\bmnet.dll
-- unknown component(s) --
[svchost.exe]

UDP 0.0.0.0:445 *:* 4
[System]

UDP 10.0.0.16:137 *:* 4
[System]

UDP 10.0.0.16:138 *:* 4
[System]

UDP 10.0.0.16:1900 *:* 1516
[svchost.exe]

UDP 10.0.0.16:123 *:* 1084
[svchost.exe]

UDP 127.0.0.1:1900 *:* 1516
[svchost.exe]

UDP 127.0.0.1:1053 *:* 1084
[svchost.exe]

What do you make of that?
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT