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

Dan Scott denials at gmail.com
Mon Jun 16 17:42:02 EDT 2008


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.

-- 
Dan Scott
Laurentian University


More information about the Open-ils-dev mailing list