<div dir="ltr">Hello Alexey,<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 28, 2013 at 11:06 PM, Lazar, Alexey Vladimirovich <span dir="ltr"><<a href="mailto:alexey.lazar@mnsu.edu" target="_blank">alexey.lazar@mnsu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi, Petr.<br>
<div class="im"><br>
On 2013-03-24, at 08:27 , Petr Brož <<a href="mailto:petr.broz@heaven-industries.com">petr.broz@heaven-industries.com</a>> wrote:<br>
<br>> On Tue, Mar 19, 2013 at 3:32 PM, Lazar, Alexey Vladimirovich <<a href="mailto:alexey.lazar@mnsu.edu">alexey.lazar@mnsu.edu</a>> wrote:<br>
> OpenSRF does have to be installed prior to running Evergreen. Then, after installing OpenSRF, you need to go in and fix the config files to work with Evergreen. Somewhat confusingly, OpenSRF and Evergreen use the same configuration files, but the format required for Evergreen is different. Specifics are in the documentation.<br>

><br>
> Ok. I will ignore OpenSRF (problems) for the moment.<br>
<br>
</div>Well, I no longer recall what problems you are referring to, but jsut to repeat that OpenSRF has to be installed and running before Evergreen can run.<br></blockquote><div><br></div><div>Sorry, I misread your first comment on OpenSRF.</div>
<div><br></div><div>My initial problem was that following the installation instructions I have come to point "11. Testing connections to Evergreen" where it says to login as egadmin using srsfh and this failed with <span class="" style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">"Received no data from server".</span></div>
<div><span class="" style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span class="" style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">I the hindsight is seems that OpenSRF was not running at that moment. I have noticed that OpenSRF does not start automatically when I restart the server and It is possible that I have restarted the server during the installation procedure.</span></div>
<div><span class="" style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span class="" style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">What is the proper way to make OpenSRF start automatically after server restart?</span></div>
<div><span class="" style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span class="" style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">I have then proceeded with the troubleshooting instructions (<a href="http://evergreen-ils.org/dokuwiki/doku.php?id=troubleshooting:checking_for_errors">http://evergreen-ils.org/dokuwiki/doku.php?id=troubleshooting:checking_for_errors</a>) and finished in "Step 7 Start OpenSRF C services and check for errors" where it says </span>"If the C services do appear to have started, then let's double check by grepping the log files for errors like so: grep ERR /openils/var/log/*.log. <span class="">If you encounter any output from that command, please stop here and contact the development community as stated above.<font class="" color="#000000" face="'Lucida Grande', Verdana, Lucida, Helvetica, Arial, sans-serif">" </font></span>I encountered some errors so I have stopped and contacted the development community. I get errors like these:</div>
<div><br></div><div><div>/openils/var/log/osrfsys.log:open-ils.pcrud 2013-03-29 08:58:27 [DEBG:1874:oils_sql.c:435:] No data found for class [ssr]: 0, ERROR:  "search_result" is a composite type</div><div>/openils/var/log/osrfsys.log:open-ils.reporter-store 2013-03-29 08:58:28 [DEBG:1873:oils_sql.c:435:] No data found for class [ssr]: 0, ERROR:  "search_result" is a composite type</div>
<div>/openils/var/log/osrfsys.log:open-ils.cstore 2013-03-29 08:58:28 [DEBG:1872:oils_sql.c:435:] No data found for class [ssr]: 0, ERROR:  "search_result" is a composite type</div><div>/openils/var/log/osrfsys.log:open-ils.reporter-store 2013-03-29 08:58:29 [DEBG:1873:oils_sql.c:435:] No data found for class [bmpc]: 0, ERROR:  "marc21_physical_characteristics" is a composite type</div>
<div>/openils/var/log/osrfsys.log:open-ils.pcrud 2013-03-29 08:58:29 [DEBG:1874:oils_sql.c:435:] No data found for class [bmpc]: 0, ERROR:  "marc21_physical_characteristics" is a composite type</div></div><div><br>
</div><div>Anyway, I have now tried to ignore these errors and was able to successfully login as egadmin using srsfh.</div><div><br></div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im"><span class="" style="color:rgb(34,34,34)">As long as the <hostname> matches the current actual hostname of your server at the time when you are running the script, it should not matter for the DB creation script. Pretty much all these values you get to choose. I would also recommend storing the usernames and passwords somewhere, e.g., KeePassX.</span></div>
</blockquote><div><br></div><div>Yes, the hostname matched at the script creation time.</div><div> </div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Well, I have never worked with AWS specifically, so I do not know what you need to do for sure. What I do know is that using localhost will refer to the machine you are on regardless of what it is named.<br></blockquote><div>
<br></div><div>I don't think that AWS has anything to do with the problems. It's most likely my lack of experience and probably some holes in the documentation.</div><div> </div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im"><span class="" style="color:rgb(34,34,34)">Did you run autogen.sh -u? Does your database have data in it? Are you able to access the opac through the web browser?</span></div></blockquote><div><br></div><div>
 I have now been able to successfully run "/openils/bin/autogen.sh -c /openils/conf/opensrf_core.xml -u" and it has only complained that "illegal option -- c" but otherwise ran ok.</div><div><br></div>
<div>I do not know how to check that the database has data in it but opac access through web browser is working.</div><div><br></div><div>I will now go on to install the staff client.</div><div><br></div><div>Thank you for your help.</div>
<div><br></div><div>Petr</div><div><br></div><div>P.S. Do you think that I should worry about the errors in osrfsys.log?</div><div> <br></div><div><br></div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
</blockquote></div></div></div>