000035617 - Unable to start Apache for after installing RSA Access Manager Agent 5.0 SP4 for Apache on Windows 2012 R2

Document created by RSA Customer Support Employee on Oct 27, 2017
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000035617
Applies ToRSA Product Set: Access Manager
RSA Product/Service Type: RSA Access Manager Web Agent
RSA Version/Condition: 5.0 SP4
Platform: Apache™ HTTP Server 2.4.16 (64-bit) with Microsoft® Windows® Server 2012 R2 Standard (x86_64)
Platform (Other): Apache later than 2.2
Issue

Unable to start Apache after installing Agent 5.0 SP4 for Apache 2.4 on Windows 2012 R2.
The following errors appear in the Windows Application event logs:



Log Name:      Application
Source:        Apache Service
Date:          10/10/2017 10:38:36 AM
Event ID:      3299
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      <Your hostname>
Description:
The Apache service named  reported the following error:
>>> AH00526: Syntax error on line 25 of C:/Program Files/RSA/Access Manager Agent 5.0 SP4/Apache2.4/conf/ct-httpd.conf:     .


Log Name:      Application
Source:        Apache Service
Date:          10/10/2017 10:38:36 AM
Event ID:      3299
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      <Your hostname>
Description:
The Apache service named  reported the following error:
>>> Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration     .

CauseSome Apache binary packages provided by some distributions available on the Internet do not include "mod_access_compat". "mod_access_compat" is required by Access Manager Agent.
ResolutionTo fix this issue, follow these steps.
  1. Make a backup copy of the httpd.conf file.  For example, from Command Prompt:

C:\>cd C:\<Installed path>\Apache<version>\conf
C:\httpd-2.4.28-Win64-VC15\Apache24\conf>dir
...
 Directory of C:\httpd-2.4.28-Win64-VC15\Apache24\conf
10/10/2017  10:50 AM    <DIR>          .
10/10/2017  10:50 AM    <DIR>          ..
09/25/2017  06:29 PM             1,820 charset.conv
10/06/2017  03:00 PM    <DIR>          extra
10/10/2017  10:38 AM            20,705 httpd.conf
...
C:\httpd-2.4.28-Win64-VC15\Apache24\conf>copy httpd.conf httpd.conf.back
        1 file(s) copied.
C:\httpd-2.4.28-Win64-VC15\Apache24\conf>dir
...
10/10/2017  10:38 AM            20,705 httpd.conf
10/10/2017  10:38 AM            20,705 httpd.conf.back

If you aren't sure where the httpd.conf file is, you can find the file as shown below, using Command Prompt:


C:\>cd /
C:\>dir /S /B "httpd.conf"
C:\<Installed path>\Apache<version>\conf\httpd.conf

  1. Open httpd.conf with a text editor
  2. In httpd.conf, insert the following line to load the "mod_access_compat" module when Apache starts:

LoadModule access_compat_module modules/mod_access_compat.so

Note: The exact location of the module may vary depending on the Apache binary packages provided by the distribution used.  Adjust the LoadModule command according to the Apache binary packages distribution in use.

  1. Save httpd.conf
  2. Start the Apache 2.4 service.  For example:



C:\>cd C:\httpd-2.4.28-Win64-VC15\Apache24\bin
C:\httpd-2.4.28-Win64-VC15\Apache24\bin>httpd.exe -k start

 

Attachments

    Outcomes