Author |
|
Creekhail
Joined: 06 Sep 2024 Posts: 6 Location: Germany, Heidenheim
|
Posted: Fri 06 Sep '24 8:44 Post subject: can't start Apache httpd 2.4.62 32bit |
|
|
We are using Apache httpd on Windows for many years - 64bit and 32bit versions.
After the last update (2.4.62) we run in an error with the 32bit version - 64bit is fine.
If we try to start httpd we get following error message:
"The procedure entry point _apr_sockaddr_zone_set@8 could not be located in the dynamic link library libhttpd.dll"
Has anybody else the same problem? And more important: Can I solve this issue in any way? |
|
Back to top |
|
Otomatic
Joined: 01 Sep 2011 Posts: 203 Location: Paris, France, EU
|
Posted: Fri 06 Sep '24 8:55 Post subject: |
|
|
Hi,
May be because the latest 14.40.33810 Visual C++ Redistributable Visual Studio 2015-2022 x86 are not installed. |
|
Back to top |
|
Creekhail
Joined: 06 Sep 2024 Posts: 6 Location: Germany, Heidenheim
|
Posted: Fri 06 Sep '24 9:05 Post subject: |
|
|
That was also my first idea, but unfortunately that is not the case.
The previous version of Apache httpd was already running VS17. |
|
Back to top |
|
Otomatic
Joined: 01 Sep 2011 Posts: 203 Location: Paris, France, EU
|
Posted: Fri 06 Sep '24 10:15 Post subject: |
|
|
Hi,
Although Wampserver 32bit support was discontinued in May 2023, I have - just for fun - created an Apache 2.4.62 32bit installer and installed it on my 32bit version of Wampserver. I have no problems running Apache 2.4.62.
- apache_error.log
Code: | [Fri Sep 06 09:38:28.453799 2024] [mpm_winnt:notice] [pid 1892:tid 424] AH00455: Apache/2.4.62 (Win32) PHP/8.2.14 mod_fcgid/2.3.10-dev configured -- resuming normal operations
[Fri Sep 06 09:38:28.453799 2024] [mpm_winnt:notice] [pid 1892:tid 424] AH00456: Apache Lounge VS17 Server built: Sep 4 2024 10:09:26
[Fri Sep 06 09:38:28.453799 2024] [core:notice] [pid 1892:tid 424] AH00094: Command line: 'E:\\wamp\\bin\\apache\\apache2.4.62.1\\bin\\httpd.exe -d E:/wamp/bin/apache/apache2.4.62.1'
[Fri Sep 06 09:38:28.457800 2024] [mpm_winnt:notice] [pid 1892:tid 424] AH00418: Parent: Created child process 8804
[Fri Sep 06 09:38:30.107328 2024] [mpm_winnt:notice] [pid 8804:tid 452] AH00354: Child: Starting 64 worker threads.
|
|
|
Back to top |
|
Creekhail
Joined: 06 Sep 2024 Posts: 6 Location: Germany, Heidenheim
|
Posted: Fri 06 Sep '24 10:19 Post subject: |
|
|
I have only used the binaries that are available for download here. We have never built a version ourselves. |
|
Back to top |
|
Otomatic
Joined: 01 Sep 2011 Posts: 203 Location: Paris, France, EU
|
Posted: Fri 06 Sep '24 11:09 Post subject: |
|
|
Hi,
As indicated in the logs :
Code: | [pid 1892:tid 424] AH00456: Apache Lounge VS17 Server built: Sep 4 2024 10:09:26 | I also use the Apache Lounge binaries. All this to say that, a priori, the problem doesn't come from the Apache libhttpd.dll file. |
|
Back to top |
|
Creekhail
Joined: 06 Sep 2024 Posts: 6 Location: Germany, Heidenheim
|
Posted: Fri 06 Sep '24 11:16 Post subject: |
|
|
Entrypoint for apr_sockaddr_zone_set is missing - that has something to do with IP6.
We don't use IP6 on this servers and it was never a problem before with the older versions. Nothing changed in the configs. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3093 Location: Hilversum, NL, EU
|
Posted: Fri 06 Sep '24 11:51 Post subject: |
|
|
Sure you have APR 1.7.5 and httpd 2.4.62 ?
You can check it with :
>httpd -V |
|
Back to top |
|
Creekhail
Joined: 06 Sep 2024 Posts: 6 Location: Germany, Heidenheim
|
Posted: Fri 06 Sep '24 12:03 Post subject: |
|
|
httpd -V is not possible, because as soon as I start httpd the error message comes up.
But I'm sure that I have the right version, because I have downloaded yesterday the zip from here.
In the file properties of httpd.exe the version 2.4.62 is mentioned.
How can I check the version of APR? I see for example libapr-1.dll - but this is old compared to the other files. |
|
Back to top |
|
Creekhail
Joined: 06 Sep 2024 Posts: 6 Location: Germany, Heidenheim
|
Posted: Fri 06 Sep '24 12:07 Post subject: |
|
|
I found the problem - thank you Steffen for pushing me in the right direction.
The libapr-1.dll was not changed because of other problems in the past with newer versions of it. Our installscript has still used the old one, but now the new version of httpd.exe can't work anymore with that. |
|
Back to top |
|