[OPEN-ILS-DEV]: Error loading libdbi driver

Dale Arntson arnt at uchicago.edu
Mon Jun 16 18:40:09 EDT 2008


I ran settings-tester.pl and it confirms that I have the right driver 
names in the right places.

-dale

Dale Arntson wrote:
> Hi Dan,
> 
> Thanks for pointing this out. This is how I had it before. However, when 
> I set the driver entry under open-ils.cstore and open-ils.reporter-store 
> in opensrf.xml back to pgsql, I get the same result.
> 
> -dale
> 
> Dan Scott wrote:
>> Hi Dale:
>>
>> 2008/6/16 Dale Arntson <arnt at uchicago.edu>:
>>> Hi All,
>>>
>>> I working on installing Evergreen on Redhat , and I've run into a libdbi
>>> driver problem. When I start up evergreen I get this error in the
>>> osrfsys.log:
>>>
>>> open-ils.cstore 2008-06-16 13:56:08 [DEBG:18124:oils_cstore.c:218:]
>>> Attempting to initialize libdbi...
>>> open-ils.cstore 2008-06-16 13:56:08 [DEBG:18124:oils_cstore.c:220:] ...
>>> libdbi initialized.
>>> open-ils.cstore 2008-06-16 13:56:08 [DEBG:18124:oils_cstore.c:230:]
>>> Attempting to load the database driver [Pg]...
>>> open-ils.cstore 2008-06-16 13:56:08 [ERR :18124:oils_cstore.c:234:] 
>>> Error
>>> loading database driver [Pg]
>>
>> The error messages might be throwing you off here. I'm pretty sure
>> that running settings-tester.pl will tell you that the driver for
>> open-ils.cstore (in opensrf.xml) needs to be set to pgsql, not Pg.
>>
>> If the <language> element is C, then the <driver> element must be pgsql.
>>
>> If the <language> element is perl, then the <driver> element must be Pg.
>>
>> And before you ask... at some point, a port to a different database
>> may become available, which is why these settings can't simply be
>> collapsed into one.
>>


More information about the Open-ils-dev mailing list