Re: [users@httpd] "DSO load failed" when using mod_authn_dbm for Berkeley DB

2016-05-15 Thread Luca Toscano
2016-05-14 1:29 GMT+02:00 Tianyin Xu : > btw, after such diagnosis efforts, I really feel the logs need to be > improved. It's so misleading right now. Look at the *only* error message, > > [Thu May 05 18:12:29.915467 2016] [authn_dbm:error] [pid 9107:tid > 140031532377856] (20019)DSO load failed:

Re: [users@httpd] "DSO load failed" when using mod_authn_dbm for Berkeley DB

2016-05-13 Thread Tianyin Xu
btw, after such diagnosis efforts, I really feel the logs need to be improved. It's so misleading right now. Look at the *only* error message, [Thu May 05 18:12:29.915467 2016] [authn_dbm:error] [pid 9107:tid 140031532377856] (20019)DSO load failed: [client 127.0.0.1:54442] AH01754: could not open

Re: [users@httpd] "DSO load failed" when using mod_authn_dbm for Berkeley DB

2016-05-13 Thread Tianyin Xu
Hi Yann and Luca, Yes, that fixes the problem...!!.. $ ls lib/apr-util-1/ apr_dbm_db-1.so apr_dbm_db.a apr_dbm_db.la apr_dbm_db.so It's hard to believe --with-berkeley-db is even not present in "./configure --help"! @Luca, you are the maintainer of the httpd docs? The page of mod_authn_dbm r

Re: [users@httpd] "DSO load failed" when using mod_authn_dbm for Berkeley DB

2016-05-13 Thread Luca Toscano
Hi Yann, 2016-05-13 22:35 GMT+02:00 Yann Ylavic : > On Thu, May 12, 2016 at 10:22 PM, Tianyin Xu wrote: > > > > I'm using all the latest versions of httpd, apr, and apr-util: > > httpd-2.4.20 > > apr-1.5.2 > > apr-util-1.5.4 > > > > and I build the binaries using, > > $ ./configure --with-includ

Re: [users@httpd] "DSO load failed" when using mod_authn_dbm for Berkeley DB

2016-05-13 Thread Yann Ylavic
On Thu, May 12, 2016 at 10:22 PM, Tianyin Xu wrote: > > I'm using all the latest versions of httpd, apr, and apr-util: > httpd-2.4.20 > apr-1.5.2 > apr-util-1.5.4 > > and I build the binaries using, > $ ./configure --with-included-apr --enable-load-all-modules > > It seems I failed to build "apr-u

Re: [users@httpd] "DSO load failed" when using mod_authn_dbm for Berkeley DB

2016-05-12 Thread Tianyin Xu
Thanks a lot, Luca! On Thu, May 12, 2016 at 1:04 AM, Luca Toscano wrote: > > > 2016-05-12 7:09 GMT+02:00 Tianyin Xu : > >> Sorry Luca, I misspelled your name in my last email. :-( >> > > No problem at all :) > > >> >> On Wed, May 11, 2016 at 9:55 PM, Tianyin Xu wrote: >> >>> Thanks, Loca! >>> >

Re: [users@httpd] "DSO load failed" when using mod_authn_dbm for Berkeley DB

2016-05-12 Thread Luca Toscano
2016-05-12 7:09 GMT+02:00 Tianyin Xu : > Sorry Luca, I misspelled your name in my last email. :-( > No problem at all :) > > On Wed, May 11, 2016 at 9:55 PM, Tianyin Xu wrote: > >> Thanks, Loca! >> >> Yes, I did set AuthDBMUserFile (the whole point for this module is to use >> a DBM file to do

Re: [users@httpd] "DSO load failed" when using mod_authn_dbm for Berkeley DB

2016-05-11 Thread Tianyin Xu
Sorry Luca, I misspelled your name in my last email. :-( On Wed, May 11, 2016 at 9:55 PM, Tianyin Xu wrote: > Thanks, Loca! > > Yes, I did set AuthDBMUserFile (the whole point for this module is to use > a DBM file to do the authn control, isn't it?) > > I generate the file called dbm-auth-file

Re: [users@httpd] "DSO load failed" when using mod_authn_dbm for Berkeley DB

2016-05-11 Thread Tianyin Xu
Thanks, Loca! Yes, I did set AuthDBMUserFile (the whole point for this module is to use a DBM file to do the authn control, isn't it?) I generate the file called dbm-auth-file using dbmmanger $ file dbm-auth-file dbm-auth-file: Berkeley DB (Hash, version 9, native byte-order) and then I loaded t

Re: [users@httpd] "DSO load failed" when using mod_authn_dbm for Berkeley DB

2016-05-09 Thread Luca Toscano
Hi Tianyin, 2016-05-06 3:22 GMT+02:00 Tianyin Xu : > Hi, > > I'm trying to use mod_authn_dbm, and referring to > https://httpd.apache.org/docs/current/mod/mod_authn_dbm.html > > I used dbmmanger to generate the dbm file named dbm-auth-file. > $ file dbm-auth-file > dbm-auth-file: Berkeley DB (Has

[users@httpd] "DSO load failed" when using mod_authn_dbm for Berkeley DB

2016-05-05 Thread Tianyin Xu
Hi, I'm trying to use mod_authn_dbm, and referring to https://httpd.apache.org/docs/current/mod/mod_authn_dbm.html I used dbmmanger to generate the dbm file named dbm-auth-file. $ file dbm-auth-file dbm-auth-file: Berkeley DB (Hash, version 9, native byte-order) According to the manual, the valu