autogen.sh errors

Bug #1912914 reported by Howard Canning

This bug report was converted into a question: question #698116: autogen.sh errors.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Invalid
Undecided
Unassigned

Bug Description

Evergreen 3.6.1
OpenSRF v3.2.1
Ubuntu 16

Hi,
Running autogen.sh produced below errors:

opensrf@li1830-254:~$ autogen.sh
Updating Evergreen organization tree and IDL

Updating fieldmapper
Use of uninitialized value in subroutine entry at /usr/lib/x86_64-linux-gnu/perl5/5.22/XML/LibXML.pm line 935.
Empty filename at /usr/local/share/perl/5.22.1/OpenILS/Utils/Fieldmapper.pm line 199.
 -> /openils/var/web/opac/common/js//fmall.js
Updating web_fieldmapper
Use of uninitialized value in subroutine entry at /usr/lib/x86_64-linux-gnu/perl5/5.22/XML/LibXML.pm line 935.
Empty filename at /usr/local/share/perl/5.22.1/OpenILS/Utils/Fieldmapper.pm line 199.
 -> /openils/var/web/opac/common/js//fmcore.js
Updating OrgTree
Use of uninitialized value in subroutine entry at /usr/lib/x86_64-linux-gnu/perl5/5.22/XML/LibXML.pm line 935.
Empty filename at /usr/local/share/perl/5.22.1/OpenILS/Utils/Fieldmapper.pm line 199.
Use of uninitialized value in subroutine entry at /usr/lib/x86_64-linux-gnu/perl5/5.22/XML/LibXML.pm line 935.
Empty filename at /usr/local/share/perl/5.22.1/OpenILS/Utils/Fieldmapper.pm line 199.
Exception: OpenSRF::EX::Session 2021-01-23T21:34:16 OpenSRF::Transport /usr/local/share/perl/5.22.1/OpenSRF/Transport.pm:83 Session Error: <email address hidden>/open-ils.cstore IS NOT CONNECTED TO THE NETWORK!!!

...and running:
/openils/bin/srfsh
srfsh% login <admin-user> <admin-pass>

...with my login receives no data.
I'm using official release tarball downloaded from https://evergreen-ils.org/opensrf-downloads/
Please advise.
Thanks

opensrf@li1830-254:~$ /home/ubuntu/evergreen/Open-ILS/src/support-scripts/settings-tester.pl
1..7
ok 1 - use OpenSRF::Utils::Config;
ok 2 - use UNIVERSAL::require;
ok 3 - use Getopt::Long;
ok 4 - use MARC::Record;
ok 5 - use Net::Domain;
ok 6 - use Locale::Maketext::Lexicon;
ok 7 - use Template::Plugin::POSIX;
LWP::UserAgent version 6.15
XML::LibXML version 2.0123
XML::LibXML::XPathContext version 2.0123
XML::LibXSLT version 1.94
Cache::Memcached version 1.30
Class::DBI version 3.0.17
Class::DBI::AbstractSearch version 0.07
Template version 2.24
DBD::Pg version 3.10.5
Net::Z3950::ZOOM version 1.30
MARC::Record version 2.0.6
MARC::Charset version 1.35
MARC::File::XML version 1.0.3
Text::Aspell version 0.09
CGI version 4.26
DateTime::TimeZone version 1.95
DateTime version 1.21
DateTime::Format::ISO8601 version 0.08
DateTime::Format::Mail version 0.402
Unix::Syslog version 1.1
GD::Graph3d version 0.63
Log::Log4perl version 1.44
Email::Send version 2.201
Text::CSV version 1.33
Text::CSV_XS version 1.21
Excel::Writer::XLSX version 0.86
Tie::IxHash version 1.23
Parse::RecDescent version 1.967013
SRU version 1.01
JSON::XS version 3.01
UUID::Tiny version 1.04
Business::CreditCard version 0.33
Business::OnlinePayment::PayflowPro version 1.01
Net::Z3950::Simple2ZOOM version 1.04

Checking /openils/conf/opensrf_core.xml for Evergreen services:
* OK: Found a public Evergreen service in /openils/conf/opensrf_core.xml

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.
* /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 SIP from telephony section.
* OK SIP from telephony section.
* 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 postgresql version
psql (PostgreSQL) 10.15 (Ubuntu 10.15-1.pgdg16.04+1)

Checking libdbi and libdbi-drivers
libdbi PostgreSQL driver not found in shared library path;
  you may need to edit /etc/ld.so.conf or add an entry to /etc/ld.so.conf.d/
  and run 'ldconfig' as root

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

Revision history for this message
Jason Stephenson (jstephenson) wrote :

<email address hidden>/open-ils.cstore IS NOT CONNECTED TO THE NETWORK!!!

The above usually means one of two things: Either the OpenSRF services are not running, or the configuration for the cstore service, and likely other services that talk to the database, are not configured correctly.

What does `osrf_control -l --diagnostic` output? If none of the services are running, you'll want to start them with `osrf_control -l --start-all`. After that, wait a few seconds and do the diagnostic command again. If some of the services are running, but others are not, you will probably need to run the eg_db_config command to configure the database connections in the opensrf.xml file.

If you can join the #evergreen channel on https://webchat.freenode.net/, you might be able to get some help in real time. The best time to ask questions is during working hours in the US Eastern timezone.

Changed in evergreen:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions