Cannot load :/Program Files (x86)/CA/webagent/bin/ mod_sm22.dll into server:

Document ID : KB000044223
Last Modified Date : 14/02/2018
Show Technical Document Details



When starting Apache service on your Apache server where the sm web agent is installed,  you get the  following error:

httpd.exe: Syntax error on line 60 of  :/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load  :/Program Files (x86)/CA/webagent/bin/mod_sm22.dll into server: The specified module could not be found. . 

You when you run LLAWP, you get the following pop-up with the following message:

The program can't start because libetpki2.dll is missing from your computer. Try reinstalling the program to fix this problem.



Webagent --> From 12 SP3 base to 12 SP3 cr9  on Apache 2.2

Web server OS --> Windows 2008 R2



1.Check if the ETPKI folder is missing .  For example check the ETPKI home. For example (ETPKIHOME=C:\PROGRA~2\CA\SHARED~1\CCS\ETPKI)

  If it is missing, please do the following 

2. Copy the ETPKI folder to the  webagent directory.

3. Update environment variables: For example ETPKIHOME="C:/Program Files (x86)/CA/webagent/ETPKI", R_SHLIB_LD_LIBRARY_PATH="C:/Program Files (x86)/CA/webagent/ETPKI/lib" and add "C:/Program Files (x86)/CA/webagent/ETPKI/lib" to PATH.

4. Validate by running "LLAWP" at the command prompt to see if the executable can be run accordingly or error is returned.

5. Start Apache  - no error should be encountered.