logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Unable to configure Apache 2.2.14 server to authn with DB
Author
garunkumarg



Joined: 22 Feb 2010
Posts: 1

PostPosted: Mon 22 Feb '10 22:09    Post subject: Unable to configure Apache 2.2.14 server to authn with DB Reply with quote

Unable to make a conncetion to from Apache Server to MS SQL 2005 and the Apache server is restarted with the following error written to error.log

Parent: child process exited with status 3221225477 -- Restarting
Apache/2.2.14 (Win32) configured -- resuming normal operations

Below is the configuration of my apache server.

Created a system ODBC DSN with name "TestSQL"
Added the Apache2.2/bin folder to the system path and also added Apache2.2/bin dlls to system32 folder

httpd.conf
LoadModule dbd_module modules/mod_dbd.so
DBDriver odbc
DBDPersist Off
DBDParams "datasource=TestSQL, user=ccs.admin, password=ccs.login"
DBDMin 4
DBDMax 20
DBDKeep 8
DBDExptime 300
DBDPrepareSQL "select password from tblUser where name = %s" login
<Directory "C:/rockwellcollins/Apache 2.2/htdocs">
Options Indexes FollowSymLinks ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthType Basic
AuthName "Trial Access"
AuthBasicProvider dbd
AuthDBDUserPWQuery login
Require valid-user
</Directory>
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7407
Location: EU, Germany, Next to Hamburg

PostPosted: Tue 23 Feb '10 16:43    Post subject: Reply with quote

I've seen this with mysql, when libmysql.dll wasn't in PATH location.

You could use the depency walker to see which dll is not found.
Back to top


Reply to topic   Topic: Unable to configure Apache 2.2.14 server to authn with DB View previous topic :: View next topic
Post new topic   Forum Index -> Apache