[OPEN-ILS-DEV] Open-ils-dev Digest, Vol 79, Issue 7

Larry W Arnold arnold at wvlc.lib.wv.us
Sun Oct 14 09:16:20 EDT 2012


Chris,

Thank you for the troubleshooting link - I should have tried it before my
initial contact.

I have followed the troubleshooting procedure as per the instructions and
"Bombed" at step 9 as follows:
opensrf at eg-test:~$ srfsh
srfsh# login admin open-ils

Received Data: "0bc600d1a3da01b16e102fa63f2c77be"

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

Received Data: {
  "ilsevent":1000,
  "textcode":"LOGIN_FAILED",
  "desc":"User login failed",
  "pid":2713,
  "stacktrace":"oils_auth.c:596"
}

------------------------------------
Request Completed Successfully
Request Time in seconds: 0.015721
------------------------------------
Login Session: (none).  Session timeout: 0.000000
----------------------------------------------------------------------------
----------------------------------------------------------------
If I attempt to login using my egadmin account I get success as follows:
opensrf at eg-test:~$ srfsh
srfsh# login egadmin egadmin

Received Data: "c7dba4da8811043445a24e5395d595e0"

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

Received Data: {
  "ilsevent":0,
  "textcode":"SUCCESS",
  "desc":"Success",
  "pid":2713,
  "stacktrace":"oils_auth.c:523",
  "payload":{
    "authtoken":"fdb02acf251bd887ff953fd2b8820c4b",
    "authtime":420
  }
}

------------------------------------
Request Completed Successfully
Request Time in seconds: 0.381639
------------------------------------
Login Session: fdb02acf251bd887ff953fd2b8820c4b.  Session timeout:
420.000000
----------------------------------------------------------------------------
--------------------------------------

The requested log files have been attached for the exception of a router log
which does not exist.
PS.  I can't authenticate using the staff client with the Linux accounts for
"opensrf" or the user account "larry".
There is an OPAC running but I see no way to use it for authentication.


Thank You,
Larry Arnold
WVLC UNIX Admin.



