[Evergreen-general] [EXTERNAL] srfsh login not working

Blake Henderson blake at mobiusconsortium.org
Wed Oct 20 11:51:06 EDT 2021


Martin,

Making a test server can be fairly automated these days. All of the 
install steps have been implemented using Ansible scripts. FWIW:

# Use the latest ansible version for Ubuntu
sudo apt-get install software-properties-common # sometimes necessary
sudo apt-add-repository ppa:ansible/ansible
sudo apt-get update
sudo apt-get install git ansible
git clone --branch ubuntu-18.04 \
https://github.com/berick/evergreen-ansible-installer.git
cd evergreen-ansible-installer
sudo ansible-playbook playbook.yml


Or you can install the containerized test server (thereby not altering 
your system, but instead installing an image). Documentation here: 
https://hub.docker.com/r/mobiusoffice/evergreen-ils

But the command is:

docker run -it -p 80:80 -p 443:443 -p 210:210 -p 6001:6001 -p 32:22 -p 
5433:5432 -h app.evergreen.com mobiusoffice/evergreen-ils

This assumes you have docker installed on your system.

-Blake-
Conducting Magic
Can consume data in any format
MOBIUS

On 10/20/2021 10:02 AM, Martin House via Evergreen-general wrote:
> Thank you so much. I will try your suggestions. Thank you very much 
> for your response. I'd love to get a test version of this up and running.
>
> Martin
>
> On Wed, Oct 20, 2021 at 10:17 AM Jason Boyer <JBoyer at equinoxoli.org> 
> wrote:
>
>     That error implies that something is wrong with either the
>     ejabberd config or the username / passwords for the ejabberd users
>     in opensrf_core.xml, or potentially the database configuration for
>     the service(s) logging that error.
>
>     Some things to check:
>     Is auth_password_format set to plain in the ejabberd config and
>     was ejabberd restarted after that change?
>     Were the 4 ejabberd users registered after the password format
>     change or before?
>     Do the ejabberd user names and passwords in opensrf_core.xml match
>     the values you used when registering the users?
>     Do *all* of the database configuration sections in opensrf.xml
>     match the values for the Postgres user that you created? (If you
>     used the --update-config option to eg_db_config then that should
>     already be the case)
>     Did you restart PostgreSQL after changing any values in
>     postgresql.conf or pg_hba.conf?
>     Can you connect to the database with psql using the username and
>     password you used for Evergreen?
>
>
>     -- 
>     Jason Boyer
>     Senior System Administrator
>     Equinox Open Library Initiative
>     JBoyer at equinoxOLI.org
>     +1 (877) Open-ILS (673-6457)
>     https://equinoxOLI.org/
>     <https://urldefense.proofpoint.com/v2/url?u=https-3A__equinoxOLI.org_&d=DwQFaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=asPu8BnzxbdZtaAWrtV9i_MG0ptUS6iJkGlpfGB3wOPVG5BJhaz3dowi3p4pgrxX&s=mG8djDSFT7hJm8Fq173IC3RA0wBx_VvpduqM3gETBAQ&e=>
>
>>     On Oct 20, 2021, at 9:17 AM, Martin House <martin.house at cpcc.edu>
>>     wrote:
>>
>>     Morning,
>>     Thanks for your response Jason. I do have Evergreen installed,
>>     but noticed last night that when I try to run it is says that my
>>     server is not connected to a network. I wonder if that is the
>>     problem? I have gone through all the steps in the ReadMe for both
>>     opensrf and the Evergreen server install, so I feel a bit stuck
>>     right now.
>>
>>     Thanks,
>>
>>     Martin
>>
>>     On Wed, Oct 20, 2021 at 8:55 AM Jason Boyer
>>     <JBoyer at equinoxoli.org> wrote:
>>
>>         Hi Martin, have you also installed Evergreen at this point
>>         and followed all of the configuration steps as part of those
>>         instructions? The opensrf.xml and opensrf_core.xml files for
>>         Evergreen are significantly expanded on the versions included
>>         in opensrf itself. If Evergreen isn’t yet installed and its
>>         services running there’s nothing included in the base opensrf
>>         install that can be logged in to.
>>
>>         Jason
>>
>>         -- 
>>         Jason Boyer
>>         Senior System Administrator
>>         Equinox Open Library Initiative
>>         JBoyer at equinoxOLI.org
>>         +1 (877) Open-ILS (673-6457)
>>         https://equinoxOLI.org/
>>         <https://urldefense.proofpoint.com/v2/url?u=https-3A__equinoxOLI.org_&d=DwQFaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=6nfXHcORzrD-CJ4ngSV7Jms-VhM-nXCT_dws1anlfCusv7L9Ws5qHUEi6pp0Krp1&s=6_waXRJ77HkuHcUVBDMwSs9US2_YONE05ss49i43gUM&e=>
>>
>>>         On Oct 19, 2021, at 7:54 PM, Martin House via
>>>         Evergreen-general <evergreen-general at list.evergreen-ils.org>
>>>         wrote:
>>>
>>>         Hi Everyone,
>>>         I could use some troubleshooting help. After much tinkering
>>>         with the install on my VirtualBox running Ubuntu 18.4, I was
>>>         able to get opensrf to work and have been successful with
>>>         the installation instructions up to where I need to login to
>>>         srfsh using the egadmin and password.
>>>
>>>         When I ran the perl script it was my understanding that the
>>>         <admin-user> and <admin-password> I entered for egadmin
>>>         would generate that user, but now I'm not certain it did.
>>>
>>>         I would appreciate some troubleshooting tips. While I found
>>>         some, they were from 1.6, and I don't think that these will
>>>         work.
>>>
>>>         The error message I receive is that I cannot login using
>>>         egadmin.
>>>
>>>         I'd appreciate any suggestions on how to fix this.
>>>
>>>         Sincerely,
>>>
>>>         Martin
>>>
>>>         -- 
>>>         *Martin House, Ed.D*
>>>         Assistant Director, Public Services
>>>         Library
>>>         Central Piedmont Community College
>>>         Library, Central Campus
>>>         P.O. Box 35009 Charlotte, NC 28235
>>>         *t *704.330.6752 |
>>>         cpcc.edu <http://www.cpcc.edu/>
>>>         _______________________________________________
>>>         Evergreen-general mailing list
>>>         Evergreen-general at list.evergreen-ils.org
>>>         http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general
>>>         <https://urldefense.proofpoint.com/v2/url?u=http-3A__list.evergreen-2Dils.org_cgi-2Dbin_mailman_listinfo_evergreen-2Dgeneral&d=DwQFaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=6nfXHcORzrD-CJ4ngSV7Jms-VhM-nXCT_dws1anlfCusv7L9Ws5qHUEi6pp0Krp1&s=g2xAu5ysaYiAwfzHDpR1AP1oxEv9gViSp6-JK7Yf79s&e=>
>>
>>
>>
>>     -- 
>>     *Martin House, Ed.D*
>>     Assistant Director, Public Services
>>     Library
>>     Central Piedmont Community College
>>     Library, Central Campus
>>     P.O. Box 35009 Charlotte, NC 28235
>>     *t *704.330.6752 |
>>     cpcc.edu <http://www.cpcc.edu/>
>
>
>
> -- 
> *Martin House, Ed.D*
> Assistant Director, Public Services
> Library
> Central Piedmont Community College
> Library, Central Campus
> P.O. Box 35009 Charlotte, NC 28235
> *t *704.330.6752 |
> cpcc.edu <http://www.cpcc.edu/>
>
> _______________________________________________
> Evergreen-general mailing list
> Evergreen-general at list.evergreen-ils.org
> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.evergreen-ils.org/pipermail/evergreen-general/attachments/20211020/6239f078/attachment-0001.html>


More information about the Evergreen-general mailing list