User Tools

Site Tools


troubleshooting:checking_for_errors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
troubleshooting:checking_for_errors [2010/10/20 12:38] rsoullieretroubleshooting:checking_for_errors [2022/02/10 13:34] (current) – external edit 127.0.0.1
Line 474: Line 474:
 ~/.srfsh.xml ~/.srfsh.xml
 </code> </code>
-Assuming you have a srfsh prompt, enter this command:+Assuming you have a srfsh prompt, try logging in, **substituting the admin account credentials you created during the install process** into the following command:
 <code> <code>
-login admin open-ils+login myAdminUsername myAdminPassword
 </code> </code>
 You should see output similar to this: You should see output similar to this:
Line 576: Line 576:
 ===== Step 12: Try to authenticate with the OPAC ===== ===== Step 12: Try to authenticate with the OPAC =====
    
 +===== Bonus Step: Checking Ejabberd Account Credentials =====
  
 +You may have an ejabberd account problem, if you see an error like:
  
 +<code>
 +Checking Jabber connection for user router, domain public.localhost
 +Use of uninitialized value $@ in concatenation (.) or string at /usr/local/share/perl/5.10.1/OpenSRF/Transport/SlimJabber/Client.pm line 147, <DATA> line 35.
 +* Error connecting to jabber:
 +SCALAR(0x1244e20)
 +</code>
 +
 +Verify that the username/password combinations are set correctly in opensrf_core.xml, but you can also check with ejabberd to make sure that they were setup correctly in the first place.
 +
 +As root:
 +
 +<code>
 +ejabberdctl check_password <user> <host> <password>; echo $?
 +</code>
 +
 +If the result is 0, then things are fine with that username/password on the given host.  If the result is 1, then the credentials are not working.
 +
 +You can change your ejabberd password with:
 +
 +<code>
 +ejabberdctl change_password <user> <host> <new_password>
 +</code>
troubleshooting/checking_for_errors.1287592732.txt.gz · Last modified: 2022/02/10 13:33 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.