httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13095] New: - problem with mod_auth_db in RedHat 7.3
Date Fri, 27 Sep 2002 18:42:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13095>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13095

problem with mod_auth_db in RedHat 7.3

           Summary: problem with mod_auth_db in RedHat 7.3
           Product: Apache httpd-1.3
           Version: 1.3.26
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Auth/Access
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: dpicca@hochfeiler.it


Hi,
I've found a problem with mod_auth_db or dbmmanage:

This is the list of relevant packets I've installed with linux server
db3-3.3.11-6
gdbm-1.8.0-14
db2-devel-2.4.14-10
db3-utils-3.3.11-6
nss_db-2.2-14
db1-1.85-8
db2-2.4.14-10
db1-devel-1.85-8
db3-devel-3.3.11-6
db3x-3.2.9-4
gdbm-devel-1.8.0-14
perl-DB_File-1.75-34.99.6
perl-5.6.1-34.99.6

I've also recompile apache to the last version:
SSL_BASE=/path/to/openssl ./configure --prefix=/etc/httpd --enable-module=ssl
--activate-module=src/modules/perl/libperl.a --enable-module=all
--enable-shared=max --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/etc/httpd/modules

now mod_auth_db works fine on all my old db files, but when I try to work on a
preexisting db using dbmmanage I got the following error:
Can't tie users:  at /usr/bin/dbmmanage line 202.

If I create a new db using dbmmanage it works fine, but apache doesn't accept it
((22)Invalid argument: could not open db auth file:).


Using the file command on the two dbs I receive the following output:
oldfile: Berkeley DB 2.X Hash/Little Endian (Version 5, Logical sequence number:
file - 0, offset - 0, Bucket Size 4096, Overflow Point 2, Last Freed 0, Max
Bucket 3, High Mask 0x3, Low Mask 0x1, Fill Factor 0, Number of Keys 0)

newfile:Berkeley DB 2.X Hash/Little Endian (Version 7, Logical sequence number:
file - 0, offset - 0, Bucket Size 4096, Overflow Point 2048, Last Freed 0, Max
Bucket 2, High Mask 0x0, Low Mask 0x0, Fill Factor 0, Number of Keys 0)

I've tried to use mod_auth_dbm but nothing changes.

Those are the lines printed during the compilation phase
gcc -c  -I../../os/unix -I../../include   -DLINUX=22 -I/usr/include/db1
-DMOD_SSL=208110 -DMOD_PERL -DUSE_HSREGEX -DEAPI -DUSE_EXPAT
-I../../lib/expat-lite `../../apaci` -fpic -DSHARED_MODULE mod_auth_dbm.c && mv
mod_auth_dbm.o mod_auth_dbm.lo
gcc -shared -o mod_auth_dbm.so mod_auth_dbm.lo
gcc -c  -I../../os/unix -I../../include   -DLINUX=22 -I/usr/include/db1
-DMOD_SSL=208110 -DMOD_PERL -DUSE_HSREGEX -DEAPI -DUSE_EXPAT
-I../../lib/expat-lite `../../apaci` -fpic -DSHARED_MODULE mod_auth_db.c && mv
mod_auth_db.o mod_auth_db.lo
gcc -shared -o mod_auth_db.so mod_auth_db.lo

I don't know if it's a redhat, dbmmanage, apache or my problem 
please let me know
Bye
			Dante

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message