-----Original Message-----
From: open-ils-dev-bounces at list.georgialibraries.org
[mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of
open-ils-dev-request at list.georgialibraries.org
Sent: Thursday, October 11, 2012 12:00 PM
To: open-ils-dev at list.georgialibraries.org
Subject: Open-ils-dev Digest, Vol 79, Issue 7

Send Open-ils-dev mailing list submissions to
	open-ils-dev at list.georgialibraries.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://libmail.georgialibraries.org/mailman/listinfo/open-ils-dev
or, via email, send a message with subject or body 'help' to
	open-ils-dev-request at list.georgialibraries.org

You can reach the person managing the list at
	open-ils-dev-owner at list.georgialibraries.org

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Open-ils-dev digest..."


Today's Topics:

   1. Re: ***SPAM*** Request for installation assistance (Sharp, Chris)
   2. Re: Request for installation assistance (Dan Scott)


----------------------------------------------------------------------

Message: 1
Date: Thu, 11 Oct 2012 10:10:08 -0400 (EDT)
From: "Sharp, Chris" <csharp at georgialibraries.org>
Subject: Re: [OPEN-ILS-DEV] ***SPAM*** Request for installation
	assistance
To: Evergreen Development Discussion List
	<open-ils-dev at list.georgialibraries.org>
Message-ID:
	
<641565510.3560140.1349964608366.JavaMail.root at hagrid.georgialibraries.org>
	
Content-Type: text/plain; charset=utf-8

Hi Larry,

I recommend you follow the steps for troubleshooting at this link:

http://evergreen-ils.org/dokuwiki/doku.php?id=troubleshooting:checking_for_e
rrors

Then feel free to report back any problems you encounter from there.

Hope that helps,

Chris

----- Original Message -----
> From: "Larry W Arnold" <arnold at wvlc.lib.wv.us>
> To: open-ils-dev at list.georgialibraries.org
> Sent: Thursday, October 11, 2012 8:39:34 AM
> Subject: [OPEN-ILS-DEV] ***SPAM*** Request for installation assistance
> 
> 
> 
> Hello,
> 
> I hope I am posting to the correct listserv list, if not please 
> advise.
> 
> I have installed Evergreen 2.2 on a Ubuntu 10.04.4 server , and while 
> the installation was smooth, I have encountered problems probably 
> related to configuration (Network or Hostname ??).
> 
> Any guidance or assistance is much appreciated
> 
> 
> 
> Larry Arnold
> 
> UNIX Admin. West Virginia Library Commission
> 
> SVR4-CSA ? RHSA - RHCT
> 
> When I run autogen.sh to boot-strap Opensrf I get the following:
> 
> opensrf at eg-test:~$ autogen.sh
> 
> Updating Evergreen organization tree and IDL
> 
> Updating fieldmapper
> 
> Exception: OpenSRF::EX::Session 2012-10-11T07:49:17 
> OpenILS::Utils::Cronscript /
> usr/local/share/perl/5.10.1/OpenILS/Utils/Cronscript.pm:276 Session
> Error: route r at private.localhost/opensrf.settings IS NOT CONNECTED TO 
> THE NETWORK!!!
> 
> -> /openils/var/web/opac/common/js//fmall.js
> 
> Updating web_fieldmapper
> 
> Exception: OpenSRF::EX::Session 2012-10-11T07:49:18 
> OpenILS::Utils::Cronscript /
> usr/local/share/perl/5.10.1/OpenILS/Utils/Cronscript.pm:276 Session
> Error: route r at private.localhost/opensrf.settings IS NOT CONNECTED TO 
> THE NETWORK!!!
> 
> -> /openils/var/web/opac/common/js//fmcore.js
> 
> Updating OrgTree
> 
> Exception: OpenSRF::EX::Session 2012-10-11T07:49:19 
> OpenILS::Utils::Cronscript /
> usr/local/share/perl/5.10.1/OpenILS/Utils/Cronscript.pm:276 Session
> Error: route r at private.localhost/opensrf.settings IS NOT CONNECTED TO 
> THE NETWORK!!!
> 
> Exception: OpenSRF::EX::Session 2012-10-11T07:49:19 
> OpenILS::Utils::Cronscript /
> usr/local/share/perl/5.10.1/OpenILS/Utils/Cronscript.pm:276 Session
> Error: route r at private.localhost/opensrf.settings IS NOT CONNECTED TO 
> THE NETWORK!!!
> 
> Exception: OpenSRF::EX::Session 2012-10-11T07:49:19 
> OpenSRF::Utils::SettingsClie nt
> /usr/local/share/perl/5.10.1/OpenSRF/Utils/SettingsClient.pm:103
> Session Erro r: router at private.localhost/opensrf.settings IS NOT 
> CONNECTED TO THE NETWORK!!!
> 
> 
> 
> I then ran settings-tester.pl with the following result:
> 
> 
> 
> opensrf at eg-test:~$ settings-tester.pl
> 
> settings-tester.pl: command not found
> 
> opensrf at eg-test:~$
> /home/larry/Evergreen-ILS-2.2.2/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 5.834
> 
> XML::LibXML version 1.70
> 
> XML::LibXML::XPathContext version 1.70
> 
> XML::LibXSLT version 1.70
> 
> Net::Server::PreFork version 0.97
> 
> Cache::Memcached version 1.28
> 
> Class::DBI version 3.0.17
> 
> Class::DBI::AbstractSearch version 0.07
> 
> Template version 2.20
> 
> DBD::Pg version 2.16.1
> 
> Net::Z3950::ZOOM version 1.25
> 
> MARC::Record version 2.0.3
> 
> MARC::Charset version 1.1
> 
> MARC:: File::XML version 0.92
> 
> Text::Aspell version 0.04
> 
> CGI version 3.43
> 
> DateTime::TimeZone version 1.10
> 
> DateTime version 0.52
> 
> 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.21
> 
> Log::Log4perl version 1.26
> 
> Email::Send version 2.198
> 
> Text::CSV version 1.16
> 
> Text::CSV_XS version 0.70
> 
> Spreadsheet::WriteExcel::Big version 2.36
> 
> Tie::IxHash version 1.21
> 
> Parse::RecDescent version 1.963
> 
> SRU version 0.99
> 
> JSON::XS version 2.27
> 
> UUID::Tiny version 1.03
> 
> Business::CreditCard::Object version 1.00
> 
> 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
> 
> Use of uninitialized value $@ in concatenation (.) or string at 
> /usr/local/share/perl/5.10.1/OpenSRF/Transport/SlimJabber/Client.pm
> line 157, <DATA> line 35.
> 
> * Error connecting to jabber:
> 
> SCALAR(0x2528538)
> 
> 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) 9.1.6
> 
> contains support for command-line editing
> 
> 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
> 
> 
> 
> Contents of /etc/hosts file:
> 
> root at eg-test:~# cat /etc/hosts
> 
> 127.0.0.1 localhost.localdomain localhost
> 
> 127.0.1.1 larry-desktop
> 
> 10.99.187.49 eg-test eg-test.wvlc.lib.wv. us
> 
> # The following lines are desirable for IPv6 capable hosts
> 
> ::1 localhost ip6-localhost ip6-loopback
> 
> fe00::0 ip6-localnet
> 
> ff00::0 ip6-mcastprefix
> 
> ff02::1 ip6-allnodes
> 
> ff02::2 ip6-allrouters
> 
> ff02::3 ip6-allhosts
> 
> 127.0.1.2 public.localhost
> 
> 127.0.1.3 private.localhost
> 
> root at eg-test:~# hostname
> 
> eg-test.wvlc.lib.wv.us
> 
> 
> 
> 
> 
> 

