[OPEN-ILS-DEV] Evergreen Staff Client login network/server fa
ilure
Dan Scott
denials at gmail.com
Wed Jun 11 09:04:37 EDT 2008
Hi Charlene:
You have to become the opensrf user:
# su - opensrf
$ perl settings-tester.pl
It's good news that autogen.sh completed with no errors! Let's see if
settings-tester.pl finds any problems :)
Dan (the other Dan)
2008/6/11 Charlene Woo Ling <cwooling at ttec.co.tt>:
> 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]
> 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
>
> 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
>
> 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
>
>
>
>
>
--
Dan Scott
Laurentian University
More information about the Open-ils-dev
mailing list