[OPEN-ILS-GENERAL] Problems while logging onto the Evergreen server using staff-client

Dibyendra Hyoju dibyendra at gmail.com
Wed Jun 24 06:02:01 EDT 2009


Hi everyone,

I got suggestions from Jason while I was connected to IRC channel, and he
suggested me to trace the error logs after starting opensrf services one by
one instead of starting all the services at once.

Firstly, I removed all the logs, and started the services one by one, and
traced the error by issuing 'grep ERR /openils/var/log/*' command. After
executing 'osrf_ctl.sh -l -a start_c', 'osrf_ctl.sh -l -a start_perl', and
'osrf_ctl.sh -l -a start_router',  I found errors in the log files, which I
have posted into the URL: http://paste.lisp.org/display/82400. But, it
surprised me as I found no errors while running the 'settings-tester.pl'
script!

I have also attached the found errors and result of the script
'settings-tester.pl' herewith. I will be thankful if anyone could suggest me
by quickly analyzing the error log and result. Any help will be appreciated!

Thanking you,

Dibyendra Hyoju
Madan Puraskar Pustakalaya
Patan Dhoka, Lalitpur, Nepal
Phone: 977-1-15549948
Fax: 977-1-5536390
URL: www.madanpuraskar.org
Email: info at mpp.org.np

On Tue, Jun 23, 2009 at 10:50 PM, Dibyendra Hyoju <dibyendra at gmail.com>wrote:

