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/10 10:27] – There may not be tips available at these pages, because all of the info was consolidated here and they were all subsequently deleted dbstroubleshooting:checking_for_errors [2022/02/10 13:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 If you have Evergreen installed and are encountering systematic errors, here is how you might go about troubleshooting and gathering logs for others to troubleshoot.  These instructions assume standard locations and filenames for Evergreen installations, and may also include commands that assume a Debian or Ubuntu Linux operating system. If you have Evergreen installed and are encountering systematic errors, here is how you might go about troubleshooting and gathering logs for others to troubleshoot.  These instructions assume standard locations and filenames for Evergreen installations, and may also include commands that assume a Debian or Ubuntu Linux operating system.
  
-**NOTE:** This content is also available in the Evergreen documentation at http://libdog.mohawkcollege.ca/evergreen_documentation/draft/html/. In github: http://github.com/rsoulliere/Evergreen-DocBook/blob/master/1.6/admin/troubleshooting.xml. +**NOTE:** This content is also available in the Evergreen documentation at http://docs.evergreen-ils.org/1.6/draft/html/. In github: http://github.com/rsoulliere/Evergreen-DocBook/blob/master/1.6/admin/troubleshooting.xml. 
  
 ===== Step 1: Stop all the OpenSRF services, as well as Apache ===== ===== Step 1: Stop all the OpenSRF services, as well as Apache =====
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.1286720845.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.