]> granicus.if.org Git - apache/commitdiff
Log a more obvious message if apr cannot load its dbm shared library.
authorStefan Fritsch <sf@apache.org>
Tue, 7 Jun 2011 20:55:56 +0000 (20:55 +0000)
committerStefan Fritsch <sf@apache.org>
Tue, 7 Jun 2011 20:55:56 +0000 (20:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1133158 13f79535-47bb-0310-9956-ffa450edef68

modules/dav/fs/dbm.c

index dadacad45679638586bcd3017dd3cf79fe1ed2c5..780121c9b4cce4a0522a65d4b03f311821c04bd2 100644 (file)
@@ -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));