[OPEN-ILS-GENERAL] Settings-tester results

Dan Scott dan at coffeecode.net
Fri Sep 11 23:53:33 EDT 2009


On Wed, 2009-09-09 at 08:39 +0200, makekee at msu.ac.zw wrote:
> I think it is better to post the results from my settings-tester.pl script. Here
> are the output:
> 
<snip>
> Please install one of the following modules: Net::Z3950 Net::Z3950::ZOOM

You'll need to force the install of the Net::Z3950::ZOOM CPAN module
eventually, although that's not causing the main problem that we're
seeing below. Net::Z3950::ZOOM is mostly needed for importing records
from Z39.50 servers.

<snip>

> Checking Jabber connection for user opensrf, domain private.localhost
> * Jabber successfully connected
> 
> Checking Jabber connection for user opensrf, domain public.localhost
> * Jabber successfully connected
> 
> Checking Jabber connection for user router, domain public.localhost
> * Jabber successfully connected
> 
> Checking Jabber connection for user router, domain private.localhost
> * Jabber successfully connected

Good, good.

> Checking database connections
> DBI connect('dbname=;host=;port=','',...) failed: could not connect to server:
> No such file or directory
> 	Is the server running locally and accepting
> 	connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
>  at settings-tester.pl line 205
> * /opensrf/default/reporter/setup :: Unable to connect to database
> dbi:Pg:dbname=;host=;port=, user=, password=
> * /opensrf/default/reporter/setup :: Unable to connect to database
> dbi:Pg:dbname=;host=;port=, user=, password=

Hmm, this is bad. Does your /openils/conf/opensrf.xml file have any
database connections defined? It sounds like the connection info is all
blank.

This could happen, I suppose, if the eg_db_config.pl script was run with
blank values for the database name / hostname / port / user / password
arguments.

> 
> If i start the opensrf services there are no error messages and i am able to
> view the web opac both on the local machine and on remote machines. Help me
> guys.

Right, you don't need a working database connection to see the OPAC (but
you do need it for the OPAC to work). I would suggest looking in
opensrf.xml for <database> elements and ensuring that the connection
information is all set correctly, then run settings-tester.pl again.



More information about the Open-ils-general mailing list