logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Problem with 2.2.9
Author
komapeb



Joined: 02 Oct 2008
Posts: 6
Location: Straldzha, Bulgaria

PostPosted: Thu 02 Oct '08 20:09    Post subject: Problem with 2.2.9 Reply with quote

Hi all Smile Here is my problem:
The other day I reinstalled my windows (xp pro) after that I downloaded and extracted httpd-2.2.9-win32-x86-ssl.zip (in C:\Apache2). Installed VC++ 2008 and started Apache (with cmd)... ok... but when I try to type http://localhost or http://127.0.0.1 in my browser it's not showing me the "It's working" page. When I tried to install Apache as a service it told me that I have to configure httpd.conf but it's configured by default to show me "it's working". Right? I checked the ports and nothing uses port 80. I don't know where is the problem. Do I need to install something else for Apache to work? It's a fresh installation of windows xp pro and I can't see the reason why Apache is not working.

Sorry for my english Embarassed I'm bulgarian
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 02 Oct '08 20:17    Post subject: Reply with quote

I wish my Bulgarian (any other language for that matter) was as good as your English.

Quote:
Apache as a service it told me that I have to configure httpd.conf but it's configured by default to show me "it's working". Right?


Not necessarily.

error log error log error log .. you'll be amazed at what you can find there. In the event that Apache takes a dive before logging is enabled, the Event Log in Windows is the next place to look.
Back to top
komapeb



Joined: 02 Oct 2008
Posts: 6
Location: Straldzha, Bulgaria

PostPosted: Fri 03 Oct '08 8:48    Post subject: Reply with quote

Thanks for the reply Smile
Checked the log... Anything wrong here?
Code:

Starting the Apache2.2 service
The Apache2.2 service is running.
] Apache/2.2.9 (Win32) configured -- resuming normal operations
[Fri Oct 03 09:34:08 2008] [notice] Server built: Jun 12 2008 20:46:28
[Fri Oct 03 09:34:08 2008] [notice] Parent: Created child process 3288
[Fri Oct 03 09:34:08 2008] [notice] Child 3288: Child process is running
[Fri Oct 03 09:34:08 2008] [notice] Child 3288: Acquired the start mutex.
[Fri Oct 03 09:34:08 2008] [notice] Child 3288: Starting 64 worker threads.
[Fri Oct 03 09:34:08 2008] [notice] Child 3288: Starting thread to listen on port 80.
Also checked the logs in the Event Viewer... it tells me that Apache is running with no errors... checked the ports one more time and nothing. Opened httpd.conf for "N"th time and it's configured by default to show me the "It's working!" page (DocumentRoot "c:/Apache2/htdocs" and here is the index.html file). Maybe I'm missing something here?
One more thing... When I open Windows Task Manager and I search for httpd.exe I see that there are 2 processes named like that. Is this a problem?
Also what's the difference between VC 2008 x64 & VC 2008 x86 ? And which I should install?
Back to top
komapeb



Joined: 02 Oct 2008
Posts: 6
Location: Straldzha, Bulgaria

PostPosted: Fri 03 Oct '08 19:07    Post subject: Reply with quote

Can anyone help me? Embarassed
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 03 Oct '08 19:22    Post subject: Reply with quote

Quote:
Also what's the difference between VC 2008 x64 & VC 2008 x86 ? And which I should install?


You must use x86 (32 bit) unless you have a x64 (64 bit) computer at which point you must use x64.

Quote:
When I open Windows Task Manager and I search for httpd.exe I see that there are 2 processes named like that. Is this a problem?


No, this is normal. One simply listens and nothing else.

Quote:
Maybe I'm missing something here?


Not sure since I cannot see config (DO NOT POST IT).
Are you getting no response or simply a blank page?
Back to top
komapeb



Joined: 02 Oct 2008
Posts: 6
Location: Straldzha, Bulgaria

PostPosted: Fri 03 Oct '08 20:15    Post subject: Reply with quote

So I correctly installed the x86 package...
For the config file.. it's just the default conf file with some minor changes. I'm only running apache for me Smile to make some tests.
I don't get any kind of page... it keeps loading and loading and loading and... that drives me really crazy since I can't figure out what's the problem. If you have a solution or you know where is the problem please provide it cuz I really need Apache to start working.
Thanks in advance (and again sorry for my english)! Smile
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 03 Oct '08 21:10    Post subject: Reply with quote

Quote:
... it keeps loading and loading and loading and... I can't figure out what's the problem.


Sounds like it is not even getting the request ... like if you went to
http://1.1.1.1

It's time to look at firewalls (Windows and any 3rd party one that may be installed)

start -> control panel -> windows firewall -> exceptions tab -> add program -> browse for and select httpd.exe -> ok -> ok

any other firewall to be looking at? One that my come with an Internet Security program like Norton or a 3rd party firewall like ZoneAlarm?
Back to top
komapeb



Joined: 02 Oct 2008
Posts: 6
Location: Straldzha, Bulgaria

PostPosted: Fri 03 Oct '08 23:52    Post subject: Reply with quote

Nope... I don't use Windows firewall (it's turned off) but I added httpd.exe in the exceptions tab. I'm using Avast so I stopped it and tried again to start Apache... and guess what... not working Sad I'm tired
Back to top
komapeb



Joined: 02 Oct 2008
Posts: 6
Location: Straldzha, Bulgaria

PostPosted: Sat 04 Oct '08 18:45    Post subject: Reply with quote

MAGIC! It works... for some reason Apache didn't work with Firefox (3.0.3) and I don't know where was the problem but I decided to uninstall firefox and install google's chrome. When I typed the magic words in cmd and typed http://localhost in the browser (now Chrome) it is showing me that apache works! Thanks for the help anyway I've learned some new things because of you Smile Thanks for real! Smile
Back to top


Reply to topic   Topic: Problem with 2.2.9 View previous topic :: View next topic
Post new topic   Forum Index -> Apache