No subject


Fri Apr 16 10:15:54 EDT 2010


epmd -kill
killall beam=3B killall beam.smp
rm /var/lib/ejabberd/*
echo 'ERLANG_NODE=3Dejabberd at localhost' >> /etc/default/ejabberd

(My recollection from when I had the problem was that I did not have any ep=
md processes running=2C but there was one or a few beam processes running.)

Brian

From: christomer at gmail.com
Date: Sat=2C 8 Jan 2011 14:16:33 -0500
To: open-ils-general at list.georgialibraries.org
Subject: Re: [OPEN-ILS-GENERAL] Updating OrgTree Fails

I'm trying to install Evergreen 1.6.1.6 on an Amazon EC2 instance running U=
buntu 10.0.4. OpenSRF and Evergreen are running=2C but the Web server is no=
t fully functional and I can't get a client login. When I run the autogen s=
cript=2C I get the following message:



Updating Evergreen organization tree and IDL using '/openils/conf/opensrf_c=
ore.xml'

Updating fieldmapper
Updating web_fieldmapper
Updating OrgTree
removing OrgTree from the cache for locale hy-AM...



removing OrgTree from the cache for locale cs-CZ...
Attempting to build a client session as a server Session ID [1294446730.958=
09371.206989825217]=2C remote_id=20
[opensrf at private.localhost/opensrf.settings_drone_at_localhost_19354] at /u=
sr/local/share/perl/5.10.1/OpenSRF/



AppSession.pm line 98.
removing OrgTree from the cache for locale en-CA...
removing OrgTree from the cache for locale en-US...
removing OrgTree from the cache for locale fr-CA...
removing OrgTree from the cache for locale ru-RU...



Updating OrgTree HTML
Attempting to build a client session as a server Session ID [1294446758.703=
44836.86739813378]=2C remote_id [opensrf at private.localhost/opensrf.settings=
_drone_at_localhost_19355] at /usr/local/share/perl/5.10.1/OpenSRF/



AppSession.pm line 98.
Exception: OpenSRF::EX::Session 2011-01-08T00:32:54 OpenSRF::Transport /usr=
/local/share/perl/5.10.1/OpenSRFTransport.pm:120 Session Error: Transport::=
handler(): No AppSession object returned from server_build().



I've checked on the *.PIDs in /openils/var/run=2C cleared them=2C and resta=
rted the system. When I did that=2C I was able to determine that I needed t=
o downgrade Class::DBI to version 3.0.1. Which I did=2C but the problem per=
sists. Any suggestions would be deeply appreciated.



Chris
--=20
Christinger Tomerchristomer at gmail.com
 		 	   		  =

--_99d37e72-e92d-4656-99f4-a32c5819fcef_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Tahoma
}
--></style>
</head>
<body class=3D'hmmessage'>
Hi Christinger=2C<br><br>I have Evergreen 2.0 running on Ubuntu 10.4 and di=
d a test install of one of the Evergreen 1.6.0 versions several months ago=
=2C so I think we should be able to get your install working.<br><br>There =
was one sticking point that I encountered with the setup in EC2 that may be=
 affecting you=2C but I am not sure from the symptoms you describe.&nbsp=3B=
 When I stop and restart an instance and the IP address of the instance cha=
nges=2C I have seen it get the ejabberd service messed up so that it does n=
ot respond or start/stop properly.&nbsp=3B To fix it I followed some instru=
ctions in one of the OpenSRF wiki pages:&nbsp=3B I needed to&nbsp=3B kill a=
ll 'beam' and 'epmd' processes and hardcode the 'localhost' domain.&nbsp=3B=
 Then ejabberd did not seem to have any further problems.<br><br>From the w=
iki instructions:&nbsp=3B (I believe you need to be logged in as <b>root</b=
>)<br><blockquote><font style=3D"" face=3D"Courier New">epmd -kill</font><f=
ont style=3D"" face=3D"Courier New"><br></font><font style=3D"" face=3D"Cou=
rier New">killall beam=3B killall beam.smp</font><font style=3D"" face=3D"C=
ourier New"><br>rm /var/lib/ejabberd/*<br></font><font style=3D"" face=3D"C=
ourier New">echo 'ERLANG_NODE=3Dejabberd at localhost' &gt=3B&gt=3B /etc/defau=
lt/ejabberd</font><font style=3D"" face=3D"Courier New"><br></font></blockq=
uote><font style=3D"" face=3D"Courier New"><br></font>(My recollection from=
 when I had the problem was that I did not have any epmd processes running=
=2C but there was one or a few beam processes running.)<br><br>Brian<br><br=
><hr id=3D"stopSpelling">From: christomer at gmail.com<br>Date: Sat=2C 8 Jan 2=
011 14:16:33 -0500<br>To: open-ils-general at list.georgialibraries.org<br>Sub=
ject: Re: [OPEN-ILS-GENERAL] Updating OrgTree Fails<br><br><font size=3D"2"=
><font face=3D"garamond=2Cserif">I'm trying to install Evergreen 1.6.1.6 on=
 an Amazon EC2 instance running Ubuntu 10.0.4. OpenSRF and Evergreen are ru=
nning=2C but the Web server is not fully functional and I can't get a clien=
t login. When I run the autogen script=2C I get the following message:<br>

<br>Updating Evergreen organization tree and IDL using '/openils/conf/opens=
rf_core.xml'<br><br>Updating fieldmapper<br>Updating web_fieldmapper<br>Upd=
ating OrgTree<br>removing OrgTree from the cache for locale hy-AM...<br>


removing OrgTree from the cache for locale cs-CZ...<br>Attempting to build =
a client session as a server Session ID [1294446730.95809371.206989825217]=
=2C remote_id <br>[opensrf at private.localhost/opensrf.settings_drone_at_loca=
lhost_19354] at /usr/local/share/perl/5.10.1/OpenSRF/<br>


AppSession.pm line 98.<br>removing OrgTree from the cache for locale en-CA.=
..<br>removing OrgTree from the cache for locale en-US...<br>removing OrgTr=
ee from the cache for locale fr-CA...<br>removing OrgTree from the cache fo=
r locale ru-RU...<br>


Updating OrgTree HTML<br>Attempting to build a client session as a server S=
ession ID [1294446758.70344836.86739813378]=2C remote_id [opensrf at private.l=
ocalhost/opensrf.settings_drone_at_localhost_19355] at /usr/local/share/per=
l/5.10.1/OpenSRF/<br>


AppSession.pm line 98.<br>Exception: OpenSRF::EX::Session 2011-01-08T00:32:=
54 OpenSRF::Transport /usr/local/share/perl/5.10.1/OpenSRFTransport.pm:120 =
Session Error: Transport::handler(): No AppSession object returned from ser=
ver_build().<br>

<br>I've checked on the *.PIDs in /openils/var/run=2C cleared them=2C and r=
estarted the system. When I did that=2C I was able to determine that I need=
ed to downgrade Class::DBI to version 3.0.1. Which I did=2C but the problem=
 persists. Any suggestions would be deeply appreciated.<br>

<br>Chris<br clear=3D"all"></font><br>-- <br></font><font size=3D"2"><span =
style=3D"font-family: garamond=2Cserif=3B">Christinger Tomer</span><br styl=
e=3D"font-family: garamond=2Cserif=3B"><span style=3D"font-family: garamond=
=2Cserif=3B"><a href=3D"mailto:christomer at gmail.com">christomer at gmail.com</=
a></span></font><br> 		 	   		  </body>
</html>=

--_99d37e72-e92d-4656-99f4-a32c5819fcef_--


More information about the Open-ils-general mailing list