[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mod_ssl dbm session cache



Hi,

I use apache 1.3.27 with mod_ssl-2.8.12-1.3.27 (both from original source, not
debian packages) with this in httpd.conf:

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

and I get this error in ssl-engine-log for every https request:

[14/Mar/2003 13:06:23 29826] [error] Cannot store SSL session to DBM file `/usr/local/apache/logs/ssl_scache' (System error follows)
[14/Mar/2003 13:06:23 29826] [error] System: Invalid argument (errno: 22)

The file /usr/local/apache/logs/ssl_scache isn't created, even when I create it
by hand (`touch /usr/local/apache/logs/ssl_scache`), doesn't help either.

My configuration is debian sid on i386, neither libssl.so or httpd link to any
dbm library:

# ldd apache/libexec/libssl.so
        libssl.so.0.9.6 => /usr/lib/i686/cmov/libssl.so.0.9.6 (0x40037000)
        libcrypto.so.0.9.6 => /usr/lib/i686/cmov/libcrypto.so.0.9.6 (0x40064000)
        libc.so.6 => /lib/libc.so.6 (0x4011c000)
        libdl.so.2 => /lib/libdl.so.2 (0x4022c000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
# ldd apache/bin/httpd
        libm.so.6 => /lib/libm.so.6 (0x40017000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40039000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x40066000)
        libdl.so.2 => /lib/libdl.so.2 (0x40084000)
        libc.so.6 => /lib/libc.so.6 (0x40087000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

I have these dbm-related packages installed:
*** Std libs     libgdbmg1    1.7.3-27.1  1.7.3-27.1
*** Req base     libdb2       2.7.7.0-8   2.7.7.0-8
*** Req libs     libdb3       3.2.9-17    3.2.9-17
*** Req oldlibs  libdb1-compa 2.1.3-7     2.1.3-7
*** Std libs     libdb4.0     4.0.14-1    4.0.14-1
*** Opt devel    libdb2-util  2.7.7.0-8   2.7.7.0-8
*** Opt devel    libdb3-dev   3.2.9-17    3.2.9-17
*** Opt utils    libdb3-util  3.2.9-17    3.2.9-17

Similar configurations on other than debian systems work ok, so that's why I
post this here.

Please Cc: my address when replying as I am not subscribed.

Thanks,

Robert

-- 
Robo Trebula
robo@ynet.sk



Reply to: