[OPEN-ILS-GENERAL] srfsh% login USER PASSWORD wont authenticate

Howard Canning hcanning at bluehills.org
Sat Mar 7 13:01:36 EST 2015


So the latest is I got it to work for 10 seconds and then it puked.I saw
the website and the client was able to connect temporarily.
Getting this error now:
opensrf at localhost:~$ osrf_control --localhost --start-all
Exception: OpenSRF::EX::Jabber 2015-03-07T17:59:13
OpenSRF::Transport::SlimJabber::Client
/usr/local/share/perl/5.18.2/OpenSRF/Transport/SlimJabber/Client.pm:155
Jabber Exception: Could not open TCP socket to Jabber server:
IO::Socket::INET: connect: Connection refused

..so hopefully someone can advise how to fix that. Maybe a /etc/hosts issue?
Thanks

On Sat, Mar 7, 2015 at 11:26 AM, Howard Canning <hcanning at bluehills.org>
wrote:

> *Assuming my server IP is e.g. 20.21.22.23 and my personal PC IP public
> address is e.g. 50.60.70.80*
>
> I dont quite get the public.localhost thing.
>
> instructions suggest adding:
>
> 127.0.1.2  public.localhost public
> 127.0.1.3 private.localhost private
>
> ...such that /etc/hosts reads:
>
> 127.0.0.1 localhost
> 127.0.1.1       ubuntu
> 127.0.1.2  public.localhost public
> 127.0.1.3 private.localhost private
> # The following lines are desirable for IPv6 capable hosts
> ::1     localhost ip6-localhost ip6-loopback
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
>
> but should I be changing this to
>
> 127.0.0.1 localhost
> 127.0.1.1       ubuntu
> 20.21.22.23  public.localhost public
> 50.60.70.80 private.localhost private
> # The following lines are desirable for IPv6 capable hosts
> ::1     localhost ip6-localhost ip6-loopback
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
> I'm lost.
>
> *Regarding the below...*
>
> ejabberdctl register router private.localhost tempPassword123
>
>
> ejabberdctl register opensrf private.localhost tempPassword123
>
>
> ejabberdctl register router public.localhost tempPassword123
>
>
> ejabberdctl register opensrf public.localhost tempPassword123
>
> ....
>
> Do I need to specify something else for public.localhost and update some
> files someplace? For now I just want to get the basic install working and
> see the Evergreen ILS at e.g. http://20.21.22.23 in my browser.
>
>
>
> Thanks
>
>
>
> On Sat, Mar 7, 2015 at 10:25 AM, Howard Canning <hcanning at bluehills.org>
> wrote:
>
>> Hi all,
>> Thanks for the replies. Ok I started afresh to reduce chances of an error
>> as this is my final attempt hopefully.
>> Attached is my rather OCD/methodical list of ssh commands, logs, osrf
>> diagnostic and the end settings tester I use to install everything. I am
>> installed on Ubuntu 14.04 on using a linode.com server.
>>
>> I use Putty as my SSH client and also monitor file locations using
>> Filezilla. See screenshots of files in filezilla and the etc/host in Putty..
>>
>> I switched out the password btw.
>>
>> This install actually threw no errors so I'm hopeful.
>>
>> I am installing:
>>
>> http://evergreen-ils.org/downloads/opensrf-2.4.0.tar.gz
>>
>> Evergreen Server
>>
>> http://evergreen-ils.org/downloads/Evergreen-ILS-2.7.4.tar.gz
>>
>> Client
>>
>> http://evergreen-ils.org/downloads/evergreen-setup-2.7.4.exe
>>
>>
>>
>> ****
>>
>> *I also get the below when I run autogen.sh (only error):*
>>
>>  opensrf at li904-206:~$ autogen.sh
>> Updating Evergreen organization tree and IDL
>>
>> Updating fieldmapper
>> Empty filename at
>> /usr/local/share/perl/5.18.2/OpenILS/Utils/Fieldmapper.pm line 199.
>>  -> /openils/var/web/opac/common/js//fmall.js
>> Updating web_fieldmapper
>> Empty filename at
>> /usr/local/share/perl/5.18.2/OpenILS/Utils/Fieldmapper.pm line 199.
>>  -> /openils/var/web/opac/common/js//fmcore.js
>> Updating OrgTree
>> Empty filename at
>> /usr/local/share/perl/5.18.2/OpenILS/Utils/Fieldmapper.pm line 199.
>> Empty filename at
>> /usr/local/share/perl/5.18.2/OpenILS/Utils/Fieldmapper.pm line 199.
>> Exception: OpenSRF::EX::Session 2015-03-07T14:40:19 OpenSRF::Transport
>> /usr/local/share/perl/5.18.2/OpenSRF/Transport.pm:83 Session Error:
>> router at private.localhost/open-ils.cstore IS NOT CONNECTED TO THE
>> NETWORK!!!
>>
>>
>> ....which I expect is due to my server IP not being reflected someplace?
>>
>> So if my linode server is running as e.g. IP 21.22.23.24 ...where do I
>> update this in the config files.
>>
>> I ultimately want to login to evergreen at http://21.22.23.24
>>
>>  In Putty "su -" switches me to root if thats ok?
>> "sudo su -" asks me for the sudo password for "user" which isn't set. I
>> created "user" using adduser with default settings.
>>
>> Thanks all for your help!
>>
>>
>> Same attachments on dropbox if not accessible otherwise:
>> https://www.dropbox.com/sh/woa0a4qib8yjtx4/AACDT2p8MdL5QUqHoJ-YoS7Ia?dl=0
>>
>>
>> On Sat, Mar 7, 2015 at 8:29 AM, Chris Sharp <csharp at georgialibraries.org>
>> wrote:
>>
>>> Hi Howard,
>>>
>>> ----- Original Message -----
>>> > From: "Howard Canning" <hcanning at bluehills.org>
>>> > To: "Evergreen Discussion Group" <
>>> open-ils-general at list.georgialibraries.org>
>>> > Sent: Friday, March 6, 2015 9:17:30 PM
>>> > Subject: Re: [OPEN-ILS-GENERAL] srfsh% login USER PASSWORD wont
>>> authenticate
>>> >
>>> > Not having luck with installing Evergreen ILS. Attempted at least 5
>>> long
>>> > comprehensive times with ubuntu 14.04 and 12.04.
>>> > With Ubuntu 12.04 just now
>>> >
>>> > cp Open-ILS/examples/apache/eg.conf       /etc/apache2/sites-available/
>>> > cp Open-ILS/examples/apache/eg_vhost.conf /etc/apache2/
>>> > cp Open-ILS/examples/apache/eg_startup    /etc/apache2/
>>> >
>>> > actually had "in" appended to the ends in their directories...so:
>>> > cp Open-ILS/examples/apache/eg.conf.in
>>>  /etc/apache2/sites-available/
>>> > cp Open-ILS/examples/apache/eg_vhost.conf.in /etc/apache2/
>>> > cp Open-ILS/examples/apache/eg_startup.in    /etc/apache2/
>>> >
>>> > and errors like:
>>> >
>>> > ossible unintended interpolation of @sysconfdir in string at
>>> > Open-ILS/src/support-scripts/eg_db_config line 329.
>>> > Possible unintended interpolation of @sysconfdir in string at
>>> > Open-ILS/src/support-scripts/eg_db_config line 329.
>>> > Global symbol "@sysconfdir" requires explicit package name at
>>> > Open-ILS/src/support-scripts/eg_db_config line 329.
>>> > Global symbol "@sysconfdir" requires explicit package name at
>>> > Open-ILS/src/support-scripts/eg_db_config line 329.
>>> > Execution of Open-ILS/src/support-scripts/eg_db_config aborted due to
>>> > compilation errors.
>>> >
>>> > ************************
>>>
>>> Are you copying these from the source directory from which you built and
>>> installed Evergreen?  The "configure/make/make install" process should be
>>> substituting the actual values for @sysconfdir, etc. and creating the files
>>> described in the installation README.  Sounds like you either missed a step
>>> or or working from more than one source directory.
>>>
>>> >
>>> > Is there a version of OpenSRF, Evergreen, Ubuntu and client that
>>> > install cleanly with a tutorial to go with.
>>> >
>>> > I just keep getting errors thrown despite being methodical. Apache
>>> > restart issues, services not running like  open-ils.auth, apparent
>>> > data corruption....
>>> >
>>> > My luck is out. Would love to see this working.
>>> >
>>> > Thanks
>>>
>>> If what you're after is a running Evergreen system, you might consider
>>> installing from the GPLS archive: http://archive.georgialibraries.org/
>>> It's slightly behind on the version, but still in the 2.7 release family.
>>> It requires a fresh install of Ubuntu 12.04.
>>>
>>> However, if your goal is to successfully get through the installation
>>> instructions, we can help you do that too.  For live help (M-F 9-5
>>> EST/EDT), use the #evergreen IRC channel (
>>> http://evergreen-ils.org/communicate/irc/ for details).  Sometimes
>>> people are around on the weekends too.
>>>
>>> --
>>> Chris Sharp
>>> PINES System Administrator
>>> Georgia Public Library Service
>>> 1800 Century Place, Suite 150
>>> Atlanta, Georgia 30345
>>> (404) 235-7147
>>> csharp at georgialibraries.org
>>> http://pines.georgialibraries.org/
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20150307/65df50f4/attachment.html>


More information about the Open-ils-general mailing list