From afe7630907bbec6b7dc9f732eef012ed1ed543d0 Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Tue, 7 Jun 2011 20:55:56 +0000 Subject: [PATCH] Log a more obvious message if apr cannot load its dbm shared library. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1133158 13f79535-47bb-0310-9956-ffa450edef68 --- modules/dav/fs/dbm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/dav/fs/dbm.c b/modules/dav/fs/dbm.c index dadacad456..780121c9b4 100644 --- a/modules/dav/fs/dbm.c +++ b/modules/dav/fs/dbm.c @@ -95,6 +95,9 @@ static dav_error * dav_fs_dbm_error(dav_db *db, apr_pool_t *p, if (db == NULL) { errcode = 1; errstr = "Could not open property database."; + if (APR_STATUS_IS_EDSOOPEN(status)) + ap_log_error(APLOG_MARK, APLOG_CRIT, status, ap_server_conf, + "The DBM driver could not be loaded"); } else { (void) apr_dbm_geterror(db->file, &errcode, errbuf, sizeof(errbuf)); -- 2.40.0