[OPEN-ILS-GENERAL] [OpenILS-feedback] Please look into my problem cant seem to install

Muhammad Faiz Chishti mfaizali at hotmail.com
Thu Aug 18 02:45:26 EDT 2011


The following commands result as

opensrf at lmstest:/openils/bin$ ./autogen.sh -c /openils/conf/opensrf_core.xml
-u
Updating Evergreen organization tree and IDL using
'/openils/conf/opensrf_core.xml'

Updating fieldmapper
Updating web_fieldmapper
Updating OrgTree
removing OrgTree from the cache for locale hy-AM...
removing OrgTree from the cache for locale cs-CZ...
removing OrgTree from the cache for locale en-CA...
removing OrgTree from the cache for locale en-US...
removing OrgTree from the cache for locale fr-CA...
removing OrgTree from the cache for locale ru-RU...
Updating OrgTree HTML
Can't call method "opac_visible" on an undefined value at
org_tree_html_options.pl line 54.

#   grep open-ils.actor /openils/conf/opensrf_core.xml
	<service>open-ils.actor</service>
      		<service>open-ils.actor</service>


open-ils.actor.org_tree.retrieve is returning no data from the server in
srfsh

opensrf at lmstest:~$ srfsh
srfsh# request open-ils.actor open-ils.actor.org_tree.retrieve

Received no data from server

------------------------------------
Request Completed Successfully
Request Time in seconds: 0.108489
------------------------------------


srfsh# request open-ils.actor open-ils.actor.org_types.retrieve

