[users@httpd] DBDriver error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm getting an error when attempting to include mysql authentication
into my apache configuration.  I had been using LDAP authentication, but
I want to switch to mysql based authentication, and in the process I'm
upgrading from apache 2.0.x to 2.2.x.

I get the following error:
Invalid command 'DBDriver', perhaps misspelled or defined by a module
not included in the server configuration

Referring to (I believe) this directive in httpd-ssl.conf:
DBDriver mysql

I pulled the directives almost directly from:
http://httpd.apache.org/docs/2.2/mod/mod_authn_dbd.html

This httpd-ssl.conf is mostly stock as it is installed, except I've
added enough specifics to allow it to correctly run (on port 8081), as
well uncommenting the line in httpd.conf that invokes httpd-ssl.conf.

I also added:
# Database info
# use the mysql driver
DBDriver mysql
                                                                                                                                             
#Connection string: database name and login credentials
DBDParams "dbname=xxxx user=yyyy password=zzzz"

#(Where xxxx is the correct database name, yyyy is the correct user,
etc.)
 
#Parameters for Connection Pool Management
DBDMin  1
DBDKeep 2
DBDMax  10
DBDExptime 60

I'm not seeing much that is helpful on google searches for this error.  

Do I need to compile in another module or use an include statement or
something?

I also have:
apachectl -l
Compiled in modules:
  core.c
  mod_authn_file.c
  mod_authn_dbd.c
  mod_authn_default.c
  mod_authz_host.c
  mod_authz_groupfile.c
  mod_authz_user.c
  mod_authz_default.c
  mod_auth_basic.c
  mod_include.c
  mod_filter.c
  mod_log_config.c
  mod_env.c
  mod_setenvif.c
  mod_ssl.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_so.c


Any pointers that can be provided would be appreciated.  
Thanks,
Chris Snyder



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux