[olug] mod_auth_db on redhat
Adam Haeder
adamh at omaha.org
Thu Dec 13 06:19:14 UTC 2001
OK, I forced the uninstall of db1 and db2, so now rpm -qa | grep ^db
shows:
db3-3.2.9-4
db3-utils-3.2.9-4
db3-devel-3.2.9-4
So now I figure I need to recompile apache so mod_auth_db uses Berkeley DB
3.x for sure. So I rerun configure and make and it fails because it can't
find ndbm.h. Aha, this is required by mod_auth_dbm and was in the db1 rpm.
No worries, I don't need mod_auth_dbm anyway. Remove it from configure and
run make. I notice that the line "-I/usr/include/db1" no longer shows up
in the apache make process. I make install, recreate the db auth file, and
restart apache. Still no luck, same error.
The problem has to be in the format that dbmmanage is writing and the
format mod_auth_db is trying to read. I wish the "file" command would tell
me the format of the database! I don't know how to make these tools more
verbose to tell me what's going on.
--
Adam Haeder
Technical Coordinator, AIM Institute
adamh at omaha.org
(402) 345-5025 x115
On Thu, 13 Dec 2001, Adam Haeder wrote:
> rpm -qa | grep ^db shows:
>
> db3-utils-3.2.9-4
> db1-1.85-7
> db3-3.2.9-4
> db3-devel-3.2.9-4
> db2-devel-2.4.14-7
> db2-2.4.14-7
> db1-devel-1.85-7
> db31-3.1.17-1
>
> When mod_auth_db compiles with apache, it states that it's using Berkeley
> DB 3.x. I don't know how to tell what version the "DB_File" perl mod is
> using.
>
> I successfully removed db2 without any complaints. db1 and db3 are both
> required by perl, but db1 is ONLY required by perl, while db3 is used by
> sendmail, pam, and other things.
>
> I'm going to force the uninstall of db1 and try a recompile of apache and
> DB_File
>
>
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
For help contact olug-help at bstc.net - run by ezmlm
to unsubscribe, send mail to olug-unsubscribe at bstc.net
or `mail olug-unsubscribe at bstc.net < /dev/null`
(c)2001 OLUG http://www.olug.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
More information about the OLUG
mailing list