Init: Session Cache is not configured

After installing cooltools and setting up apache by checking my .confs with new .confs suggested I get the following errors on startup:

[Mon Mar 19 14:46:51 2007] [notice] suEXEC mechanism enabled (wrapper: /opt/coolstack/apache2/bin/suexec)

[Mon Mar 19 14:46:54 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]

[Mon Mar 19 14:46:55 2007] [notice] Digest: generating secret for digest authentication ...

[Mon Mar 19 14:46:55 2007] [notice] Digest: done

[Mon Mar 19 14:46:57 2007] [notice] Apache/2.2.3 (Unix) PHP/5.2.0 mod_ssl/2.2.3 OpenSSL/0.9.7d configured -- resuming normal operations

This is at the beginning of the httpd-ssl.conf file:

<IfModule ssl_module>

#Inter-Process Session Cache:

#Configure the SSL Session Cache: First the mechanism

#to use and second the expiring timeout (in seconds).

SSLSessionCache dbm:/usr/local/apache2/logs/ssl_scache

#SSLSessionCacheshmcb:/var/apache2/logs/ssl_scache(512000)

SSLSessionCacheTimeout 300

I have seen many posts looking for answers but have seen no answers. Any ideas anybody?

[1154 byte] By [imana] at [2007-11-26 22:11:09]
# 1

Please see the default httpd-ssl.conf file in the conf/extra directory. Here are the relevant lines from it :

#SSLSessionCache dbm:/opt/coolstack/apache2/logs/ssl_scache

SSLSessionCacheshmcb:/opt/coolstack/apache2/logs/ssl_scache(512000)

SSLSessionCacheTimeout 300

You need to use shmcb, not dbm.

Shanti

shantiSa at 2007-7-10 10:59:20 > top of Java-index,Open Source Technologies,OpenSPARC...
# 2

Same result:

[Mon Mar 19 14:46:51 2007] [notice] suEXEC mechanism enabled (wrapper: /opt/coolstack/apache2/bin/suexec)

[Mon Mar 19 14:46:54 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]

[Mon Mar 19 14:46:55 2007] [notice] Digest: generating secret for digest authentication ...

[Mon Mar 19 14:46:55 2007] [notice] Digest: done

[Mon Mar 19 14:46:57 2007] [notice] Apache/2.2.3 (Unix) PHP/5.2.0 mod_ssl/2.2.3 OpenSSL/0.9.7d configured -- resuming normal operations

I am assuming the ssl_scache file needs to be created in the directory, correct me if I am wrong? Maybe my permissions are wrong - what should they be set too?

imana at 2007-7-10 10:59:20 > top of Java-index,Open Source Technologies,OpenSPARC...