You are not logged in.

#1 2006-06-29 16:56:23

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

DBD: failed to initialise [SOLVED]

After my last pacman -Syu I found this error in my /var/log/httpd/error_log:
[crit] (70023)This function has not been implemented on this platform: DBD: driver for  not available

In looking for a solution I found that in the year 2004 a similar error occured due to:

... a newer version of DBD:Mysql needs to be used in the perl-dbd-mysql package ...

Is it possible that this module needs to be upgraded?
Any ideas, solutions, 'drop dead!' sugestions will be welcome ... if they help. wink

Offline

#2 2006-06-29 17:48:03

Purch
Member
From: Finland
Registered: 2006-02-23
Posts: 229

Re: DBD: failed to initialise [SOLVED]

comment out like this in httpd.conf

#LoadModule authn_dbd_module        modules/mod_authn_dbd.so
#LoadModule dbd_module              modules/mod_dbd.so

works if you dont need SQL as this disables the SQL use within web pages.

Offline

#3 2006-06-29 21:08:02

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: DBD: failed to initialise [SOLVED]

Unfrotunately I do want to use MySQL.  Any other ideas?

Offline

#4 2006-07-02 23:35:45

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: DBD: failed to initialise [SOLVED]

ralvez wrote:

Unfrotunately I do want to use MySQL.  Any other ideas?

DBD is a new feature in Apache 2.2.x. It's a database support module that does connection management and database abstraction. It doesn't do much by itself, but can be used by other Apache modules.

So, if you want to use it's services, you need to configure it first:
http://httpd.apache.org/docs/2.2/mod/mod_dbd.html

or if not, you can just disable it. That doesn't stop you from using a database in PHP, Python etc..

BTW. I'm not sure what drivers does the Arch package of Apache 2.2.2 support.

Offline

#5 2006-07-03 01:50:43

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: DBD: failed to initialise [SOLVED]

damjan, thanks for the reply. I began running all sort of tests and figured that I was OK to use PHP, MySQL and Python even without the module, so I disabled it.
Interestingly enough, this module was activated "by default" because I do not remember doing it myself.  :?  that is in the first place what got me confused.

Offline

Board footer

Powered by FluxBB