Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't start apache
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
RikBlankestijn
Guru
Guru


Joined: 01 May 2003
Posts: 315
Location: Arnhem the Netherlands

PostPosted: Sun Mar 14, 2004 9:16 pm    Post subject: Can't start apache Reply with quote

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
View user's profile Send private message
savage
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 161

PostPosted: Mon Mar 15, 2004 1:39 am    Post subject: stuff Reply with quote

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
View user's profile Send private message
RikBlankestijn
Guru
Guru


Joined: 01 May 2003
Posts: 315
Location: Arnhem the Netherlands

PostPosted: Mon Mar 15, 2004 11:18 am    Post subject: Re: stuff Reply with quote

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
View user's profile Send private message
savage
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 161

PostPosted: Mon Mar 15, 2004 12:59 pm    Post subject: idea Reply with quote

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
View user's profile Send private message
Onthax
n00b
n00b


Joined: 24 Jul 2003
Posts: 2

PostPosted: Wed Apr 07, 2004 5:27 am    Post subject: Reply with quote

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
View user's profile Send private message
manywele
l33t
l33t


Joined: 12 Jul 2003
Posts: 739
Location: Inside

PostPosted: Wed Apr 07, 2004 6:23 am    Post subject: Reply with quote

The location of modules has changed in the latest upgrade to apache. Check out this thread.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum