From: Stefan Fritsch Date: Tue, 7 Jun 2011 20:55:56 +0000 (+0000) Subject: Log a more obvious message if apr cannot load its dbm shared library. X-Git-Tag: 2.3.13~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afe7630907bbec6b7dc9f732eef012ed1ed543d0;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/dav/fs/dbm.c b/modules/dav/fs/dbm.c index dadacad4567..780121c9b4c 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));