> Hi all,
> I'm still stuck into the same problem. I had tried my best to resolve this
> problem by repeating the earlier steps of opensrf xml configurations, but
> that didn't help. I would be thankful if I could hear suggestions regarding
> this issue. This might be the only problem that has been obstructing me to
> move ahead to test the Evergreen. I'm confused whether to start all over
> again or wait for suggestions. I have to import our library records into
> Evergreen database soon to think about going live with Evergreen! Please
> help me!
>
> Thanking you,
> Dibyendra
>
>
> On Fri, Jun 19, 2009 at 8:45 AM, Dibyendra Hyoju <dibyendra at gmail.com>wrote:
>
>> Hi,
>>
>> I tried stopping the OpenSRF services and executed autogen.sh to see the
>> result, and started again to try autogen.sh. I'm still getting the same
>> message "Updating fieldmapper.....No Response from settings
>> server...going to sleep". Following is the detail result of what I had
>> tried:
>>
>> opensrf at dibyendra:/openils/bin$ osrf_ctl.sh -l -a stop_all
>> OpenSRF C not running
>> Stopping OpenSRF Perl
>> * opensrf.settings not running
>>
>> * open-ils.cat not running
>> * open-ils.supercat not running
>> * open-ils.search not running
>> * open-ils.circ not running
>> * open-ils.actor not running
>> * open-ils.storage not running
>> * open-ils.penalty not running
>>
>>
>>
>> * open-ils.collections not running
>> * open-ils.ingest not running
>> * open-ils.reporter not running
>> * open-ils.permacrud not running
>> * open-ils.fielder not running
>> * open-ils.vandelay not running
>> OpenSRF Router not running
>>
>>
>> opensrf at dibyendra:/openils/bin$ ./autogen.sh -c /openils/conf/opensrf_core.xml -u
>>
>>
>> Updating fieldmapper
>> Exception: OpenSRF::EX::JabberDisconnected 2009-06-18T11:47:59 OpenSRF::Utils::SettingsClient /usr/local/share/perl/5.10.0/OpenSRF/Utils/SettingsClient.pm:103 JabberDisconnected Exception: This JabberClient instance is no longer connected to the server
>>
>>
>> Updating web_fieldmapper
>> Exception: OpenSRF::EX::JabberDisconnected 2009-06-18T11:48:00 OpenSRF::Utils::SettingsClient /usr/local/share/perl/5.10.0/OpenSRF/Utils/SettingsClient.pm:103 JabberDisconnected Exception: This JabberClient instance is no longer connected to the server
>>
>>
>> Updating OrgTree
>> Exception: OpenSRF::EX::JabberDisconnected 2009-06-18T11:48:01 OpenSRF::Utils::SettingsClient /usr/local/share/perl/5.10.0/OpenSRF/Utils/SettingsClient.pm:103 JabberDisconnected Exception: This JabberClient instance is no longer connected to the server
>>
>>
>> cp: cannot stat `/openils/var/web/opac/common/js//en-US/OrgTree.js': No such file or directory
>> Updating OrgTree HTML
>>
>>
>> Exception: OpenSRF::EX::JabberDisconnected 2009-06-18T11:48:02 OpenSRF::Utils::SettingsClient /usr/local/share/perl/5.10.0/OpenSRF/Utils/SettingsClient.pm:103 JabberDisconnected Exception: This JabberClient instance is no longer connected to the server
>>
>>
>> Updating locales selection HTML
>> Exception: OpenSRF::EX::JabberDisconnected 2009-06-18T11:48:02 OpenSRF::Utils::SettingsClient /usr/local/share/perl/5.10.0/OpenSRF/Utils/SettingsClient.pm:103 JabberDisconnected Exception: This JabberClient instance is no longer connected to the server
>>
>>
>> Updating Search Groups
>> Exception: OpenSRF::EX::JabberDisconnected 2009-06-18T11:48:03 OpenSRF::Utils::SettingsClient /usr/local/share/perl/5.10.0/OpenSRF/Utils/SettingsClient.pm:103 JabberDisconnected Exception: This JabberClient instance is no longer connected to the server
>>
>>
>> Refreshing proximity of org units
>> Exception: OpenSRF::EX::JabberDisconnected 2009-06-18T11:48:04 OpenSRF::Utils::SettingsClient /usr/local/share/perl/5.10.0/OpenSRF/Utils/SettingsClient.pm:103 JabberDisconnected Exception: This JabberClient instance is no longer connected to the server
>>
>>
>> Done
>> opensrf at dibyendra:/openils/bin$ osrf_ctl.sh -l -a start_all
>> Starting OpenSRF Router
>>
>>
>> Starting OpenSRF Perl
>> Starting OpenSRF C (host=localhost)
>>
>> opensrf at dibyendra:/openils/bin$ ./autogen.sh -c /openils/conf/opensrf_core.xml -u
>> Updating fieldmapper
>>
>>
>> No Response from settings server...going to sleep
>>
>> It has been many days that I've been trying to solve this problem. Any help will be highly appreciated. Thanks.
>>
>>
>>
>> --
>> Best regards,
>> Dibyendra
>>
>> On Thu, Jun 18, 2009 at 1:17 PM, Dibyendra Hyoju <dibyendra at gmail.com>wrote:
>>
>>> Hi Jason,
>>>
>>> Thanks for the response. Yes, the OpenSRF services were running while
>>> executing autogen.sh. I've tried the both cases to see the result. I've
>>> posted the result in the URL: http://paste.lisp.org/display/82047.
>>>
>>> Looking forward to hearing from you.
>>>
>>> With regards,
>>> Dibyendra
>>>
>>>
>>> On Wed, Jun 17, 2009 at 6:33 PM, Jason Etheridge <jason at esilibrary.com>wrote:
>>>
>>>> > opensrf at dibyendra:/openils/bin$ ./autogen.sh -c
>>>> > /openils/conf/opensrf_core.xml -u
>>>> > Updating fieldmapper
>>>> > No Response from settings server...going to sleep
>>>>
>>>> Hrmm, so this happened, but authentication through srfsh was working
>>>> around the same time?  Are you sure OpenSRF services are running when
>>>> you try the autogen.sh?
>>>>
>>>> --
>>>> Jason Etheridge
>>>>  | VP, Community Support and Advocacy
>>>>  | Equinox Software, Inc. / The Evergreen Experts
>>>>  | phone:  1-877-OPEN-ILS (673-6457)
>>>>  | email:  jason at esilibrary.com
>>>>  | web:  http://www.esilibrary.com
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20090624/0fae9264/attachment.htm 
-------------- next part --------------
opensrf at dibyendra:~/Evergreen-ILS-1.4.0.4/Open-ILS/src/support-scripts$ ./settings-tester.pl 
LWP::UserAgent version 5.813
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.24
Class::DBI version 0.96
Class::DBI::AbstractSearch version 0.07
Template version 2.19
DBD::Pg version 2.8.7
Net::Z3950::ZOOM version 1.24
MARC::Record version 2.0.0
MARC::Charset version 0.98
MARC::File::XML version 0.88
Text::Aspell version 0.04
CGI version 3.29
DateTime::TimeZone version 0.7701
DateTime version 0.42
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.19
Log::Log4perl version 1.16
Email::Send version 2.192
Text::CSV version 1.06
Text::CSV_XS version 0.52
Spreadsheet::WriteExcel::Big version 2.22
Tie::IxHash version 1.21
Parse::RecDescent version 1.95.1
SRU version 0.97
JSON::XS version 2.01

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.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>
* 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.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
-------------- next part --------------
opensrf at dibyendra:/openils/var/log$ osrf_ctl.sh -l -a start_c
Starting OpenSRF C (host=localhost)
opensrf at dibyendra:/openils/var/log$ grep ERR /openils/var/log/*
/openils/var/log/osrfsys.log:opensrf 2009-06-24 14:39:43 [ERR :5345:osrf_app_session.c:137:] Transport error in recv()
/openils/var/log/osrfsys.log:opensrf 2009-06-24 14:39:43 [ERR :5345:osrf_settings.c:48:] No osrfMessage received from host localhost (timeout?)
/openils/var/log/osrfsys.log:opensrf 2009-06-24 14:39:43 [ERR :5345:osrf_settings.c:67:] Unable to load config for host localhost
/openils/var/log/osrfsys.log:opensrf 2009-06-24 14:39:43 [ERR :5345:osrf_system.c:105:] Unable to retrieve settings for host localhost from configuration file /openils/conf/opensrf_core.xml
/openils/var/log/osrfsys.log:opensrf 2009-06-24 14:39:43 [ERR :5345:opensrf.c:23:] Server Loop returned an error condition, exiting with -1
opensrf at dibyendra:/openils/var/log$ 
opensrf at dibyendra:/openils/var/log$ osrf_ctl.sh -l -a start_perl
Starting OpenSRF Perl
opensrf at dibyendra:/openils/var/log$ grep ERR /openils/var/log/*
/openils/var/log/osrfsys.log:opensrf 2009-06-24 14:39:43 [ERR :5345:osrf_app_session.c:137:] Transport error in recv()
/openils/var/log/osrfsys.log:opensrf 2009-06-24 14:39:43 [ERR :5345:osrf_settings.c:48:] No osrfMessage received from host localhost (timeout?)
/openils/var/log/osrfsys.log:opensrf 2009-06-24 14:39:43 [ERR :5345:osrf_settings.c:67:] Unable to load config for host localhost
/openils/var/log/osrfsys.log:opensrf 2009-06-24 14:39:43 [ERR :5345:osrf_system.c:105:] Unable to retrieve settings for host localhost from configuration file /openils/conf/opensrf_core.xml
/openils/var/log/osrfsys.log:opensrf 2009-06-24 14:39:43 [ERR :5345:opensrf.c:23:] Server Loop returned an error condition, exiting with -1
opensrf at dibyendra:/openils/var/log$ 
opensrf at dibyendra:/openils/var/log$ osrf_ctl.sh -l -a start_router
Starting OpenSRF Router
opensrf at dibyendra:/openils/var/log$ grep ERR /openils/var/log/*
/openils/var/log/osrfsys.log:opensrf 2009-06-24 14:39:43 [ERR :5345:osrf_app_session.c:137:] Transport error in recv()
/openils/var/log/osrfsys.log:opensrf 2009-06-24 14:39:43 [ERR :5345:osrf_settings.c:48:] No osrfMessage received from host localhost (timeout?)
/openils/var/log/osrfsys.log:opensrf 2009-06-24 14:39:43 [ERR :5345:osrf_settings.c:67:] Unable to load config for host localhost
/openils/var/log/osrfsys.log:opensrf 2009-06-24 14:39:43 [ERR :5345:osrf_system.c:105:] Unable to retrieve settings for host localhost from configuration file /openils/conf/opensrf_core.xml
/openils/var/log/osrfsys.log:opensrf 2009-06-24 14:39:43 [ERR :5345:opensrf.c:23:] Server Loop returned an error condition, exiting with -1
/openils/var/log/router-private.log:router 2009-06-24 14:41:48 [WARN:5103:transport_session.c:631:] ERROR XML fragment: Replaced by new connection</text></stream:error></stream:stream>
/openils/var/log/router-private.log:router 2009-06-24 14:42:06 [WARN:5484:transport_session.c:631:] ERROR XML fragment: Replaced by new connection</text></stream:error></stream:stream>
opensrf at dibyendra:/openils/var/log$ 




More information about the Open-ils-general mailing list