Previous Topic: Increase the Server Response Time

Next Topic: sqljdbc_auth.dll File Already Loaded in Another Classloader Error on Microsoft SQL Server

SSLSessionCache Error on 64-bit Windows

Valid on 64-bit Windows

Symptom:

When I try to run Apache HTTP Server, the following error occurs:

Syntax error on line 62 of C:/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/extra/httpd-ssl.conf:
SSLSessionCache: Invalid argument: size has to be >= 8192 bytes

Solution:

This problem occurs on a 64-bit version of Windows due to a known issue with Apache HTTP Server.

To correct this problem

  1. Create a link or shortcut to the following folder:
    C:\Program Files (x86)\Apache Software Foundation\Apache2.2
    

    For example, create a link to this folder as c:\Apache2.2.

  2. Change to the following directory:
    Apache_install_dir\conf\extra
    
    Apache_install_dir

    Specifies your Apache installation directory.

  3. Open the httpd-ssl.conf file in a text editor.
  4. Locate the following line:
    SSLSessionCache        "shmcb: C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/ssl_scache(512000)"
    
  5. Replace the Apache path in this line with the path of the link that you created in Step 1, for example:
    SSLSessionCache        "shmcb:c:/Apache2.2/logs/ssl_scache(512000)"
    

    In the preceding line, c:/Apache2.2 is a shortcut to the C:/Program Files (x86)/Apache Software Foundation/Apache2.2 directory.

  6. Save the httpd-ssl.conf file.