View previous topic :: View next topic |
Author |
Message |
RikBlankestijn Guru
Joined: 01 May 2003 Posts: 315 Location: Arnhem the Netherlands
|
Posted: Sun Mar 14, 2004 9:16 pm Post subject: Can't start apache |
|
|
I've installed Apache 1.3.29 and this is the output that I get:
Code: | splinter apache # apachectl start
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
/usr/sbin/apachectl start: httpd could not be started
|
When I comment this line out I get the same error on mod_auth_db.so.
I disable both (AddModule inclusive) then apache starts fine.
I got two questions one ofcourse how I can fix these modules and the other is what are these modules and are they important? |
|
Back to top |
|
|
savage Apprentice
Joined: 01 Jan 2003 Posts: 161
|
Posted: Mon Mar 15, 2004 1:39 am Post subject: stuff |
|
|
You probably should try using Code: | /etc/init.d/apache start | instead of apachectl..... Also, auth_dbm is a module that you lets apache read authorization information out of dbm (database files) instead of flat text files (I guess for faster access and handling more names easily).....
savage. |
|
Back to top |
|
|
RikBlankestijn Guru
Joined: 01 May 2003 Posts: 315 Location: Arnhem the Netherlands
|
Posted: Mon Mar 15, 2004 11:18 am Post subject: Re: stuff |
|
|
savage wrote: | You probably should try using Code: | /etc/init.d/apache start | instead of apachectl..... |
No, it should matter apachectl is apache own script to startup etc. But just to convince you:
Code: | bash-2.05b# /etc/init.d/apache start
* Starting apache...
Syntax error on line 49 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 [ !! ]
|
savage wrote: |
Also, auth_dbm is a module that you lets apache read authorization information out of dbm (database files) instead of flat text files (I guess for faster access and handling more names easily).....
savage. |
Thanks for the information |
|
Back to top |
|
|
savage Apprentice
Joined: 01 Jan 2003 Posts: 161
|
Posted: Mon Mar 15, 2004 12:59 pm Post subject: idea |
|
|
try
Code: |
emerge sys-libs/gdbm
|
then re-emerge apache;
if that doesn't fix it, put some stuff up here about your build environment, pertinent stuff in make.conf |
|
Back to top |
|
|
Onthax n00b
Joined: 24 Jul 2003 Posts: 2
|
Posted: Wed Apr 07, 2004 5:27 am Post subject: |
|
|
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
i have the same problem when attempting to start apache, remerging sys-bils/gdbm and then remerging apache does not fix the problem |
|
Back to top |
|
|
manywele l33t
Joined: 12 Jul 2003 Posts: 739 Location: Inside
|
Posted: Wed Apr 07, 2004 6:23 am Post subject: |
|
|
The location of modules has changed in the latest upgrade to apache. Check out this thread. |
|
Back to top |
|
|
|