Expand my Community achievements bar.

Dispatcher error: Cannot load (Filepath)/modules/disp_apache2.2.dll into server: The specified module could not be found.

Avatar

Level 2

Here is an odd one. I currently moved to Windows 11 and installed Apache 2.2.25 and dispatcher 4.2.3 (both same version as on my older Windows 10 machine).

 

However, when I start Apache server, it throws an error in the logs:

 

[Tue Jul 18 15:41:17 2023] [warn] pid file C:/ApacheSoftwareFoundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Jul 18 15:41:17 2023] [notice] Apache/2.2.25 (Win32) configured -- resuming normal operations
[Tue Jul 18 15:41:17 2023] [notice] Server built: Jul 10 2013 01:52:12
[Tue Jul 18 15:41:17 2023] [notice] Parent: Created child process 6272
[Tue Jul 18 15:41:17 2023] [notice] Child 6272: Child process is running
[Tue Jul 18 15:41:17 2023] [notice] Child 6272: Acquired the start mutex.
[Tue Jul 18 15:41:17 2023] [notice] Child 6272: Starting 64 worker threads.
[Tue Jul 18 15:41:17 2023] [notice] Child 6272: Starting thread to listen on port 80.
[Tue Jul 18 15:41:23 2023] [notice] Parent: Received restart signal -- Restarting the server.
[Tue Jul 18 15:41:23 2023] [notice] Child 6272: Exit event signaled. Child process is ending.
httpd.exe: Syntax error on line 151 of C:/ApacheSoftwareFoundation/Apache2.2/conf/httpd.conf: Cannot load C:/ApacheSoftwareFoundation/Apache2.2/modules/disp_apache2.2.dll into server: The specified module could not be found.
[Tue Jul 18 15:41:23 2023] [warn] (OS 995)The I/O operation has been aborted because of either a thread exit or an application request. : winnt_accept: Asynchronous AcceptEx failed.
[Tue Jul 18 15:41:24 2023] [notice] Child 6272: Released the start mutex
[Tue Jul 18 15:41:25 2023] [notice] Child 6272: All worker threads have exited.
[Tue Jul 18 15:41:25 2023] [notice] Child 6272: Child process is exiting

 

Now to show where the dll is located:

 

christopherv662_0-1689710019160.png

In the httpd.conf file:

christopherv662_1-1689710073919.png

 

As you can see, the path is correct but, Apache doesn't think so. I've tried turning the UAC off, disabled my anti-virus software, reinstalled Apache 2.2 multiple times. Any idea what's going on for Windows 11? It works on my old Windows 10 laptop but, not my new Windows 11 laptop.

 

4 Replies

Avatar

Employee

1. Ensure that the "disp_apache2.2.dll" module matches the architecture (32-bit or 64-bit) of your Apache server. The DLL must be compatible with the Apache version and the operating system's architecture.

2. try using below line - 

LoadModule dispatcher_module modules\disp_apache2.2.dll

3. check if the dll file is having sufficient permission to access by apache. try to run with admin permission to check if this works.

Avatar

Level 2

1. Confirm that both the Apache 2.2 and the dispatcher are x86 versions (32-bit).

2. Tried this and still have the same error.

3. I've turned UAC off, modify the security settings of the apache folder, reinstall Apache 2.2 after turning the UAC off. Still having the issue.

Avatar

Community Advisor

@christopherv662 

this might be related to permission. 
Can you check if appropriate permissions are in-place?

Avatar

Level 2

That's my gut feeling. I can confirm the modules folder has all the permissions for the 4 group / user names listed:

christopherv662_0-1689778045046.png

I have Windows UAC off currently as well.