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 -> News & Hangout View previous topic :: View next topic
Reply to topic   Topic: Apache 2.2.4 Win32 RC available (build with VC2005 SP1)
Author
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3091
Location: Hilversum, NL, EU

PostPosted: Sat 06 Jan '07 17:26    Post subject: Apache 2.2.4 Win32 RC available (build with VC2005 SP1) Reply with quote

Apache 2.2.4 Win32 RC is now available for download here at the Apache Lounge. It is build without any modification to the ASF source and it is expected soon to be released by ASF.

Changes: see www.apachelounge.com/changelog.html

Note: Build with the latest Visual Studio® 2005 Service Pack 1.
Be sure to install the new Visual C++ 2005 Redistributable Package, see the readme in the .zip.

VC2005 SP1 has quite some fixes/improvements, but MS is not giving too much info what is fixed/changed in C++, only I could find was: http://blogs.msdn.com/vcblog/archive/2006/12/18/visual-studio-2005-sp1-released.aspx


Download: Removed

Steffen
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Sun 07 Jan '07 18:37    Post subject: Reply with quote

I'm having some trouble with remote IP address always 0.0.0.0.

My access.log looks like:
Quote:
0.0.0.0 - - [07/Jan/2007:11:22:59 -0500] "GET /server-status HTTP/1.1" 403 215
0.0.0.0 - - [07/Jan/2007:11:23:36 -0500] "GET / HTTP/1.1" 200 20417


I'm running your build on w2k-sp4.

I also tried building with VC2005 from the Apache Pre-Release Test Versions source (httpd-2.2.4-win32-src.zip) and I have the same problem.

Anyone else see this?

-tom-

p.s. Unzipping your httpd-2.2.4-win32-x86-ssl.zip doesn't create a \logs directory, so it needs to be created by hand. Minor detail...

-t-
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3091
Location: Hilversum, NL, EU

PostPosted: Mon 08 Jan '07 19:11    Post subject: Reply with quote

Strange, my access.log looks fine:

62.194.40.33 - - [08/Jan/2007:18:08:49 +0100] "GET / HTTP/1.1" 200 44
62.194.40.33 - - [08/Jan/2007:18:08:49 +0100] "GET /favicon.ico HTTP/1.1" 404 209

The logs dir is an empty one, I put now zero log files in it. Hopefully all extractors are doing it now.

Thanks!

Steffen
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Mon 08 Jan '07 23:35    Post subject: Reply with quote

With some experimenting, it looks like a Windows-2000-only problem.

The same binaries (both yours and the one that I built) run fine on Win2003 and on WinXP.

I built 2.2.4 with VC6 and got the same results - works OK on Win2003 & on WinXP, but I get IP addresses 0.0.0.0 on Win2k.

Apache 2.2.3 works fine on all these machines, regardless of which VC version it was built with, so I don't think it is a compiler problem.

Have you (or anyone?) tried Apache 2.2.4 on Windows 2000? I've seen this problem on two different Win2000 machines now, but I would be happier if someone else can confirm they see it too.

-tom-

p.s. Where did you get the new vcredist_x86-sp1.exe ? I can't seem to find it on my Visual C++ 2005 system or on the Microsoft site anywhere.
I did find the new WinInstall merge modules (.msm files) in C:\Program Files\Common Files\Merge Modules, but not any redistributable .exe's.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7364
Location: Germany, Next to Hamburg

PostPosted: Tue 09 Jan '07 10:13    Post subject: Reply with quote

Hello Tom!

Please try Win32DisableAcceptEx I read about that problem in apache dev list. But I haven't tried that out.
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Tue 09 Jan '07 17:21    Post subject: Reply with quote

Hi James,

Yes - I tried Win32DisableAcceptEx per Bill Rowe's note in the dev list.

Bill also posted a patch to correct the problem.

I responded that both of these solutions work to fix the win2000 problem with Apache 2.2.4 ( actually the problem is in APR 1.2.8 which Apache 2.2.4 uses).

Although I've seen the problem on several Win2000 machines now - I don't know of anyone else who has run into this.

Do you have a win2000 machine? Have you (or anyone else) seen this problem with 2.2.4?

I'd be glad to know that someone else has independently confirmed the problem with Windows 2000.


-tom-
Back to top
NiGHtOwL



Joined: 11 Jan 2007
Posts: 14

PostPosted: Fri 12 Jan '07 0:57    Post subject: Reply with quote

Yes, here I am and I confirm that I run into the same:

http://www.apachelounge.com/viewtopic.php?p=6017

I will read further now to hopefully be able to solve it. Thanks
Back to top
nikolas



Joined: 29 Jan 2007
Posts: 1
Location: Caracas, Venezuela

PostPosted: Mon 29 Jan '07 17:05    Post subject: Reply with quote

Same happened to my W2K/2.2.4 server...fixed uncommenting Win32DisableAcceptEx

Thx Tom
Back to top
starberg



Joined: 01 Mar 2007
Posts: 1
Location: uk

PostPosted: Thu 01 Mar '07 20:06    Post subject: help Reply with quote

i have this problem on win2k

how does AcceptEx() disable thing work - i googled but cudnt find anythin usefull

Thnxs
James
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Fri 02 Mar '07 7:02    Post subject: Reply with quote

James,

I'm not sure what you are asking here.

To use the workaround, put the Apache directive Win32DisableAcceptEx in your httpd.conf file.
It is just a one-word directive with no arguments. It should be outside of any blocks like <Directory>, <VirtualHost>, <Location>, etc.

This causes Apache on Windows systems to use the standard socket accept() function instead of the higher-performance Microsoft-specific AcceptEx() function to accept incoming requests.

See Apache bug #41321 for more info about how the getpeername() function doesn't work on Windows 2000 if AcceptEx() is used.

-tom-
Back to top
Thog



Joined: 12 Feb 2007
Posts: 75
Location: Montreal

PostPosted: Sun 04 Mar '07 21:20    Post subject: Reply with quote

Apache will use 5x more memory if you enable Win32DisableAcceptEx... I don't know why but it's almost more not worth it to not use it then use it for me since I only have problems a few times a day...

200 megs when I don't use it vs 1gig+ of memory usage when I do...
Back to top
Iger



Joined: 27 Mar 2007
Posts: 1

PostPosted: Tue 27 Mar '07 11:52    Post subject: Reply with quote

Just to confirm - same thing here. Win2k and Apache 2.2.4 had the 0.0.0.0 problem. Fixed this by adding Win32DisableAcceptEx string to httpd.conf file.
Btw, I 've checked httpd.exe's footprint and it doesn't grow 5x times for me... Waiting for an official fix from apache Smile

Thanks for the hints here - great forum!
Back to top


Reply to topic   Topic: Apache 2.2.4 Win32 RC available (build with VC2005 SP1) View previous topic :: View next topic
Post new topic   Forum Index -> News & Hangout