[Issues] [mod_gnutls 0000107]: Cannot create DBM Cache
Mantis Bug Tracker
issues at outoforder.cc
Thu Jul 21 17:21:54 EDT 2011
The following issue has been CLOSED
======================================================================
http://issues.outoforder.cc/view.php?id=107
======================================================================
Reported By: sdrieling
Assigned To: dashula
======================================================================
Project: mod_gnutls
Issue ID: 107
Category: Configuration Issue
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Target Version: 0.6
Apache Version: 2.2.16
Resolution: fixed
Fixed in Version: 0.6
======================================================================
Date Submitted: 2010-10-19 13:56 EET
Last Modified: 2011-07-21 23:21 EET
======================================================================
Summary: Cannot create DBM Cache
Description:
Trying to use DBM for caching throws an error at apache start: [error]
(20019)DSO load failed: GnuTLS: Cannot create DBM Cache at
`/var/cache/gnutls/cache'
(20019)DSO load failed: GnuTLS: Post Config for GnuTLSCache Failed. Shutting
Down.
Steps to Reproduce:
chmod 777 /var/cache/gnutls/
GnuTLSCache dbm /var/cache/gnutls/cache
======================================================================
----------------------------------------------------------------------
(0000278) dashula (manager) - 2011-07-21 02:31
http://issues.outoforder.cc/view.php?id=107#c278
----------------------------------------------------------------------
The error states that a DSO failed to load, on further investigation this seems
to be because the included APR-Util with apache is normally compiled without DBM
(Berkley Database) library support. We can validate this by using apu-1-config
with the --dbm-libs or --db-version arguments.
This can be resolved by recompiling Apr-Util with Berkley DBM support.
The bug is actually a result of confusion between the various DBM formats,
namely mistaking "db" for the default APR DBM type, which should be "sdbm" or
"default".
REFERENCES:
[1]
http://apr.apache.org/docs/apr-util/0.9/group__APR__Util__DBM.html#gf7295ba8157f487b78319e168e1344b4
[2] http://httpd.apache.org/docs/2.0/dso.html
[3] http://apr.apache.org/docs/apr-util/0.9/group__APR__Util.html
[4] http://unixpapa.com/incnote/dbm.html
[5] http://en.wikipedia.org/wiki/Dbm
----------------------------------------------------------------------
(0000282) dashula (manager) - 2011-07-21 23:14
http://issues.outoforder.cc/view.php?id=107#c282
----------------------------------------------------------------------
Grrrr! The Documentation is wrong!
Docs should be updated as follows...
Currently mod_gnutls supports these Cache Types:
-gdbm (gnu's implementation of dbm)
-none (no cache)
Nota Bene:
-dbm (berkley's implementation of dbm)
This is not implemented yet!
Requires Berkley DBM to installed and linked against apr-util!
Recommend gdbm as default cache type.
----------------------------------------------------------------------
(0000283) dashula (manager) - 2011-07-21 23:11
http://issues.outoforder.cc/view.php?id=107#c283
----------------------------------------------------------------------
-sdbm (APR's default implementation of dbm):
According to mod_gnutls' change log this was being used in previous version but
then dropped due to its limitations (database size and concurrency constraints).
----------------------------------------------------------------------
(0000284) dashula (manager) - 2011-07-21 23:21
http://issues.outoforder.cc/view.php?id=107#c284
----------------------------------------------------------------------
Cache type "dbm" should not be used.
Valid values for GnuTLSCache configuration directive are:
-gdbm
-none
Berkley-DBM support may be added in future versions of mod_gnutls.
Issue History
Date Modified Username Field Change
======================================================================
2010-10-19 13:56 sdrieling New Issue
2011-05-24 09:39 dashula Note Added: 0000269
2011-07-08 15:51 dashula Note Deleted: 0000269
2011-07-08 16:30 dashula Note Added: 0000271
2011-07-08 16:30 dashula Assigned To => dashula
2011-07-08 16:30 dashula Status new => acknowledged
2011-07-08 16:30 dashula Note Deleted: 0000271
2011-07-21 01:41 dashula Note Added: 0000278
2011-07-21 02:31 dashula Note Edited: 0000278
2011-07-21 02:48 dashula Status acknowledged =>
assigned
2011-07-21 04:34 dashula Note Added: 0000279
2011-07-21 04:35 dashula Note Revision Dropped: 278: 0000025
2011-07-21 04:41 dashula Note Deleted: 0000279
2011-07-21 04:45 dashula Note Added: 0000280
2011-07-21 04:45 dashula Status assigned => resolved
2011-07-21 04:45 dashula Fixed in Version => 0.6
2011-07-21 04:45 dashula Resolution open => fixed
2011-07-21 04:48 dashula Fixed in Version 0.6 => -TRUNK
2011-07-21 04:48 dashula Target Version => 0.6
2011-07-21 04:48 dashula Reproducibility have not tried =>
always
2011-07-21 04:49 dashula Note Deleted: 0000280
2011-07-21 04:59 dashula Fixed in Version -TRUNK => 0.6
2011-07-21 05:00 dashula Note Added: 0000281
2011-07-21 05:01 dashula Note Deleted: 0000281
2011-07-21 22:39 dashula Note Added: 0000282
2011-07-21 22:53 dashula Note Edited: 0000282
2011-07-21 22:56 dashula Note Added: 0000283
2011-07-21 23:11 dashula Note Edited: 0000283
2011-07-21 23:11 dashula Note Edited: 0000282
2011-07-21 23:14 dashula Note Edited: 0000282
2011-07-21 23:21 dashula Note Added: 0000284
2011-07-21 23:21 dashula Status resolved => closed
======================================================================
More information about the Issues
mailing list