[OPEN-ILS-GENERAL] installing Evergreen 1.4.0.2 on ubuntu hardy 8.04 - please help with minor problem‏

Levani EL levaniele at gmail.com
Wed Feb 18 14:47:39 EST 2009


Dear Colleagues

We are installing Evergreen 1.4.0.2 on Ubuntu for ilia Chavchavadze
State University, Tbilisi, Georgia.
We faced some problems. If you would like to help us we will be happy.

We installed Evergreen 1.4.0.2 on Ubuntu hardy according to
instructions. It seems that everything is correct from server side.

./settings-tester.pl script has the following output:


LWP::UserAgent version 2.036
XML::LibXML version 1.69
XML::LibXML::XPathContext version 1.69
XML::LibXSLT version 1.68
Net::Server::PreFork version 0.90
Cache::Memcached version 1.20
Class::DBI version 0.96
Class::DBI::AbstractSearch version 0.07
Template version 2.19
DBD::Pg version 1.49
Net::Z3950::ZOOM version 1.25
MARC::Record version 2.0.0
MARC::Charset version 1.0
MARC::File::XML version 0.88
Text::Aspell version 0.04
CGI version 3.15
DateTime::TimeZone version 0.84
DateTime version 0.4501
DateTime::Format::ISO8601 version 0.06
DateTime::Format::Mail version 0.3001
Unix::Syslog version 1.0
GD::Graph3d version 0.63
JavaScript::SpiderMonkey version 0.19
Log::Log4perl version 1.15
Email::Send version 2.192
Text::CSV_XS version 0.32
Spreadsheet::WriteExcel::Big version 2.20
Tie::IxHash version 1.21
Parse::RecDescent version 1.95.1
SRU version 0.97
JSON::XS version 2.231

Checking Jabber connection
* 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


When we are testing srfsh sending following command we get normal answer:


srfsh# login admin open-ils

Received Data: "970de03e5a191dc6beca165c7b4667a9"

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

Received Data: {
  "ilsevent":0,
  "textcode":"SUCCESS",
  "desc":" ",
  "pid":401,
  "stacktrace":"oils_auth.c:312",
  "payload":{
    "authtoken":"206da61d0d81490ad9421e790d3c8da4",
    "authtime":420.000000
  }
}

------------------------------------
Request Completed Successfully
Request Time in seconds: 0.222424
------------------------------------
Login Session: 206da61d0d81490ad9421e790d3c8da4.  Session timeout: 420.000000


Our .srfsh.xml  file looks like:


opensrf# cat .srfsh.xml
<?xml version="1.0"?>
<!-- This file follows the standard bootstrap config file layout found
in opensrf_core.xml -->
<srfsh>
  <router_name>router</router_name>
  <domain>public.localhost</domain>
  <username>opensrf</username>
  <passwd>pubsrf</passwd>
  <port>5222</port>
  <logfile>/tmp/srfsh.log</logfile>
  <loglevel>3</loglevel>
</srfsh>


But the problem arises when we are trying to connect the Evergreen
Server from staff client. Testing hostname "public.localhost" gets
answer code 200 which means that it's ok, but when I am trying to log
in using username "opensrf" and pass "pubsrf" than arises my problem
notifying me that:

"Login failed Please check your hostname, username, password etc."

Output from server side:


