Summary: | apache-1.3.29-r1 doesn't start properly with db-4.1.25_p1-r3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stephan Hermann <sh> |
Component: | [OLD] Server | Assignee: | Apache Team - Bugzilla Reports <apache-bugs> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Stephan Hermann
2004-04-20 05:46:57 UTC
What was the error message you were getting? chuck grr.. Hi, it said: syntax error in config at line nnn can't load mod_auth_dbm...cause of some unresolved symbols in libdb i can recompile apache with the 4.1.25_pl1-r3 version if you want... regards, \sh I have the same issue. The full error message is: * Starting apache... Syntax error on line 48 of /etc/apache/conf/apache.conf: Cannot load /etc/apache/modules/mod_auth_dbm.so into server: /etc/apache/modules/mod_auth_dbm.so: undefined symbol: __db_ndbm_open_4001 [ !! ] The apache modules have compiled against db4.x header files, but have linked with the db1.x shared library: ldd /etc/apache/modules/mod_auth_db* /etc/apache/modules/mod_auth_db.so: linux-gate.so.1 => (0xffffe000) libm.so.6 => /lib/libm.so.6 (0x40012000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40034000) libdb.so.2 => /usr/lib/libdb.so.2 (0x40061000) libmm.so.12 => /usr/lib/libmm.so.12 (0x40070000) libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40074000) libpthread.so.0 => /lib/libpthread.so.0 (0x4009a000) libc.so.6 => /lib/libc.so.6 (0x400eb000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) /etc/apache/modules/mod_auth_dbm.so: linux-gate.so.1 => (0xffffe000) libm.so.6 => /lib/libm.so.6 (0x40012000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40034000) libdb.so.2 => /usr/lib/libdb.so.2 (0x40061000) libmm.so.12 => /usr/lib/libmm.so.12 (0x40070000) libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40074000) libpthread.so.0 => /lib/libpthread.so.0 (0x4009a000) libc.so.6 => /lib/libc.so.6 (0x400eb000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) The log from doing emerge '<apache-2' shows the module being linked against -ldb1: gcc -shared -o mod_auth_dbm.so mod_auth_dbm.lo -L/usr/lib -lm -lcrypt -ldb1 -lmm -lexpat -lpthread ./src/helpers/install.sh -c -m 755 ./src/modules/standard/mod_auth_dbm.so /var/tmp/portage/apache-1.3.29-r1/image//usr/lib/apache/mod_auth_dbm.so usr/lib/apache/mod_auth_dbm.so Try upgrading to gdbm-1.8.3 sys-libs/gdbm Does this still not work? The patch I created for ticket #48795 should have corrected this... Just some additional info, hope this helps. I encountered bug 52201 only on one of my boxes. Searching for releated db bugs, I found this one. My debugging shows that apache 1.3.31 will not compile unless sys-libs/db 1.85-r1 is present on the system/linked with gdbm 1.80-r5. See my comments on bug 52201 for the steps I took if this is interesting to you. A new ebuild is portage since the apache herds package refresh, pleae test if it works now. See http://dev.gentoo.org/~vericgar/package-refresh.txt Generic Upgrade Instructions: ----------------------------- After we have refreshed the packages on 8th Jan, to upgrade you will need to do the following. If you do not want to install masked/unstable packages on your machine(s), these ebuilds will be unmasked and marked stable as soon as we have determined that everything is working properly. - unmask all needed packages (using /etc/portage/package.unmask and /etc/portage/package.keywords) - emerge -uav world With this update, we are bringing some changes to the Apache configuration: - /etc/apache{,2}/conf is moving to be /etc/apache{,2} - new httpd.conf replaces commonapache{,2}.conf and apache{,2}.conf files - /etc/apache{,2}/conf/vhosts is moving to be /etc/apache{,2}/vhosts.d After installing this update, you will need to manually migrate any changes you've made to your existing configuration files into the new configuration files. The above mentioned fix has worked for many I've spoken to who experienced the same problem. Closing, please re-open if you continue to have issues. |