On Sat, Dec 05, 1998, [EMAIL PROTECTED] wrote:

> Full_Name: Andreas Karajannis
> Version: 2.1.x
> OS: Linux (RH 4.2, 5.1)
> Submission from: kara.gmd.de (129.26.240.27)
> 
> There seem to be problems with the dbm support. mod_ssl isn't able
> to write to the database. Directory Permissions are correct, the files
> ssl_scache_data.dir and ssl_scache_data.pag are created on first 
> server start, but not ssl_cache_data.
> 
> Excerpt from ssl_engine.log follows:
> 
> [04/Dec/1998 16:57:54] [error] Cannot open SSLSessionCache DBM file 
> `/usr/local/apache/var/run/ssl_scache_data' for writing (store)
>  (System error follows)
> [04/Dec/1998 16:57:54] [error] System: Permission denied (errno: 13)

ssl_cache_data will be _never_ created. That's the nature of DBM libraries:
When you open a file "XXX" or write to "XXX" always just XXX.{pag,dir} are
accessed and "XXX" is not used. At least for the usual NDBM libs out there I
know of. So, it's more a permission problem on the .pag/.dir files itself.
Make sure they're owned by the user under which Apache runs (e.g. nobody), not
the user which starts Apache (root) and that this user can write to it.  On my
FreeBSD system (there .pag/.dir are not used, only a single .db because
FreeBSD uses DB/1.85) the permissions on the DBM file look like this:

-rw-r--r--  1 nobody  wheel  16384 Dec  2 10:39 apache.ssl_cache.db

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to