--
Chris Sharp
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, Georgia 30345
(404) 235-7147
csharp at georgialibraries.org
http://pines.georgialibraries.org/


------------------------------

Message: 2
Date: Thu, 11 Oct 2012 11:17:25 -0400
From: Dan Scott <dan at coffeecode.net>
Subject: Re: [OPEN-ILS-DEV] Request for installation assistance
To: Evergreen Development Discussion List
	<open-ils-dev at list.georgialibraries.org>
Message-ID: <20121011151723.GA18296 at denials.laurentian.ca>
Content-Type: text/plain; charset=us-ascii

Hi Larry:

On Thu, Oct 11, 2012 at 08:39:34AM -0400, Larry W Arnold wrote:
> Hello,
> 
> I hope I am posting to the correct listserv list, if not please advise.

Thanks for posting to the Evergreen dev list, it's a reasonable spot to
ask for technical assistance, and you've given us a lot of useful debug
info; I'll see if I can offer any help inline below:

> I have installed Evergreen 2.2 on a Ubuntu 10.04.4 server, and while the
> installation was smooth, I have encountered problems probably related to
> configuration (Network or Hostname ??).
> 
> Any guidance or assistance is much appreciated
> 
> When I run autogen.sh to boot-strap Opensrf I get the following:
> opensrf at eg-test:~$ autogen.sh
> Updating Evergreen organization tree and IDL
> 
> Updating fieldmapper
> Exception: OpenSRF::EX::Session 2012-10-11T07:49:17
> OpenILS::Utils::Cronscript /
> usr/local/share/perl/5.10.1/OpenILS/Utils/Cronscript.pm:276 Session Error:
> route
> r at private.localhost/opensrf.settings IS NOT CONNECTED TO THE NETWORK!!!

<snip>

Okay, we see that fairly frequently, and it's often an authentication
problem with one or more of the ejabberd users.

> I then ran settings-tester.pl with the following result:
> 
> opensrf at eg-test:~$
>
/home/larry/Evergreen-ILS-2.2.2/Open-ILS/src/support-scripts/settings-tester
> .pl

Cool. This script is getting long in the tooth but occasionally provides
useful feedback, such as...

> 1..7
> ok 1 - use OpenSRF::Utils::Config;

<snip>
 
> Checking Jabber connection for user opensrf, domain public.localhost
> Use of uninitialized value $@ in concatenation (.) or string at
> /usr/local/share/perl/5.10.1/OpenSRF/Transport/SlimJabber/Client.pm line
> 157, <DATA> line 35.
> * Error connecting to jabber:
> SCALAR(0x2528538)

Aha - I'm pretty sure this indicates (clumsily!) that the opensrf user
was unable to connect to to the public.localhost ejabberd domain with
the credentials you supplied. Double-check opensrf_core.xml for a typo
in the password, or remove and reregister the opensrf at public.localhost
user with the same password.

(Also note that ejabberd sadly doesn't deal with special shell
characters in passwords, so avoid $ and @ and the like...)

Good luck!


End of Open-ils-dev Digest, Vol 79, Issue 7
*******************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: srfsh.log
Type: application/octet-stream
Size: 7957 bytes
Desc: not available
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20121014/065e6c4a/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .srfsh.xml
Type: text/xml
Size: 382 bytes
Desc: not available
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20121014/065e6c4a/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensrf.xml
Type: text/xml
Size: 57556 bytes
Desc: not available
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20121014/065e6c4a/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensrf_core.xml
Type: text/xml
Size: 5582 bytes
Desc: not available
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20121014/065e6c4a/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osrfsys.log
Type: application/octet-stream
Size: 11240212 bytes
Desc: not available
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20121014/065e6c4a/attachment-0003.obj>


More information about the Open-ils-dev mailing list