opensrf# cd /home/opensrf/xulrunner/
opensrf#
opensrf#
opensrf#  xulrunner
/home/opensrf/Evergreen-ILS-1.4.0.2/Open-ILS/xul/staff_client/build/application.ini
Loading OpenILS/util_overlay.xul
Loading constants.js
Loaded OpenILS/util_overlay.xul
entering main/main.js
exiting main/main.js
lang.version = remote v1
entering main_init()
entering util/error.js
exiting util/error.js
entering util/sound.js
exiting util/sound.js
-----------------------------------------
1234906831987    delta = 1    D_ERROR
Testing
-----------------------------------------
entering util/window.js
exiting util/window.js
entering auth/controller.js
exiting auth/controller.js
entering OpenILS/data.js
exiting OpenILS/data.js
entering util/network.js
exiting util/network.js
entering util/file.js
exiting util/file.js
file: /home/opensrf/.openils/open_ils_staff_client/evg61nbv.default/chrome/ws_info
-----------------------------------------
1234906832000    delta = 0    D_ERROR
/home/opensrf/.openils/open_ils_staff_client/evg61nbv.default/chrome/ws_info
util.file.get_content(): File does not exist.
-----------------------------------------
-----------------------------------------
1234906832000    delta = 0    D_ERROR
/home/opensrf/.openils/open_ils_staff_client/evg61nbv.default/chrome/ws_info
util.file.get_object(): File does not exist.
-----------------------------------------
-----------------------------------------
1234906832001    delta = 7    D_DATA_STASH
stashing ws_info : [object Object] = [object Object]

-----------------------------------------
entering util/controller.js
exiting util/controller.js
entering auth/session.js
exiting auth/session.js
entering util/widgets.js
exiting util/widgets.js
file: /home/opensrf/.openils/open_ils_staff_client/evg61nbv.default/chrome/last_ws_server
entering util/mozilla.js
exiting util/mozilla.js
file: /home/opensrf/Evergreen-ILS-1.4.0.2/Open-ILS/xul/staff_client/build/chrome/open_ils_staff_client/content/conf/ws_info
exiting main_init()
server url = https://public.localhost
version url = https://public.localhost/xul/rel_1_4_0_2/server/
-----------------------------------------
1234906853951    delta = 21960    D_AUTH
login with opensrf and pubsrf at public.localhost
-----------------------------------------
-----------------------------------------
1234906853952    delta = 1    D_AUTH
auth.controller.session.on_init = auth.controller.on_login

-----------------------------------------
-----------------------------------------
1234906853952    delta = 21947    D_SES
_request open-ils.auth open-ils.auth.authenticate.init "opensrf"
override_params = undefined
_params = undefined
Result #1 synced
-----------------------------------------
-----------------------------------------
1234906853959    delta = 7    D_SES_RESULT
synced result #1

"910863fc97915689884140ff92e6a9e0"

Original Request:

request open-ils.auth open-ils.auth.authenticate.init "opensrf"
-----------------------------------------
-----------------------------------------
1234906853963    delta = 4    D_SES
_request open-ils.auth open-ils.auth.authenticate.complete
{
    "username":"opensrf",
    "password":"fc5d3cee9509a06c9a68d0bbe9fc9567",
    "type":"temp"
}

override_params = undefined
_params = [object Object]
Result #2 synced
-----------------------------------------
-----------------------------------------
1234906853974    delta = 11    D_SES_RESULT
synced result #2


{
    "ilsevent":1217,
    "textcode":"PATRON_INACTIVE",
    "desc":"This account is marked as inactive",
    "pid":6793,
    "stacktrace":"oils_auth.c:417"
}


Original Request:

request open-ils.auth open-ils.auth.authenticate.complete
{"username":"opensrf","password":"fc5d3cee9509a06c9a68d0bbe9fc9567","type":"temp"}
-----------------------------------------
-----------------------------------------
1234906855792    delta = 23787    D_AUTH
auth.session.on_error()

-----------------------------------------
-----------------------------------------
1234906855792    delta = 1840    D_AUTH
logoff[object ChromeWindow]

-----------------------------------------
-----------------------------------------
1234906855795    delta = 3    D_AUTH
auth.session.close()

-----------------------------------------
-----------------------------------------
1234906857319    delta = 1527    D_AUTH
logoff[object ChromeWindow]

-----------------------------------------
-----------------------------------------
1234906857320    delta = 1525    D_AUTH
auth.session.close()

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



How could we connect to the server without this problem? What we are
doing wrongly?


More information about the Open-ils-general mailing list