<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi, Tim<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">You mentioned that this is a test setup. Are you setting up everything on one server (database, evergreen, ejabberd, etc.?), or are you putting some components onto separate servers?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">If everything’s on one server (which should be the case, if you’ve been following right along with the install docs), you shouldn’t have to mess around with pg_hba.conf since everything is happening locally.
 I know that I’ve messed up my setup when I tried playing around with pg_hba.conf, so I try to avoid doing that. Mine is using /32, everything local, so it shouldn’t be a matter of opening up the local subnet.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">In that auth error, it looks like you’re trying the username ‘root’. Is that so? Make sure you’re using the admin-user and admin-pass that you set up when you were creating the evergreen database:
<a href="http://docs.evergreen-ils.org/2.5/_creating_the_evergreen_database.html#_creating_the_evergreen_database_and_schema">
http://docs.evergreen-ils.org/2.5/_creating_the_evergreen_database.html#_creating_the_evergreen_database_and_schema</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Would you mind sending along the ejabberd log file /var/log/ejabberd/ejabberd.log? Based on your original message, it strikes me as something with ejabberd (granted, I’m not the foremost authority on this stuff
 haha)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D">Thanks!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Elliot J. Voris<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Alexander Tim [mailto:TAlexander@triley.co.uk] <br>
<b>Sent:</b> 11 February, 2014 10:29<br>
<b>To:</b> Elliot Voris<br>
<b>Subject:</b> RE: [Evergreen-admin] Fresh 2.5.2 install error connecting via Staff Client (Windows)<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">Dear Elliot,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">Thanks for that.  I have gone through and all seems to be correct.  I have actually managed to get a step further by opening up the restrictions for connections to the database (had /24 not /16 in
 the address of pg_hba.conf.  I am now getting auth errors from the client like so:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">method=open-ils.auth.authenticate.complete<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">params=[{"username":"root","type":"temp","agent":"staffclient","password":"3c871099452d006e10b1ac370d115200"}]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">THROWN:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">{"payload":[],"debug":"osrfMethodException : No authentication seed found. open-ils.auth.authenticate.init must be called first  (check that memcached is running and can be connected to) ","status":404}<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">STATUS:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">Not really sure what could be causing this except maybe some kind of permissions issue per chance?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">Tim<o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
</span><a href="mailto:evergreen-admin-bounces@list.evergreen-ils.org"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">evergreen-admin-bounces@list.evergreen-ils.org</span></a><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
 [</span><a href="mailto:evergreen-admin-bounces@list.evergreen-ils.org"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">mailto:evergreen-admin-bounces@list.evergreen-ils.org</span></a><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">]
<b>On Behalf Of </b>Elliot Voris<br>
<b>Sent:</b> 11 February 2014 16:24<br>
<b>To:</b> </span><a href="mailto:evergreen-admin@list.evergreen-ils.org"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">evergreen-admin@list.evergreen-ils.org</span></a><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br>
<b>Subject:</b> Re: [Evergreen-admin] Fresh 2.5.2 install error connecting via Staff Client (Windows)<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Hey, Tim<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">In opensrf_core.xml there should be four (4) passwords that you’ll have to examine:
</span><a href="mailto:opensrf@private.localhost">opensrf@private.localhost</a><span style="color:#1F497D">,
</span><a href="mailto:opensrf@public.localhost">opensrf@public.localhost</a><span style="color:#1F497D">,
</span><a href="mailto:router@private.localhost">router@private.localhost</a><span style="color:#1F497D">, and
</span><a href="mailto:router@public.localhost">router@public.localhost</a><span style="color:#1F497D">, respectively. The default provided is ‘password’ for those values, so if you had used that as your password for the jabber users, then you should be all
 set.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The error message seems to indicate that
</span><a href="mailto:router@private.localhost">router@private.localhost</a><span style="color:#1F497D"> is the culprit, so I would double-check that password specifically in the opensrf_core.xml file. During a recent install, I accidentally inserted a few
 extra characters (still don’t know how that happened) into one of the password fields. It’s an easy thing to overlook.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">If everything looks right in the configuration file, I would try stopping and starting ejabberd, memcached, all the OpenSRF services, and apache. Then, give it another go.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Let us know how things progress.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D">Thanks!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Elliot J. Voris<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> <a href="mailto:evergreen-admin-bounces@list.evergreen-ils.org">
evergreen-admin-bounces@list.evergreen-ils.org</a> [<a href="mailto:evergreen-admin-bounces@list.evergreen-ils.org">mailto:evergreen-admin-bounces@list.evergreen-ils.org</a>]
<b>On Behalf Of </b>Alexander Tim<br>
<b>Sent:</b> 11 February, 2014 09:56<br>
<b>To:</b> <a href="mailto:evergreen-admin@list.evergreen-ils.org">evergreen-admin@list.evergreen-ils.org</a><br>
<b>Subject:</b> [Evergreen-admin] Fresh 2.5.2 install error connecting via Staff Client (Windows)<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB">Dear All,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Have hit several stumbling blocks installing Evergreen for the first time but have finally reached one that a reread and retyping of the commands won’t fix.  I have installed on Ubuntu Server 12.04 and followed the guide
 for installing for 2.5.2.  The client is Windows 7 x64 and is using the 2.5.2 client.  All seems well with testing the host but logging in to the server through the client generates the following error:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Network or server failure.  Please check your Internet connection to 10.168.50.99 and choose Retry Network.  If you need to enter Offline Mode, choose Ignore Errors in this and subsequent dialogues.  If you believe this
 error is due to a bug in Evergreen and not network problems, please contact your help desk or friendly Evergreen administrators, and give them this information:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">method=open-ils.actor.org_tree.descendants.retrieve<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">params=[1,-1]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">THROWN:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">{"payload":[],"debug":"osrfMethodException :  *** Call to [open-ils.actor.org_tree.descendants.retrieve] failed for session [1392133796.204839.13921337964322], thread trace [1]:\nException: OpenSRF::EX::Session 2014-02-11T15:49:56
 OpenSRF::Application /usr/local/share/perl/5.14.2/OpenSRF/Application.pm:233 Session Error: Call to open-ils.storage for method open-ils.storage.actor.org_unit.descendants.atomic \n failed with exception: Exception: OpenSRF::EX::Session 2014-02-11T15:49:56
 OpenILS::Application::AppUtils /usr/local/share/perl/5.14.2/OpenILS/Application/AppUtils.pm:201 Session Error:
</span><a href="mailto:router@private.localhost/open-ils.storage"><span lang="EN-GB">router@private.localhost/open-ils.storage</span></a><span lang="EN-GB"> IS NOT CONNECTED TO THE NETWORK!!!\n : \n\n","status":500}<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">STATUS:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I have cleared the logs and restarted all the constituent parts individually and not received any error messages.  I am also able to connect using srfsh (and then logging in with a user name and password).  The server
 seems to be responding as it rejects incorrect user names and passwords.  I have also added an SSL exception to allow me to get this far.  I have also tailed the log for the perl start and found that it thinks the storage bit has started correctly:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">[2014-02-11 15:06:57] open-ils.storage [INTL:4051:Pg.pm:120:] All is well on the western front<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">[2014-02-11 15:06:57] open-ils.storage [DEBG:4051:Storage.pm:66:] Success initializing driver!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I am guessing I have messed up something in the opensrf_core.xml file but will admit the guide on that particular part was not exactly something I was able to grasp and understand.  I seemed to find that most of the passwords
 were already set in the example file to what I had chosen for this test server.  I would be most grateful for any guidance as I believe this is the last step to actually being able to test the server proper and see if our library wants to use it.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Tim<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-GB" style="font-size:12.0pt;font-family:"Times New Roman","serif"">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-GB" style="font-size:7.5pt;font-family:"Arial","sans-serif";color:gray">Tindall Riley Marine (UK) Limited<br>
Authorised and regulated in the UK by the Financial Conduct Authority.<br>
<br>
Registered Office: Regis House, 45 King William Street, London EC4R 9AN<br>
Company No: 8451968. V.A.T. No.: 174 7460 86<br>
Tel: +44 (0)20 7407 3588 Fax: +44 (0)20 7403 3942<br>
<br>
This email (and any attachments) is confidential and may be privileged. It may be read, copied and used only by the addressee. If you have received this in error, please contact us immediately.</span><span lang="EN-GB" style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-GB" style="font-size:12.0pt;font-family:"Times New Roman","serif"">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-GB" style="font-size:7.5pt;font-family:"Arial","sans-serif";color:gray">Tindall Riley Marine (UK) Limited<br>
Authorised and regulated in the UK by the Financial Conduct Authority.<br>
<br>
Registered Office: Regis House, 45 King William Street, London EC4R 9AN<br>
Company No: 8451968. V.A.T. No.: 174 7460 86<br>
Tel: +44 (0)20 7407 3588 Fax: +44 (0)20 7403 3942<br>
<br>
This email (and any attachments) is confidential and may be privileged. It may be read, copied and used only by the addressee. If you have received this in error, please contact us immediately.<br>
<br>
</span><span lang="EN-GB" style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
</div>
</body>
</html>