Hi Ralf,

We're running Debian Linux (kernel 2.2.7, glibc 2.1), apache 1.3.6 & mod_ssl
2.3.5.

Unless we manually chown the ssl_scache.dir and ssl_scache.pag files, we
get:

Can't open SSLSessionCache DBM file for writing (store): system error
follows
w/ a system error of Permission denied.

The system acts a little flaky, but I haven't been able to track down
consitent negative behavior.

I added some debugging statements to ssl_engine_scache.c (in the
ssl_scache_dbm_init() function).  It turns out that somehow,
SSL_DBM_FILE_SUFFIX_DIR and  SSL_DBM_FILE_SUFFIX_PAG are both defined as
".db" instead of ".pag" and ".dir", respectively.  I don't know why they're
getting defined this way in mod_ssl.h (and I'm not sure how to debug
preproccessor stuff).  This of course causes chown() to fail.

Check those return values!!!

Anyway, manually chowning the files fixes this, and as I said, I'm not sure
this caused any actual problems (besides presumably adding connection
overhead by forcing renegotiated sesssions).

Thought you'd want to know, though.  Let me know if you need more info.

Dave Neuer
Software Engineer
Futuristics Labs, Inc.
www.futuristics.net


______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to