You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jeff Trawick <tr...@gmail.com> on 2013/07/22 14:25:05 UTC
Re: [users@httpd] dav_fs: DSO load failed: AH00576: The DBM driver
could not be loaded
On Mon, Jul 22, 2013 at 7:20 AM, Karl Hiramoto <ka...@hiramoto.org> wrote:
> Hi,
>
> I'm trying to use WebDav and having some problems. I'm using a self
> compiled httpd 2.4.4 on a arm board running linux 2.6.35
>
> The error message is:
> [Mon Jul 22 11:00:19.024300 2013] [dav_fs:crit] [pid 17398:tid 922301504]
> (20019)DSO load failed: AH00576: The DBM driver could not be loaded
>
> I see this error message is in modules/dav/fs/dbm.c
>
> I'm not really sure why it's tripping on that error though. I'm debugging
> it now. I'm willing to try any suggestions or patches anyone has.
>
>
The dbm driver is an APR-util library for the DBM backend you're using
(built-in == SDBM, Berkeley DB, etc.). Use strace to look for failed open
or stat calls to see where it is looking (maybe "strace -e open,stat -f
/path/to/apachectl start).
>
>
> http://server/server-info shows: Loaded Modules
>
>
> core.c, http_core.c, mod_access_compat.c, mod_alias.c, mod_auth_basic.c,
> mod_auth_digest.c, mod_authn_core.c, mod_authn_dbm.c, mod_authn_file.c,
> mod_authz_core.c, mod_authz_dbm.c, mod_authz_groupfile.c, mod_authz_host.c,
> mod_authz_user.c, mod_autoindex.c, mod_dav.c, mod_dav_fs.c, mod_dir.c,
> mod_env.c, mod_fcgid.c, mod_filter.c, mod_headers.c, mod_info.c,
> mod_log_config.c, mod_mime.c, mod_proxy.c, mod_reqtimeout.c, mod_rewrite.c,
> mod_setenvif.c, mod_so.c, mod_status.c, mod_unixd.c, mod_version.c,
> mod_wsgi.c, worker.c,
> Server Settings
>
> Server Version: Apache/2.4.4 (Unix) mod_wsgi/3.4 Python/2.7.2
> mod_fcgid/2.3.7
> Server Built: Jul 22 2013 10:19:43
> Server loaded APR Version: 1.4.6
> Compiled with APR Version: 1.4.6
> Server loaded APU Version: 1.5.1
> Compiled with APU Version: 1.5.1
> Module Magic Number: 20120211:11
> Hostname/port: 10.64.1.11:8080
> Timeouts: connection: 60 keep-alive: 5
> MPM Name: worker
> MPM Information: Max Daemons: 1 Threaded: yes Forked: yes
> Server Architecture: 32-bit
> Server Root: /usr
> Config File: /etc/apache2/httpd.conf
> Server Built With:
> -D APR_HAS_SENDFILE
> -D APR_HAS_MMAP
> -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
> -D APR_USE_SYSVSEM_SERIALIZE
> -D APR_HAS_OTHER_CHILD
> -D AP_HAVE_RELIABLE_PIPED_LOGS
> -D HTTPD_ROOT="/usr"
> -D SUEXEC_BIN="/usr/bin/suexec"
> -D DEFAULT_PIDLOG="/var/apache2/**logs/httpd.pid"
> -D DEFAULT_SCOREBOARD="logs/**apache_runtime_status"
> -D DEFAULT_ERRORLOG="logs/error_**log"
> -D AP_TYPES_CONFIG_FILE="/etc/**apache2/mime.types"
> -D SERVER_CONFIG_FILE="/etc/**apache2/httpd.conf"
>
>
>
> pmap shows the dlopen() succeeded on the mod_authn_dbm.so and
> mod_authz_dbm.so
>
> # pmap 17396
> 17396: httpd
> 00008000 344K r-x-- /usr/sbin/httpd
> 00065000 8K rw--- /usr/sbin/httpd
> 00067000 1356K rw--- [ anon ]
> 35556000 8K rw--- [ anon ]
> 35558000 112K r-x-- /lib/ld-2.12.2.so
> 35574000 4K rw-s- [ shmid=0x1c0000 ]
> 35576000 8K rw--- [ anon ]
> 3557c000 4K r---- /lib/ld-2.12.2.so
> 3557d000 4K rw--- /lib/ld-2.12.2.so
> 35580000 140K r-x-- /usr/lib/libpcre.so.1.2.0
> 355a3000 28K ----- /usr/lib/libpcre.so.1.2.0
> 355aa000 4K rw--- /usr/lib/libpcre.so.1.2.0
> 355ac000 116K r-x-- /usr/lib/libaprutil-1.so.0.5.1
> 355c9000 32K ----- /usr/lib/libaprutil-1.so.0.5.1
> 355d1000 4K rw--- /usr/lib/libaprutil-1.so.0.5.1
> 355d4000 136K r-x-- /usr/lib/libapr-1.so.0.4.6
> 355f6000 28K ----- /usr/lib/libapr-1.so.0.4.6
> 355fd000 4K rw--- /usr/lib/libapr-1.so.0.4.6
> 35600000 36K r-x-- /lib/libgcc_s.so.1
> 35609000 28K ----- /lib/libgcc_s.so.1
> 35610000 4K rw--- /lib/libgcc_s.so.1
> 35614000 1144K r-x-- /lib/libc-2.12.2.so
> 35732000 32K ----- /lib/libc-2.12.2.so
> 3573a000 8K r---- /lib/libc-2.12.2.so
> 3573c000 4K rw--- /lib/libc-2.12.2.so
> 3573d000 12K rw--- [ anon ]
> 35740000 124K r-x-- /usr/lib/libexpat.so.1.5.2
> 3575f000 32K ----- /usr/lib/libexpat.so.1.5.2
> 35767000 8K rw--- /usr/lib/libexpat.so.1.5.2
> 3576c000 12K r-x-- /lib/libuuid.so.1.3.0
> 3576f000 32K ----- /lib/libuuid.so.1.3.0
> 35777000 4K rw--- /lib/libuuid.so.1.3.0
> 35778000 24K r-x-- /lib/librt-2.12.2.so
> 3577e000 28K ----- /lib/librt-2.12.2.so
> 35785000 4K r---- /lib/librt-2.12.2.so
> 35786000 4K rw--- /lib/librt-2.12.2.so
> 35788000 28K r-x-- /lib/libcrypt-2.12.2.so
> 3578f000 28K ----- /lib/libcrypt-2.12.2.so
> 35796000 4K r---- /lib/libcrypt-2.12.2.so
> 35797000 4K rw--- /lib/libcrypt-2.12.2.so
> 35798000 156K rw--- [ anon ]
> 357c0000 8K r-x-- /lib/libdl-2.12.2.so
> 357c2000 28K ----- /lib/libdl-2.12.2.so
> 357c9000 4K r---- /lib/libdl-2.12.2.so
> 357ca000 4K rw--- /lib/libdl-2.12.2.so
> 357cc000 84K r-x-- /lib/libpthread-2.12.2.so
> 357e1000 28K ----- /lib/libpthread-2.12.2.so
> 357e8000 4K r---- /lib/libpthread-2.12.2.so
> 357e9000 4K rw--- /lib/libpthread-2.12.2.so
> 357ea000 8K rw--- [ anon ]
> 357ec000 8K r-x-- /usr/lib/apache2/modules/mod_**authn_file.so
> 357ee000 28K ----- /usr/lib/apache2/modules/mod_**authn_file.so
> 357f5000 4K rw--- /usr/lib/apache2/modules/mod_**authn_file.so
> 357f8000 4K r-x-- /usr/lib/apache2/modules/mod_**authn_dbm.so
> 357f9000 32K ----- /usr/lib/apache2/modules/mod_**authn_dbm.so
> 35801000 4K rw--- /usr/lib/apache2/modules/mod_**authn_dbm.so
> 35804000 8K r-x-- /usr/lib/apache2/modules/mod_**authn_core.so
> 35806000 28K ----- /usr/lib/apache2/modules/mod_**authn_core.so
> 3580d000 4K rw--- /usr/lib/apache2/modules/mod_**authn_core.so
> 35810000 8K r-x-- /usr/lib/apache2/modules/mod_**authz_host.so
> 35812000 28K ----- /usr/lib/apache2/modules/mod_**authz_host.so
> 35819000 4K rw--- /usr/lib/apache2/modules/mod_**authz_host.so
> 3581c000 8K r-x-- /usr/lib/apache2/modules/mod_**authz_groupfile.so
> 3581e000 28K ----- /usr/lib/apache2/modules/mod_**authz_groupfile.so
> 35825000 4K rw--- /usr/lib/apache2/modules/mod_**authz_groupfile.so
> 35828000 4K r-x-- /usr/lib/apache2/modules/mod_**authz_user.so
> 35829000 28K ----- /usr/lib/apache2/modules/mod_**authz_user.so
> 35830000 4K rw--- /usr/lib/apache2/modules/mod_**authz_user.so
> 35834000 8K r-x-- /usr/lib/apache2/modules/mod_**authz_dbm.so
> 35836000 28K ----- /usr/lib/apache2/modules/mod_**authz_dbm.so
> 3583d000 4K rw--- /usr/lib/apache2/modules/mod_**authz_dbm.so
> 35840000 16K r-x-- /usr/lib/apache2/modules/mod_**authz_core.so
> 35844000 28K ----- /usr/lib/apache2/modules/mod_**authz_core.so
> 3584b000 4K rw--- /usr/lib/apache2/modules/mod_**authz_core.so
> 3584c000 8K r-x-- /usr/lib/apache2/modules/mod_**access_compat.so
> 3584e000 28K ----- /usr/lib/apache2/modules/mod_**access_compat.so
> 35855000 4K rw--- /usr/lib/apache2/modules/mod_**access_compat.so
> 35858000 8K r-x-- /usr/lib/apache2/modules/mod_**auth_basic.so
> 3585a000 28K ----- /usr/lib/apache2/modules/mod_**auth_basic.so
> 35861000 4K rw--- /usr/lib/apache2/modules/mod_**auth_basic.so
> 35864000 28K r-x-- /usr/lib/apache2/modules/mod_**auth_digest.so
> 3586b000 32K ----- /usr/lib/apache2/modules/mod_**auth_digest.so
> 35873000 4K rw--- /usr/lib/apache2/modules/mod_**auth_digest.so
> 35874000 12K r-x-- /usr/lib/apache2/modules/mod_**reqtimeout.so
> 35877000 28K ----- /usr/lib/apache2/modules/mod_**reqtimeout.so
> 3587e000 4K rw--- /usr/lib/apache2/modules/mod_**reqtimeout.so
> 35880000 12K r-x-- /usr/lib/apache2/modules/mod_**filter.so
> 35883000 32K ----- /usr/lib/apache2/modules/mod_**filter.so
> 3588b000 4K rw--- /usr/lib/apache2/modules/mod_**filter.so
> 3588c000 12K r-x-- /usr/lib/apache2/modules/mod_**mime.so
> 3588f000 32K ----- /usr/lib/apache2/modules/mod_**mime.so
> 35897000 4K rw--- /usr/lib/apache2/modules/mod_**mime.so
> 35898000 24K r-x-- /usr/lib/apache2/modules/mod_**log_config.so
> 3589e000 28K ----- /usr/lib/apache2/modules/mod_**log_config.so
> 358a5000 4K rw--- /usr/lib/apache2/modules/mod_**log_config.so
> 358a8000 4K r-x-- /usr/lib/apache2/modules/mod_**env.so
> 358a9000 28K ----- /usr/lib/apache2/modules/mod_**env.so
> 358b0000 4K rw--- /usr/lib/apache2/modules/mod_**env.so
> 358b4000 12K r-x-- /usr/lib/apache2/modules/mod_**headers.so
> 358b7000 32K ----- /usr/lib/apache2/modules/mod_**headers.so
> 358bf000 4K rw--- /usr/lib/apache2/modules/mod_**headers.so
> 358c0000 8K r-x-- /usr/lib/apache2/modules/mod_**setenvif.so
> 358c2000 32K ----- /usr/lib/apache2/modules/mod_**setenvif.so
> 358ca000 4K rw--- /usr/lib/apache2/modules/mod_**setenvif.so
> 358cc000 4K r-x-- /usr/lib/apache2/modules/mod_**version.so
> 358cd000 32K ----- /usr/lib/apache2/modules/mod_**version.so
> 358d5000 4K rw--- /usr/lib/apache2/modules/mod_**version.so
> 358d8000 80K r-x-- /usr/lib/apache2/modules/mod_**proxy.so
> 358ec000 32K ----- /usr/lib/apache2/modules/mod_**proxy.so
> 358f4000 4K rw--- /usr/lib/apache2/modules/mod_**proxy.so
> 358f8000 36K r-x-- /usr/lib/apache2/modules/mod_**mpm_worker.so
> 35901000 32K ----- /usr/lib/apache2/modules/mod_**mpm_worker.so
> 35909000 4K rw--- /usr/lib/apache2/modules/mod_**mpm_worker.so
> 3590c000 8K r-x-- /usr/lib/apache2/modules/mod_**unixd.so
> 3590e000 32K ----- /usr/lib/apache2/modules/mod_**unixd.so
> 35916000 4K rw--- /usr/lib/apache2/modules/mod_**unixd.so
> 35918000 80K r-x-- /usr/lib/apache2/modules/mod_**dav.so
> 3592c000 28K ----- /usr/lib/apache2/modules/mod_**dav.so
> 35933000 4K rw--- /usr/lib/apache2/modules/mod_**dav.so
> 35934000 20K r-x-- /usr/lib/apache2/modules/mod_**status.so
> 35939000 32K ----- /usr/lib/apache2/modules/mod_**status.so
> 35941000 4K rw--- /usr/lib/apache2/modules/mod_**status.so
> 35944000 28K r-x-- /usr/lib/apache2/modules/mod_**autoindex.so
> 3594b000 32K ----- /usr/lib/apache2/modules/mod_**autoindex.so
> 35953000 4K rw--- /usr/lib/apache2/modules/mod_**autoindex.so
> 35954000 24K r-x-- /usr/lib/apache2/modules/mod_**info.so
> 3595a000 28K ----- /usr/lib/apache2/modules/mod_**info.so
> 35961000 4K rw--- /usr/lib/apache2/modules/mod_**info.so
> 35964000 36K r-x-- /usr/lib/apache2/modules/mod_**dav_fs.so
> 3596d000 28K ----- /usr/lib/apache2/modules/mod_**dav_fs.so
> 35974000 4K rw--- /usr/lib/apache2/modules/mod_**dav_fs.so
> 35978000 8K r-x-- /usr/lib/apache2/modules/mod_**dir.so
> 3597a000 28K ----- /usr/lib/apache2/modules/mod_**dir.so
> 35981000 4K rw--- /usr/lib/apache2/modules/mod_**dir.so
> 35984000 12K r-x-- /usr/lib/apache2/modules/mod_**alias.so
> 35987000 28K ----- /usr/lib/apache2/modules/mod_**alias.so
> 3598e000 4K rw--- /usr/lib/apache2/modules/mod_**alias.so
> 35990000 52K r-x-- /usr/lib/apache2/modules/mod_**rewrite.so
> 3599d000 32K ----- /usr/lib/apache2/modules/mod_**rewrite.so
> 359a5000 4K rw--- /usr/lib/apache2/modules/mod_**rewrite.so
> 359a8000 140K r-x-- /usr/lib/apache2/modules/mod_**wsgi.so
> 359cb000 28K ----- /usr/lib/apache2/modules/mod_**wsgi.so
> 359d2000 8K rw--- /usr/lib/apache2/modules/mod_**wsgi.so
> 359d4000 1296K r-x-- /usr/lib/libpython2.7.so.1.0
> 35b18000 28K ----- /usr/lib/libpython2.7.so.1.0
> 35b1f000 172K rw--- /usr/lib/libpython2.7.so.1.0
> 35b4a000 36K rw--- [ anon ]
> 35b54000 8K r-x-- /lib/libutil-2.12.2.so
> 35b56000 28K ----- /lib/libutil-2.12.2.so
> 35b5d000 4K r---- /lib/libutil-2.12.2.so
> 35b5e000 4K rw--- /lib/libutil-2.12.2.so
> 35b60000 420K r-x-- /lib/libm-2.12.2.so
> 35bc9000 28K ----- /lib/libm-2.12.2.so
> 35bd0000 4K r---- /lib/libm-2.12.2.so
> 35bd1000 4K rw--- /lib/libm-2.12.2.so
> 35bd4000 76K r-x-- /usr/lib/apache2/modules/mod_**fcgid.so
> 35be7000 28K ----- /usr/lib/apache2/modules/mod_**fcgid.so
> 35bee000 4K rw--- /usr/lib/apache2/modules/mod_**fcgid.so
> 35bf0000 24K r-x-- /lib/libnss_compat-2.12.2.so
> 35bf6000 28K ----- /lib/libnss_compat-2.12.2.so
> 35bfd000 4K r---- /lib/libnss_compat-2.12.2.so
> 35bfe000 4K rw--- /lib/libnss_compat-2.12.2.so
> 35c00000 68K r-x-- /lib/libnsl-2.12.2.so
> 35c11000 28K ----- /lib/libnsl-2.12.2.so
> 35c18000 4K r---- /lib/libnsl-2.12.2.so
> 35c19000 4K rw--- /lib/libnsl-2.12.2.so
> 35c1a000 8K rw--- [ anon ]
> 35c1c000 1152K rw-s- [ shmid=0x1c8001 ]
> 35d3c000 212K rw-s- /dev/zero (deleted)
> 9ebc8000 132K rw--- [ stack ]
> total 9848K
>
>
>
>
>
>
> #cat /var/log/apache_error_log
>
>
> [Mon Jul 22 11:00:08.641500 2013] [auth_digest:notice] [pid 17396:tid
> 894922416] AH01757: generating secret for digest authentication ...
> [Mon Jul 22 11:00:08.651600 2013] [:warn] [pid 17396:tid 894922416]
> mod_wsgi: Compiled for Python/2.7.3.
> [Mon Jul 22 11:00:08.651600 2013] [:warn] [pid 17396:tid 894922416]
> mod_wsgi: Runtime using Python/2.7.2.
> [Mon Jul 22 11:00:08.702100 2013] [mpm_worker:notice] [pid 17396:tid
> 894922416] AH00292: Apache/2.4.4 (Unix) mod_wsgi/3.4 Python/2.7.2
> mod_fcgid/2.3.7 configured -- resuming normal operations
> [Mon Jul 22 11:00:08.702100 2013] [core:notice] [pid 17396:tid 894922416]
> AH00094: Command line: 'httpd'
> [Mon Jul 22 11:00:19.014200 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of Require method GET POST OPTIONS: denied
> [Mon Jul 22 11:00:19.014200 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of Require user admin, karl: denied (no authenticated
> user yet)
> [Mon Jul 22 11:00:19.014200 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of <RequireAny>: denied (no authenticated user yet)
> [Mon Jul 22 11:00:19.024300 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of Require method GET POST OPTIONS: denied
> [Mon Jul 22 11:00:19.024300 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of Require user admin, karl: granted
> [Mon Jul 22 11:00:19.024300 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of <RequireAny>: granted
> [Mon Jul 22 11:00:19.024300 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of Require method GET POST OPTIONS: granted
> [Mon Jul 22 11:00:19.024300 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of <RequireAny>: granted
> [Mon Jul 22 11:00:19.024300 2013] [core:trace3] [pid 17398:tid 922301504]
> request.c(227): [client 10.64.1.2:36686] request authorized without
> authentication by access_checker_ex hook: /files/public/index.html
> [Mon Jul 22 11:00:19.024300 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of Require method GET POST OPTIONS: granted
> [Mon Jul 22 11:00:19.024300 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of <RequireAny>: granted
> [Mon Jul 22 11:00:19.024300 2013] [core:trace3] [pid 17398:tid 922301504]
> request.c(227): [client 10.64.1.2:36686] request authorized without
> authentication by access_checker_ex hook: /files/public/index.html
> [Mon Jul 22 11:00:19.024300 2013] [dav_fs:crit] [pid 17398:tid 922301504]
> (20019)DSO load failed: AH00576: The DBM driver could not be loaded
> [Mon Jul 22 11:00:19.024300 2013] [http:trace3] [pid 17398:tid 922301504]
> http_filters.c(963): [client 10.64.1.2:36686] Response sent with status
> 207, headers:
> [Mon Jul 22 11:00:19.024300 2013] [http:trace5] [pid 17398:tid 922301504]
> http_filters.c(970): [client 10.64.1.2:36686] Date: Mon, 22 Jul 2013
> 11:00:19 GMT
> [Mon Jul 22 11:00:19.024300 2013] [http:trace5] [pid 17398:tid 922301504]
> http_filters.c(973): [client 10.64.1.2:36686] Server: Apache/2.4.4
> (Unix) mod_wsgi/3.4 Python/2.7.2 mod_fcgid/2.3.7
> [Mon Jul 22 11:00:19.024300 2013] [http:trace4] [pid 17398:tid 922301504]
> http_filters.c(806): [client 10.64.1.2:36686] Content-Length: 1045
> [Mon Jul 22 11:00:19.024300 2013] [http:trace4] [pid 17398:tid 922301504]
> http_filters.c(806): [client 10.64.1.2:36686] Keep-Alive: timeout=5,
> max=100
> [Mon Jul 22 11:00:19.024300 2013] [http:trace4] [pid 17398:tid 922301504]
> http_filters.c(806): [client 10.64.1.2:36686] Connection: Keep-Alive
> [Mon Jul 22 11:00:19.024300 2013] [http:trace4] [pid 17398:tid 922301504]
> http_filters.c(806): [client 10.64.1.2:36686] Content-Type: text/xml;
> charset=\\"utf-8\\"
> [Mon Jul 22 11:00:19.125300 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of Require method GET POST OPTIONS: denied
> [Mon Jul 22 11:00:19.125300 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of Require user admin, karl: denied (no authenticated
> user yet)
> [Mon Jul 22 11:00:19.125300 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of <RequireAny>: denied (no authenticated user yet)
> [Mon Jul 22 11:00:19.135400 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of Require method GET POST OPTIONS: denied
> [Mon Jul 22 11:00:19.135400 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of Require user admin, karl: granted
> [Mon Jul 22 11:00:19.135400 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of <RequireAny>: granted
> [Mon Jul 22 11:00:19.135400 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of Require method GET POST OPTIONS: granted
> [Mon Jul 22 11:00:19.135400 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of <RequireAny>: granted
> [Mon Jul 22 11:00:19.135400 2013] [core:trace3] [pid 17398:tid 922301504]
> request.c(227): [client 10.64.1.2:36686] request authorized without
> authentication by access_checker_ex hook: /files/public/index.html
> [Mon Jul 22 11:00:19.135400 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of Require method GET POST OPTIONS: granted
> [Mon Jul 22 11:00:19.135400 2013] [authz_core:debug] [pid 17398:tid
> 922301504] mod_authz_core.c(802): [client 10.64.1.2:36686] AH01626:
> authorization result of <RequireAny>: granted
> [Mon Jul 22 11:00:19.135400 2013] [core:trace3] [pid 17398:tid 922301504]
> request.c(227): [client 10.64.1.2:36686] request authorized without
> authentication by access_checker_ex hook: /files/public/index.html
> [Mon Jul 22 11:00:19.135400 2013] [dav_fs:crit] [pid 17398:tid 922301504]
> (20019)DSO load failed: AH00576: The DBM driver could not be loaded
> [Mon Jul 22 11:00:19.135400 2013] [http:trace3] [pid 17398:tid 922301504]
> http_filters.c(963): [client 10.64.1.2:36686] Response sent with status
> 207, headers:
> [Mon Jul 22 11:00:19.135400 2013] [http:trace5] [pid 17398:tid 922301504]
> http_filters.c(970): [client 10.64.1.2:36686] Date: Mon, 22 Jul 2013
> 11:00:19 GMT
> [Mon Jul 22 11:00:19.135400 2013] [http:trace5] [pid 17398:tid 922301504]
> http_filters.c(973): [client 10.64.1.2:36686] Server: Apache/2.4.4
> (Unix) mod_wsgi/3.4 Python/2.7.2 mod_fcgid/2.3.7
> [Mon Jul 22 11:00:19.135400 2013] [http:trace4] [pid 17398:tid 922301504]
> http_filters.c(806): [client 10.64.1.2:36686] Content-Length: 1045
> [Mon Jul 22 11:00:19.135400 2013] [http:trace4] [pid 17398:tid 922301504]
> http_filters.c(806): [client 10.64.1.2:36686] Keep-Alive: timeout=5,
> max=99
> [Mon Jul 22 11:00:19.135400 2013] [http:trace4] [pid 17398:tid 922301504]
> http_filters.c(806): [client 10.64.1.2:36686] Connection: Keep-Alive
> [Mon Jul 22 11:00:19.135400 2013] [http:trace4] [pid 17398:tid 922301504]
> http_filters.c(806): [client 10.64.1.2:36686] Content-Type: text/xml;
> charset=\\"utf-8\\"
>
>
>
> /etc/apache2/httpd.conf
>
> ServerRoot "/usr"
> PidFile /var/run/apache.pid
>
>
> Mutex default:/var/log
>
> Listen 0.0.0.0:8080
>
> LoadModule authn_file_module lib/apache2/modules/mod_authn_**file.so
> LoadModule authn_dbm_module lib/apache2/modules/mod_authn_**dbm.so
> LoadModule authn_core_module lib/apache2/modules/mod_authn_**core.so
> LoadModule authz_host_module lib/apache2/modules/mod_authz_**host.so
> LoadModule authz_groupfile_module lib/apache2/modules/mod_authz_**
> groupfile.so
> LoadModule authz_user_module lib/apache2/modules/mod_authz_**user.so
> LoadModule authz_dbm_module lib/apache2/modules/mod_authz_**dbm.so
> LoadModule authz_core_module lib/apache2/modules/mod_authz_**core.so
> LoadModule access_compat_module lib/apache2/modules/mod_**access_compat.so
> LoadModule auth_basic_module lib/apache2/modules/mod_auth_**basic.so
> LoadModule auth_digest_module lib/apache2/modules/mod_auth_**digest.so
> LoadModule reqtimeout_module lib/apache2/modules/mod_**reqtimeout.so
> LoadModule filter_module lib/apache2/modules/mod_**filter.so
> LoadModule mime_module lib/apache2/modules/mod_mime.**so
> LoadModule log_config_module lib/apache2/modules/mod_log_**config.so
> LoadModule env_module lib/apache2/modules/mod_env.so
> LoadModule headers_module lib/apache2/modules/mod_**headers.so
> LoadModule setenvif_module lib/apache2/modules/mod_**setenvif.so
> LoadModule version_module lib/apache2/modules/mod_**version.so
> LoadModule proxy_module lib/apache2/modules/mod_proxy.**so
> LoadModule mpm_worker_module lib/apache2/modules/mod_mpm_**worker.so
> LoadModule unixd_module lib/apache2/modules/mod_unixd.**so
> LoadModule dav_module lib/apache2/modules/mod_dav.so
> LoadModule status_module lib/apache2/modules/mod_**status.so
> LoadModule autoindex_module lib/apache2/modules/mod_**autoindex.so
> LoadModule info_module lib/apache2/modules/mod_info.**so
> LoadModule dav_fs_module lib/apache2/modules/mod_dav_**fs.so
> LoadModule dir_module lib/apache2/modules/mod_dir.so
> LoadModule alias_module lib/apache2/modules/mod_alias.**so
> LoadModule rewrite_module lib/apache2/modules/mod_**rewrite.so
> LoadModule wsgi_module lib/apache2/modules/mod_wsgi.**so
> LoadModule fcgid_module lib/apache2/modules/mod_fcgid.**so
>
> <IfModule unixd_module>
> User www-data
> Group www-data
>
> </IfModule>
>
>
> ServerAdmin admin@localhost
>
> ServerName localhost:8080
>
> <Directory />
> AllowOverride none
> Require all denied
> </Directory>
>
>
> <Location /server-status>
> SetHandler server-status
> Allow from all
> </Location>
>
> <Location /server-info>
> SetHandler server-info
> Allow from all
> </Location>
>
>
>
> DocumentRoot "/www/"
> <Directory /www/>
> Options All
>
> AllowOverride All
>
> Require all granted
>
>
> LogLevel trace6
> </Directory>
>
>
>
>
> <IfModule dir_module>
> DirectoryIndex index.html
> </IfModule>
>
> <Files ".ht*">
> Require all denied
> </Files>
>
> ErrorLog "/var/log/apache_error_log"
>
> LogLevel warn
>
> <IfModule log_config_module>
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\"" combined
> LogFormat "%h %l %u %t \"%r\" %>s %b" common
>
> <IfModule logio_module>
> # You need to enable mod_logio.c to use %I and %O
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\" %I %O" combinedio
> </IfModule>
>
>
> CustomLog "/var/log/apache_access_log" combined
> </IfModule>
>
>
>
> <Directory "/usr/share/apache2/cgi-bin">
> AllowOverride None
> Options None
> Require all granted
> </Directory>
>
> <IfModule mime_module>
> TypesConfig /etc/apache2/mime.types
> AddType application/x-compress .Z
> AddType application/x-gzip .gz .tgz
> </IfModule>
>
>
> <IfModule proxy_html_module>
> Include /etc/apache2/extra/proxy-html.**conf
> </IfModule>
>
> <IfModule ssl_module>
> SSLRandomSeed startup builtin
> SSLRandomSeed connect builtin
> </IfModule>
>
>
>
> <IfModule setenvif_module>
> BrowserMatch "Microsoft Data Access Internet Publishing Provider"
> redirect-carefully
> BrowserMatch "MS FrontPage" redirect-carefully
> BrowserMatch "^WebDrive" redirect-carefully
> BrowserMatch "^WebDAVFS/1.[012345678]" redirect-carefully
> BrowserMatch "^gnome-vfs/1.0" redirect-carefully
> BrowserMatch "^XML Spy" redirect-carefully
> BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
> </IfModule>
>
>
> IncludeOptional /etc/apache2/conf.d/*.conf
> IncludeOptional /etc/apache2/modules.d/*.conf
>
>
> # cat /etc/apache2/conf.d/apache_**dav.conf
>
> DavLockDB "/etc/apache2/dav_lockdb"
> Alias /files "/www/pages/files"
> <Directory "/www/pages/files">
> Dav On
>
> AuthType Basic
> AuthBasicProvider file
> AuthUserFile /etc/apache2/passwd
>
> AuthName "file sharing"
> <RequireAny>
> Require method GET POST OPTIONS
> Require user admin, karl
> </RequireAny>
> </Directory>
>
>
>
> Thanks,
>
> Karl
>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@httpd.**apache.org<us...@httpd.apache.org>
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--
Born in Roswell... married an alien...
http://emptyhammock.com/
Re: [users@httpd] dav_fs: DSO load failed: AH00576: The DBM driver
could not be loaded
Posted by Karl Hiramoto <ka...@hiramoto.org>.
On 07/22/2013 06:57 PM, Karl Hiramoto wrote:
> On 07/22/2013 06:39 PM, Jeff Trawick wrote:
>
>>
>> You should stop this in apr_dso_load() and see what happens with
>> dlopen(). [AND/OR] apu_dso_load() may be throwing a way a text
>> description for the failure in the apr_dso_handle_t structure.
>>
>
> I'll take a look there.
I did solve my problem by looking a the error message in dlerror().
This is an issue that httpd, should probably print the message returned
by dlerror() that gets stored in apr_dso_handle_t->error into the
error log. It gets thrown away/lost now.
My fault though, it was a compiling environment issue.
Thanks,
Karl
Re: [users@httpd] dav_fs: DSO load failed: AH00576: The DBM driver
could not be loaded
Posted by Karl Hiramoto <ka...@hiramoto.org>.
On 07/22/2013 06:39 PM, Jeff Trawick wrote:
> On Mon, Jul 22, 2013 at 11:50 AM, Karl Hiramoto <karl@hiramoto.org
> <ma...@hiramoto.org>> wrote:
>
> On 07/22/2013 02:25 PM, Jeff Trawick wrote:
>> On Mon, Jul 22, 2013 at 7:20 AM, Karl Hiramoto <karl@hiramoto.org
>> <ma...@hiramoto.org>> wrote:
>>
>> Hi,
>>
>> I'm trying to use WebDav and having some problems. I'm
>> using a self compiled httpd 2.4.4 on a arm board running
>> linux 2.6.35
>>
>> The error message is:
>> [Mon Jul 22 11:00:19.024300 2013] [dav_fs:crit] [pid
>> 17398:tid 922301504] (20019)DSO load failed: AH00576: The DBM
>> driver could not be loaded
>>
>> I see this error message is in modules/dav/fs/dbm.c
>>
>> I'm not really sure why it's tripping on that error though.
>> I'm debugging it now. I'm willing to try any suggestions or
>> patches anyone has.
>>
>>
>> The dbm driver is an APR-util library for the DBM backend you're
>> using (built-in == SDBM, Berkeley DB, etc.). Use strace to look
>> for failed open or stat calls to see where it is looking (maybe
>> "strace -e open,stat -f /path/to/apachectl start).
>
> Thanks for the tip. It did show that it was looking for
> apr_dbm_db-1.so. So I recompiled apr-util adding
> --with-dbm=db53 and --with-berkeley-db=<path>
>
> The exact same error message shows in the apache error log,a
> strace does show apr_dbm_db-1.so and libdb loading
>
>
> Just to be clear: Did you install your apr-util to /usr, so when the
> httpd process loads /usr/lib/*apr* (e.g.,
> /usr/lib/apr-util-1/apr_dbm_db-1.so") it is picking up your build?
Yes, timestamps all after my rebuild.
>
>
>
> [pid 30486] open("/www/pages/.htaccess", O_RDONLY|O_CLOEXEC) = -1
> ENOENT (No such file or directory)
> [pid 30486] open("/www/pages/files/.htaccess", O_RDONLY|O_CLOEXEC)
> = -1 ENOENT (No such file or directory)
> [pid 30486] open("/www/pages/files/public/.htaccess",
> O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> [pid 30486] open("/etc/apache2/passwd", O_RDONLY|O_CLOEXEC) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/apr_dbm_db-1.so", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> [pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/libdb-5.3.so <http://libdb-5.3.so>",
> O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/libdb-5.3.so <http://libdb-5.3.so>",
> O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/apr_dbm_db-1.so", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> [pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/libdb-5.3.so <http://libdb-5.3.so>",
> O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/libdb-5.3.so <http://libdb-5.3.so>",
> O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/www/pages/.htaccess", O_RDONLY|O_CLOEXEC) = -1
> ENOENT (No such file or directory)
> [pid 30486] open("/www/pages/files/.htaccess", O_RDONLY|O_CLOEXEC)
> = -1 ENOENT (No such file or directory)
> [pid 30486] open("/www/pages/files/public/.htaccess",
> O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> [pid 30486] open("/etc/apache2/passwd", O_RDONLY|O_CLOEXEC) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/apr_dbm_db-1.so", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> [pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/libdb-5.3.so <http://libdb-5.3.so>",
> O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/libdb-5.3.so <http://libdb-5.3.so>",
> O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/apr_dbm_db-1.so", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> [pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/libdb-5.3.so <http://libdb-5.3.so>",
> O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/libdb-5.3.so <http://libdb-5.3.so>",
> O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/www/pages/files/public/",
> O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/www/pages/files/public/.DAV/.locknull",
> O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>
>
>
>
> It certainly seems from the strace that the APR-util DSO and the
> underlying libdb implementation DSO were opened successfully; the
> APR_EDSOOPEN error code which led to that particular mod_dav failure
> message only comes from apr_dso_load failing.
>
> If you run the "file" command on those files that were opened, do you
> see the right architecture and file type?
# file /usr/lib/*apr*
/usr/lib/apr-util-1: directory
/usr/lib/libapr-1.so.0: symbolic link to `libapr-1.so.0.4.6'
/usr/lib/libapr-1.so.0.4.6: ELF 32-bit LSB shared object, ARM,
version 1 (SYSV), dynamically linked,
BuildID[sha1]=0x201054f9d1c78e84b61050cd96bd0479e356d67c, stripped
/usr/lib/libaprutil-1.a: current ar archive
/usr/lib/libaprutil-1.la: libtool library file,
/usr/lib/libaprutil-1.so: symbolic link to `libaprutil-1.so.0.5.1'
/usr/lib/libaprutil-1.so.0: symbolic link to `libaprutil-1.so.0.5.1'
/usr/lib/libaprutil-1.so.0.5.1: ELF 32-bit LSB shared object, ARM,
version 1 (SYSV), dynamically linked,
BuildID[sha1]=0x9581b2a9c0cdc14d54c5f3d5aa1c70ef25bf5569, stripped
# file /usr/lib/apr-util-1/*
/usr/lib/apr-util-1/apr_dbm_db-1.so: ELF 32-bit LSB shared object,
ARM, version 1 (SYSV), dynamically linked,
BuildID[sha1]=0xbad9f473fd31ce483f3639ba7f42053ad2462a68, stripped
/usr/lib/apr-util-1/apr_dbm_db.a: current ar archive
/usr/lib/apr-util-1/apr_dbm_db.la: libtool library file,
/usr/lib/apr-util-1/apr_dbm_db.so: symbolic link to `apr_dbm_db-1.so'
/usr/lib/apr-util-1/apr_dbm_gdbm-1.so: ELF 32-bit LSB shared object,
ARM, version 1 (SYSV), dynamically linked,
BuildID[sha1]=0xd13e4892c3c02107c577682e2e9d206322f811bc, stripped
/usr/lib/apr-util-1/apr_dbm_gdbm.a: current ar archive
/usr/lib/apr-util-1/apr_dbm_gdbm.la: libtool library file,
/usr/lib/apr-util-1/apr_dbm_gdbm.so: symbolic link to `apr_dbm_gdbm-1.so'
# file /usr/sbin/httpd
/usr/sbin/httpd: ELF 32-bit LSB executable, ARM, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.16,
BuildID[sha1]=0xb8b171dda3c16b9a84749ea34c47ecb59f09563e, stripped
>
> You should stop this in apr_dso_load() and see what happens with
> dlopen(). [AND/OR] apu_dso_load() may be throwing a way a text
> description for the failure in the apr_dso_handle_t structure.
>
I'll take a look there.
Thanks,
Re: [users@httpd] dav_fs: DSO load failed: AH00576: The DBM driver
could not be loaded
Posted by Jeff Trawick <tr...@gmail.com>.
On Mon, Jul 22, 2013 at 11:50 AM, Karl Hiramoto <ka...@hiramoto.org> wrote:
> On 07/22/2013 02:25 PM, Jeff Trawick wrote:
>
> On Mon, Jul 22, 2013 at 7:20 AM, Karl Hiramoto <ka...@hiramoto.org> wrote:
>
>> Hi,
>>
>> I'm trying to use WebDav and having some problems. I'm using a self
>> compiled httpd 2.4.4 on a arm board running linux 2.6.35
>>
>> The error message is:
>> [Mon Jul 22 11:00:19.024300 2013] [dav_fs:crit] [pid 17398:tid 922301504]
>> (20019)DSO load failed: AH00576: The DBM driver could not be loaded
>>
>> I see this error message is in modules/dav/fs/dbm.c
>>
>> I'm not really sure why it's tripping on that error though. I'm debugging
>> it now. I'm willing to try any suggestions or patches anyone has.
>>
>>
> The dbm driver is an APR-util library for the DBM backend you're using
> (built-in == SDBM, Berkeley DB, etc.). Use strace to look for failed open
> or stat calls to see where it is looking (maybe "strace -e open,stat -f
> /path/to/apachectl start).
>
>
>
> Thanks for the tip. It did show that it was looking for
> apr_dbm_db-1.so. So I recompiled apr-util adding
> --with-dbm=db53 and --with-berkeley-db=<path>
>
> The exact same error message shows in the apache error log,a strace does
> show apr_dbm_db-1.so and libdb loading
>
Just to be clear: Did you install your apr-util to /usr, so when the httpd
process loads /usr/lib/*apr* (e.g., /usr/lib/apr-util-1/apr_dbm_db-1.so")
it is picking up your build?
>
>
>
> [pid 30486] open("/www/pages/.htaccess", O_RDONLY|O_CLOEXEC) = -1 ENOENT
> (No such file or directory)
> [pid 30486] open("/www/pages/files/.htaccess", O_RDONLY|O_CLOEXEC) = -1
> ENOENT (No such file or directory)
> [pid 30486] open("/www/pages/files/public/.htaccess", O_RDONLY|O_CLOEXEC)
> = -1 ENOENT (No such file or directory)
> [pid 30486] open("/etc/apache2/passwd", O_RDONLY|O_CLOEXEC) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/apr_dbm_db-1.so", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> [pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/libdb-5.3.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/libdb-5.3.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/apr_dbm_db-1.so", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> [pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/libdb-5.3.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/libdb-5.3.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/www/pages/.htaccess", O_RDONLY|O_CLOEXEC) = -1 ENOENT
> (No such file or directory)
> [pid 30486] open("/www/pages/files/.htaccess", O_RDONLY|O_CLOEXEC) = -1
> ENOENT (No such file or directory)
> [pid 30486] open("/www/pages/files/public/.htaccess", O_RDONLY|O_CLOEXEC)
> = -1 ENOENT (No such file or directory)
> [pid 30486] open("/etc/apache2/passwd", O_RDONLY|O_CLOEXEC) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/apr_dbm_db-1.so", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> [pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/libdb-5.3.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/libdb-5.3.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/apr_dbm_db-1.so", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> [pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/libdb-5.3.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/usr/lib/libdb-5.3.so", O_RDONLY) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/www/pages/files/public/",
> O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 12
> [pid 30486] close(12) = 0
> [pid 30486] open("/www/pages/files/public/.DAV/.locknull",
> O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>
>
>
>
It certainly seems from the strace that the APR-util DSO and the underlying
libdb implementation DSO were opened successfully; the APR_EDSOOPEN error
code which led to that particular mod_dav failure message only comes from
apr_dso_load failing.
If you run the "file" command on those files that were opened, do you see
the right architecture and file type?
You should stop this in apr_dso_load() and see what happens with dlopen().
[AND/OR] apu_dso_load() may be throwing a way a text description for the
failure in the apr_dso_handle_t structure.
--
Born in Roswell... married an alien...
http://emptyhammock.com/
Re: [users@httpd] dav_fs: DSO load failed: AH00576: The DBM driver
could not be loaded
Posted by Karl Hiramoto <ka...@hiramoto.org>.
On 07/22/2013 02:25 PM, Jeff Trawick wrote:
> On Mon, Jul 22, 2013 at 7:20 AM, Karl Hiramoto <karl@hiramoto.org
> <ma...@hiramoto.org>> wrote:
>
> Hi,
>
> I'm trying to use WebDav and having some problems. I'm using a
> self compiled httpd 2.4.4 on a arm board running linux 2.6.35
>
> The error message is:
> [Mon Jul 22 11:00:19.024300 2013] [dav_fs:crit] [pid 17398:tid
> 922301504] (20019)DSO load failed: AH00576: The DBM driver could
> not be loaded
>
> I see this error message is in modules/dav/fs/dbm.c
>
> I'm not really sure why it's tripping on that error though. I'm
> debugging it now. I'm willing to try any suggestions or patches
> anyone has.
>
>
> The dbm driver is an APR-util library for the DBM backend you're using
> (built-in == SDBM, Berkeley DB, etc.). Use strace to look for failed
> open or stat calls to see where it is looking (maybe "strace -e
> open,stat -f /path/to/apachectl start).
Thanks for the tip. It did show that it was looking for
apr_dbm_db-1.so. So I recompiled apr-util adding
--with-dbm=db53 and --with-berkeley-db=<path>
The exact same error message shows in the apache error log,a strace does
show apr_dbm_db-1.so and libdb loading
[pid 30486] open("/www/pages/.htaccess", O_RDONLY|O_CLOEXEC) = -1 ENOENT
(No such file or directory)
[pid 30486] open("/www/pages/files/.htaccess", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
[pid 30486] open("/www/pages/files/public/.htaccess",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 30486] open("/etc/apache2/passwd", O_RDONLY|O_CLOEXEC) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/usr/lib/apr_dbm_db-1.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
[pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/usr/lib/libdb-5.3.so", O_RDONLY) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/usr/lib/libdb-5.3.so", O_RDONLY) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/usr/lib/apr_dbm_db-1.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
[pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/usr/lib/libdb-5.3.so", O_RDONLY) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/usr/lib/libdb-5.3.so", O_RDONLY) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/www/pages/.htaccess", O_RDONLY|O_CLOEXEC) = -1 ENOENT
(No such file or directory)
[pid 30486] open("/www/pages/files/.htaccess", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
[pid 30486] open("/www/pages/files/public/.htaccess",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 30486] open("/etc/apache2/passwd", O_RDONLY|O_CLOEXEC) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/usr/lib/apr_dbm_db-1.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
[pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/usr/lib/libdb-5.3.so", O_RDONLY) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/usr/lib/libdb-5.3.so", O_RDONLY) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/usr/lib/apr_dbm_db-1.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
[pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/usr/lib/libdb-5.3.so", O_RDONLY) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/usr/lib/apr-util-1/apr_dbm_db-1.so", O_RDONLY) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/usr/lib/libdb-5.3.so", O_RDONLY) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/www/pages/files/public/",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 12
[pid 30486] close(12) = 0
[pid 30486] open("/www/pages/files/public/.DAV/.locknull",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)