[OPEN-ILS-DEV] Startup errors

Don McMorris don.mcmorris at gmail.com
Sun Jun 3 10:34:46 EDT 2007


HI Hennie:

A similar issue arose a couple weeks ago...  My focus is going to be
on the following:
open-ils.cstore 2007-06-03 15:53:03 [ERR :17550:oils_cstore.c:229:]
Error loading database driver [pgsql]

First, I'm going to test the Perl DBD module.  A simple perl script
for doing this is at
http://www.open-ils.org/dokuwiki/doku.php?id=scratchpad:dmcmorris:dbdtest
Simply copy into a file, modify it to suit your system
(username/password/db mostly), and run under perl.  If it runs OK,
your perl module should be working.

Next is a simple cstore test.  You can do this by running the
following under srfsh:
request open-ils.cstore open-ils.cstore.direct.actor.user.retrieve 1

/openils/var/log should have a cstore log.  This might reveal some hints also.

If you get stuck after this, please consider sending us your
configs/logs (see
http://www.open-ils.org/dokuwiki/doku.php?id=scratchpad:dmcmorris:start#config_log_zip-up
for a simple way to do this).

Good Luck!
--Don



On 6/3/07, Hennie Rautenbach <hennie at sabinet.co.za> wrote:
> Hi there folks,
>
> After having fiddled a bit with the config files and checking everything
> I get the following errors in the syslog  when attempting a start of the
> server:
>
> open-ils.cstore 2007-06-03 15:53:03 [INFO:17538:osrf_application.c:77:]
> registering exit handler for open-ils.cstore
> open-ils.cstore 2007-06-03 15:53:03 [INFO:17538:osrf_prefork.c:26:]
> Loading config in osrf_forker for app open-ils.cstore
> open-ils.cstore 2007-06-03 15:53:03 [INFO:17538:osrf_prefork.c:41:]
> keepalive setting = 6 seconds
> open-ils.cstore 2007-06-03 15:53:03 [INFO:17538:osrf_system.c:195:]
> Bootstrapping system with domain leo.sabinet.co.za, port 5222, and
> unixpath (null)
> open-ils.cstore 2007-06-03 15:53:03 [INFO:17538:osrf_prefork.c:245:]
> Prefork launching child with max_request=400,min_children=1, max_children=15
> open-ils.cstore 2007-06-03 15:53:03 [INFO:17550:osrf_system.c:195:]
> Bootstrapping system with domain leo.sabinet.co.za, port 5222, and
> unixpath (null)
> open-ils.cstore 2007-06-03 15:53:03 [INFO:17538:osrf_prefork.c:101:]
> router name is router and we have 1 routers to connect to
> open-ils.cstore 2007-06-03 15:53:03 [INFO:17538:osrf_prefork.c:108:]
> Registering with router router at leo.sabinet.co.za/router
> open-ils.cstore 2007-06-03 15:53:03 [INFO:17538:osrf_prefork.c:84:]
> Launching osrf_forker for app open-ils.cstore
> open-ils.cstore 2007-06-03 15:53:03 [ERR :17550:oils_cstore.c:229:]
> Error loading database driver [pgsql]
> open-ils.cstore 2007-06-03 15:53:03 [ERR :17550:osrf_application.c:99:]
> App open-ils.cstore child init failed
> open-ils.cstore 2007-06-03 15:53:03 [ERR :17550:osrf_prefork.c:151:]
> Prefork child_init failed
> open-ils.cstore 2007-06-03 15:53:03 [ERR :17550:osrf_prefork.c:314:]
> Forker child going away because we could not connect to OpenSRF...
> open-ils.cstore 2007-06-03 15:53:03 [INFO:17550:osrf_application.c:113:]
> Running onExit handler for app open-ils.cstore
> open-ils.cstore 2007-06-03 15:53:03
> [WARN:17538:transport_session.c:122:] socket_wait returned error code -1
>
> Any ideas on how to get beyond this error ?
>
> Regards,
>
> Hennie
>


More information about the Open-ils-dev mailing list