8-Jul-99 09:40 you wrote:
> Hello,


> I've been playing around with mod-ssl.  I wonder about the following
> entries in the general error.log:

> [Thu Jul  8 09:12:05 1999] [error] mod_ssl: Cannot open SSLSessionCache
> DBM file `/var/run/ssl.dbm' for writing (store) (System error follows)
> [Thu Jul  8 09:12:05 1999] [error] System: Permission denied (errno: 13)


> I can see why it fails:

> root@dps-1:/log/error # cd /var/run
> root@dps-1:/var/run # ll ssl*
> -rw-------   2 root     root        12288 jul  8 09:13 ssl.dbm.dir
> -rw-------   2 root     root        12288 jul  8 09:13 ssl.dbm.pag
> -rw-------   1 nobody   root            0 jul  8 09:13 ssl.sem.1113


> So my question is:

> Why is the *.dbm files owned by root, when the webserver runs as nobody
> - that is like asking for trouble!  ;o)

Somehow mod_ssl.h wrongly guessed extension for files: .db instead of .dir/.pag
Permission denied come from the same problem...


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

Reply via email to