Received Data: [
  {
    "__c":"aout",
    "__p":[
      null,
      "f",
      "f",
      0,
      1,
      "Consortium",
      "Everywhere",
      null
    ]
  },
  {


opensrf at lmstest:~/Evergreen-ILS-2.0.8$
Open-ILS/src/support-scripts/settings-tester.pl
LWP::UserAgent version 5.829
XML::LibXML version 1.69
XML::LibXML::XPathContext version 1.69
XML::LibXSLT version 1.68
Net::Server::PreFork version 0.97
Cache::Memcached version 1.26
Class::DBI version 3.0.17
Class::DBI::AbstractSearch version 0.07
Template version 2.20
DBD::Pg version 2.13.1
Net::Z3950::ZOOM version 1.25
MARC::Record version 2.0.3
MARC::Charset version 1.33
MARC::File::XML version 0.93
Text::Aspell version 0.04
CGI version 3.29
DateTime::TimeZone version 0.91
DateTime version 0.49
DateTime::Format::ISO8601 version 0.06
DateTime::Format::Mail version 0.3001
Unix::Syslog version 1.1
GD::Graph3d version 0.63
JavaScript::SpiderMonkey version 0.20
Log::Log4perl version 1.23
Email::Send version 2.197
Text::CSV version 1.12
Text::CSV_XS version 0.65
Spreadsheet::WriteExcel::Big version 2.22
Tie::IxHash version 1.21
Parse::RecDescent version 1.96.0
SRU version 0.99
JSON::XS version 2.32

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

Checking database connections
* /opensrf/default/reporter/setup :: Successfully connected to database
dbi:Pg:dbname=evergreen;host=localhost;port=5432
  * Database has the expected server encoding UTF8.
* /opensrf/default/apps/open-ils.storage/app_settings/databases ::
Successfully connected to database
dbi:Pg:dbname=evergreen;host=localhost;port=5432
  * Database has the expected server encoding UTF8.
* /opensrf/default/apps/open-ils.cstore/app_settings :: Successfully
connected to database dbi:Pg:dbname=evergreen;host=localhost;port=5432
  * Database has the expected server encoding UTF8.
* /opensrf/default/apps/open-ils.pcrud/app_settings :: Successfully
connected to database dbi:Pg:dbname=evergreen;host=localhost;port=5432
  * Database has the expected server encoding UTF8.
DBI connect('dbname=evergreen;host=localhost;port=5432','postgres',...)
failed: FATAL:  password authentication failed for user "postgres"
FATAL:  password authentication failed for user "postgres" at
Open-ILS/src/support-scripts/settings-tester.pl line 235
* /opensrf/default/apps/open-ils.qstore/app_settings :: Unable to connect to
database dbi:Pg:dbname=evergreen;host=localhost;port=5432, user=postgres,
password=postgres
* /opensrf/default/apps/open-ils.reporter-store/app_settings :: Successfully
connected to database dbi:Pg:dbname=evergreen;host=localhost;port=5432
  * Database has the expected server encoding UTF8.

Checking database drivers to ensure <driver> matches <language>
* ERROR: Unknown driver SIP in /opensrf/default/notifications/telephony
* ERROR: Unknown driver SIP in /opensrf/default/notifications/telephony
* OK: Pg language is undefined for reporter base configuration
* OK: Pg language is undefined for reporter base configuration
* OK: Pg language is perl in /opensrf/default/apps/open-ils.storage/language
* OK: pgsql language is C in /opensrf/default/apps/open-ils.cstore/language
* OK: pgsql language is C in /opensrf/default/apps/open-ils.pcrud/language
* OK: pgsql language is C in /opensrf/default/apps/open-ils.qstore/language
* OK: pgsql language is C in
/opensrf/default/apps/open-ils.reporter-store/language

Checking libdbi and libdbi-drivers
  * OK - found locally installed libdbi.so and libdbdpgsql.so in shared
library path

Checking hostname
 * OK: found hostname 'localhost' in <hosts> section of opensrf.xml

-----Original Message-----
From: phasefx at gmail.com [mailto:phasefx at gmail.com] On Behalf Of Jason
Etheridge
Sent: Thursday, August 18, 2011 9:55 AM
To: Muhammad Faiz Chishti
Cc: open-ils-general at list.georgialibraries.org
Subject: Re: [OpenILS-feedback] Please look into my problem cant seem to
install

> Q 1. First error I encounter is memcached does not start saying it is 
> disabled  and have to enable it through editing a file          # 
> /etc/default/memcached
>
> Why is it not in documentation ????

In the instructions for installing OpenSRF, it lists /etc/init.d/memcached
start as the way to start memcached

> Q 2. Next error that I encounter is when I start installing Evergreen 
> it requires Postgres Server I Install it by following command  which 
> gives error

What's the actual error?

> Q 3. I follow all on screen instruction using required logins and 
> paths and end up on command
>
>         #./autogen.sh -c /openils/conf/opensrf_core.xml –u
<snip>
> Exception: OpenSRF::EX::Session 2011-08-17T03:49:39 
> OpenSRF::Utils::SettingsClient
> /usr/local/share/perl/5.10.0/OpenSRF/Utils/SettingsClient.pm:103 
> Session
> Error: router at private.localhost/opensrf.settings IS NOT CONNECTED TO 
> THE NETWORK!!!

At this point, I would stop all services (/openils/bin/osrf_ctl.sh -l -a
stop_all), and clear out the logs (mkdir /openils/var/log/old/ ; mv
/openils/var/log/* old/).  Then I would start the router and grep the logs
(/openils/bin/osrf_ctl.sh -l -a start_router ; sleep 10 ; grep \\[ERR
/openils/var/log/*.log).  If any errors show up with that grep, stop there
and share with us.  Otherwise, start the perl services next and grep the
logs (/openils/bin/osrf_ctl.sh -l -a start_perl ; sleep
20 ; grep \\[ERR /openil/s/var/log/*.log).  Any errors, stop and report
here.  Otherwise, start the c services and check the logs
(/openils/bin/osrf_ctl.sh -l -a start_c ; sleep 10 ; grep \\[ERR
/openils/var/log/*.log).  Any errors.. you get the idea.  Then run autogen
(/openils/bin/autogen.sh -c /openils/conf/opensrf_core.xml -u).  If there
are errors at this point but not any in the logs prior to this, then I'm not
sure what is going on, and I'd be tempted to raise the loglevel's in
opensrf_core.xml and try again.  If you get autogen to run without errors,
then restart apache.  Then test with srfsh, etc.

>I am stuck with this installation from last 10 days have installed couple
of times and asked for help from this forums.

You'll have to bear with us; we're all volunteers when we help folks on this
list, and sometimes folks are busier than usual, or emails get overlooked in
the deluge of mail in our inboxes.

--
Jason Etheridge
 | Equinox Software, Inc. / Your Library's Guide to Open Source
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  jason at esilibrary.com
 | web:  http://www.esilibrary.com



More information about the Open-ils-general mailing list