[OPEN-ILS-DEV] Evergreen Staff Client login network/server fa
ilure
Charlene Woo Ling
cwooling at ttec.co.tt
Wed Jun 11 09:20:01 EDT 2008
Ok, I checked how to run the pl script and this is the following output: I
remember that one of the problems I was getting before required me to change
PG to pgsql. What should I do now?
thanks,
Charlene
user at pc2665ubuntu:/openils/bin$ <mailto:user at pc2665ubuntu:/openils/bin$>
sudo cp settings-tester.pl /openils/lib/perl5/
user at pc2665ubuntu:/openils/bin$ <mailto:user at pc2665ubuntu:/openils/bin$>
sudo -u opensrf env PERL5LIB=/openils/lib/perl5/ perl ./settings-tester.pl
LWP::UserAgent version 2.033
XML::LibXML version 1.59
Please install XML::LibXML::XPathContext
XML::LibXSLT version 1.59
Net::Server::PreFork version 0.94
Cache::Memcached version 1.18
Class::DBI version 3.000015
Class::DBI::AbstractSearch version 0.070
Template version 2.140
DBD::Pg version 1.490
Net::Z3950 version 0.510
MARC::Record version 2.000000
MARC::Charset version 0.980
MARC::File::XML version 0.880
Text::Aspell version 0.040
CGI version 3.150
DateTime::TimeZone version 0.420
DateTime version 0.350
DateTime::Format::ISO8601 version 0.060
Unix::Syslog version 0.100
GD::Graph3d version 0.630
JavaScript::SpiderMonkey version 0.170
Log::Log4perl version 1.070
Email::Send version 2.183
Text::CSV_XS version 0.230
Please install Spreadsheet::WriteExcel::Big
Please install Tie::IxHash
Parse::RecDescent version 1.940
Please install SRU
Checking Jabber connection
* Jabber successfully connected
Checking database connections
* WARNING: Deprecated <password> element used for the <reporter> entry.
Please use <pw> instead.
* /opensrf/default/reporter/setup :: Successfully connected to database
dbi:Pg:dbname=evergreen;host=pc2665ubuntu.ttec.co.tt;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=pc2665ubuntu.ttec.co.tt;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=pc2665ubuntu.ttec.co.tt;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=pc2665ubuntu.ttec.co.tt;port=5432
* Database has the expected server encoding UTF8.
Checking database drivers to ensure <driver> matches <language>
* ERROR: reporter application must use driver 'Pg', but 'pgsql' is defined
* ERROR: reporter application must use driver 'Pg', but 'pgsql' is defined
* ERROR: pgsql language is perl in
/opensrf/default/apps/open-ils.storage/language
* ERROR: pgsql 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
Checking hostname
* OK: found hostname 'pc2665ubuntu.ttec.co.tt' in <hosts> section of
opensrf.xml
user at pc2665ubuntu:/openils/bin$ <mailto:user at pc2665ubuntu:/openils/bin$>
-----Original Message-----
From: Charlene Woo Ling
Sent: Wednesday, June 11, 2008 8:49 AM
To: 'dbw2 at calvin.edu'; 'open-ils-dev at list.georgialibraries.org'
Subject: RE: [OPEN-ILS-DEV] Evergreen Staff Client login network/server
failure
Hello Dan
Thank you for your quick response! I am new at ubuntu and opensource so I am
not too sure exactly how to run the pl file. I made the changes you told me.
I copied the settings-tester.pl in the /openils/bin directory and at command
line i typed: perl settings-tester.pl
root at pc2665ubuntu:/openils/bin# perl settings-tester.pl
Please ensure that /openils/lib/perl5 is in your PERL5LIB environment
variable.
You must run this script as the 'opensrf' user.
BEGIN failed--compilation aborted at settings-tester.pl line 18.
My autogen.sh gave no problems. see below. Thanks again,
Charlene
root at pc2665ubuntu:/openils/bin# sudo -u opensrf /openils/bin/osrf_ctl.sh -c
/openils/conf/opensrf_core.xml -a start_all
OpenSRF Router already started : 9376 12864
OpenSRF Perl already started : 9409 12873
OpenSRF C (host=pc2665ubuntu.ttec.co.tt) already started : 9463 12907 12910
12911 12918
root at pc2665ubuntu:/openils/bin# sudo /etc/init.d/apache2 start
* Starting web server (apache2)...
httpd (pid 28500) already running
[ OK ]
root at pc2665ubuntu:/openils/bin# sudo -u opensrf ./autogen.sh
/openils/conf/opensrf_core.xml
Updating fieldmapper
Updating web_fieldmapper
Updating OrgTree
removing OrgTree from the cache...
Updating OrgTree HTML
Done
root at pc2665ubuntu:/openils/bin#
-----Original Message-----
From: Dan Wells [ mailto:dbw2 at calvin.edu <mailto:dbw2 at calvin.edu> ]
Sent: Tuesday, June 10, 2008 4:31 PM
To: 'open-ils-dev at list.georgialibraries.org'
Subject: Re: [OPEN-ILS-DEV] Evergreen Staff Client login network/server
failure
Hello Charlene,
I have definitely seen a similar JSON error when I left out a couple Perl
module dependancies. Try running this script:
http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/src/support-scripts/
settings-tester.pl
<http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/src/support-scripts
/settings-tester.pl>
and let us know the results, or simply try to install any Perl modules it
finds to be missing (double-check the prerequisites on that wiki page).
Since you are running 1.2.2.0, you will need to change one line in this
script:
Change this line:
my $j_domain = $conf->bootstrap->domain;
to this line:
my $j_domain = $conf->bootstrap->domains->[0];
Does autogen run completely without errors?
Good luck,
DW
>>> Charlene Woo Ling <cwooling at ttec.co.tt> 6/10/2008 1:22 PM >>>
Hi
Just to give some more details with the installation:
my fqdn and hostname resolves, ejabberd is up and running, postgresql is up,
apache is up
I have attached all the config files I needed to change below.
Thanks again for your help
Sincerely
Charlene
----------------------------------------------------------------------------
-------------------
Hi
I have installed Evergreen ILS 1.2.2.0 on Ubuntu 7.04 based on the
instructions given at
http://open-ils.org/dokuwiki/doku.php?id=installing_evergreen_on_ubuntu_7.04
<http://open-ils.org/dokuwiki/doku.php?id=installing_evergreen_on_ubuntu_7.0
4>
Everything more or less ran fine except on the last lap when i started up
the client xulrunner application.ini The host name resolved and tested fine
but when I try to login using user name admin and password open-ils it gave
the network failure problem.
When I access the web interface I get the JSON error.
for the fqdn I use pc2665ubuntu.ttec.co.tt and for the hostname I put the
domain name so both the fqdn and hostname are the same.
perl -MNet::Domain=hostfqdn -e "print hostfqdn();"
'hostname -f'
I have double and triple check my config files where the user name and
password needs to be changed but I cannot see any error. I checked various
formums for resolving the error but I still cannot get through.
It has been a long time I have been fighting up with this problem. Can
anybody HELP ?
Thanks a mil
Charlene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.georgialibraries.org/pipermail/open-ils-dev/attachments/20080611/bb6b6b9d/attachment-0001.html
More information about the Open-ils-dev
mailing list