Message from discussion
Failure while starting the neo4j server in HA mdoe
Received: by 10.66.85.130 with SMTP id h2mr779784paz.8.1350022287462;
Thu, 11 Oct 2012 23:11:27 -0700 (PDT)
X-BeenThere: neo4j@googlegroups.com
Received: by 10.68.225.39 with SMTP id rh7ls9346083pbc.7.gmail; Thu, 11 Oct
2012 23:11:25 -0700 (PDT)
Received: by 10.66.78.40 with SMTP id y8mr785270paw.2.1350022285400;
Thu, 11 Oct 2012 23:11:25 -0700 (PDT)
Received: by 10.66.78.40 with SMTP id y8mr785269paw.2.1350022285370;
Thu, 11 Oct 2012 23:11:25 -0700 (PDT)
Return-Path: <david.mon...@neopersistence.com>
Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44])
by gmr-mx.google.com with ESMTPS id g4si1729709pax.1.2012.10.11.23.11.25
(version=TLSv1/SSLv3 cipher=OTHER);
Thu, 11 Oct 2012 23:11:25 -0700 (PDT)
Received-SPF: pass (google.com: domain of david.mon...@neopersistence.com designates 209.85.220.44 as permitted sender) client-ip=209.85.220.44;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of david.mon...@neopersistence.com designates 209.85.220.44 as permitted sender) smtp.mail=david.mon...@neopersistence.com
Received: by mail-pa0-f44.google.com with SMTP id fb11so3091293pad.17
for <neo4j@googlegroups.com>; Thu, 11 Oct 2012 23:11:25 -0700 (PDT)
d=google.com; s=20120113;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:content-type:x-gm-message-state;
bh=1Jqnvnk0i4tqi/JEBzfEMcYaoaqmu+gSi2QGyDto/Jc=;
b=p0MIk3qI7VhTwAMAgZzQKdR0JVNO1xw7jxWD6BvEAT7T/DJA7OpJxjGO4sx0Oc9m0u
50j4pwzNtgv2f+aMf9iS8ek0CUL79244Kr3whAUr7hKRqJR+xCK5T8I0bqlrpVirza2t
UNMMwAxtGgC92SqrJRzPniA8D9wS4ytTlKId29rS4owVvTyWxiu1OPpmXhnhPK3wt3hj
4hot3wSqGPQrcehAsq7H0mUZyaV5NH3TG/e7kKvQuP4UsXmgGFr7z/b/EpOqEXXcy55j
3SEzX++o/wnS5iWIGXh+BH7BivRAIsRwFugfv8yuoqr/qTGH/GKDQCzZTVT8lRIFm4FR
QbqA==
Received: by 10.68.226.167 with SMTP id rt7mr1840310pbc.94.1350022284861; Thu,
11 Oct 2012 23:11:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.226.36 with HTTP; Thu, 11 Oct 2012 23:11:04 -0700 (PDT)
In-Reply-To: <f57dd5bb-f8db-48e2-ba5b-aece7c285c38@googlegroups.com>
References: <64886970-78c6-4a29-a94e-9827dd14c061@googlegroups.com>
<CADLsmutaJKRy6neGEYyC+XFWWA+h5B4C45Jp+y8UuYyX+bj...@mail.gmail.com>
<954fd53d-b4f3-4ffd-83e2-2335fb9dae42@googlegroups.com> <CADLsmuvWU_Sb6EzNn18CxcHuqfW0EsUi75AkU_F2E4rUVSF...@mail.gmail.com>
<f57dd5bb-f8db-48e2-ba5b-aece7c285c38@googlegroups.com>
From: David Montag <david.mon...@neotechnology.com>
Date: Thu, 11 Oct 2012 23:11:04 -0700
Message-ID: <CADLsmuvU8KcTn0JG4khAQhu1aCMNMo1KG5Y8wj5jBMwE7SC...@mail.gmail.com>
Subject: Re: [Neo4j] Failure while starting the neo4j server in HA mdoe
To: neo4j@googlegroups.com
Content-Type: multipart/alternative; boundary=e89a8ff245c7ba608704cbd68efc
X-Gm-Message-State: ALoCoQmXEINmbkGLyGI9qIDxPsPupM0jueWfe5OxQsGgW+YBhLruJMdlswDwsRHMwDxS62n4Vo54
--e89a8ff245c7ba608704cbd68efc
Content-Type: text/plain; charset=ISO-8859-1
Happy to help :)
David
On Thu, Oct 11, 2012 at 9:53 PM, abhijith K <abhijith....@gmail.com> wrote:
> Thanks a lot Dave. Its working fine now.
>
>
> On Thursday, October 11, 2012 11:06:07 PM UTC+5:30, David Montag wrote:
>
>> Hi Abhijith,
>>
>> Thanks for providing the files. It looks like you've followed the
>> tutorial in our documentation, which is tailored for a single-machine
>> setup. However, when running HA across multiple servers (as one usually
>> does), you don't need to change any port numbers. So I suggest to you to
>> make the following changes.
>>
>> => Make sure coord.cfg is the same file on all servers, and make sure it
>> has these parts:
>>
>> server.1=10.232.16.147:2888:**3888
>>> server.2=10.232.16.148:2888:**3888
>>> server.3=10.232.16.145:2888:**3888
>>> clientPort=2182
>>
>>
>> => In neo4j.properties, set the following properties, and replace X with
>> 101,102,103 for each server:
>>
>> ha.server_id=X
>>> ha.coordinators=10.232.16.147:**2182 <http://10.232.16.147:2182>,
>>> 10.232.16.148:2182,10.**232.16.145:2182 <http://10.232.16.145:2182>
>>
>>
>> Also, comment out the setting for ha.server. You usually don't need to
>> set that property.
>>
>> => Make sure data/coordinator/myid has values 1,2,3 for each server.
>>
>> Please make those changes and let me know how it works out. Remember that
>> you need to start all ZooKeeper instances before starting the Neo4j
>> instances.
>>
>> Best,
>> David
>>
>> On Thu, Oct 11, 2012 at 1:29 AM, abhijith K <abhiji...@gmail.com> wrote:
>>
>>> Hi Dave,
>>> Please find them attached.
>>> myid cant be attached. It contains 2 as a character.
>>>
>>> Regards,
>>> Abhijith K
>>>
>>>
>>> On Thursday, October 11, 2012 12:51:49 PM UTC+5:30, David Montag wrote:
>>>
>>>> Hi Abhijith,
>>>>
>>>> Can you please share conf/neo4j.properties,
>>>> conf/neo4j-server.properties, conf/coord.cfg, and data/coordinator/myid
>>>> from each of the instances?
>>>>
>>>> Thanks,
>>>> David
>>>>
>>>>
>>>> On Thu, Oct 11, 2012 at 12:13 AM, abhijith K <abhiji...@gmail.com>wrote:
>>>>
>>>>> Hi All,
>>>>> Im getting below error:
>>>>>
>>>>> neo4j-enterprise-1.8$ ./bin/neo4j start
>>>>> WARNING: Max 1024 open files allowed, minimum of 40 000 recommended.
>>>>> See the Neo4j manual.
>>>>> Starting Neo4j Server...WARNING: not changing user
>>>>> process [7666]... waiting for server to be
>>>>> ready.........................****..............................****..........
>>>>> Failed to start within 120 seconds.
>>>>> Neo4j Server may have failed to start, please check the logs.
>>>>>
>>>>> Also please find the log attached.
>>>>>
>>>>> Error is in
>>>>> 2012-10-11 12:36:01,868 ERROR [neo4j]: Problems copying store from
>>>>> master
>>>>> org.neo4j.com.ComException: Client could not connect to localhost/
>>>>> 127.0.0.1:6001
>>>>>
>>>>> Actually the port number 6001 is wrong.
>>>>> I've set: 2012-10-11 12:36:01,868 ERROR [neo4j]: Problems copying
>>>>> store from master
>>>>> neo4j.properties:52:ha.server = localhost:6002
>>>>>
>>>>> Please help.
>>>>>
>>>>> Regards,
>>>>> Abhijith K
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> David Montag <david....@**neotechnolog**y.com>
>>>> Neo Technology, www.neotechnology.****com<http://www.neotechnology.com/>
>>>> Cell: 650.556.4411
>>>> Skype: ddmontag
>>>>
>>>> As a friend of Neo, register for GraphConnect<http://www.graphconnect.com>and get a 20% discount. Code: GCFON
>>>>
>>> --
>>>
>>>
>>>
>>
>>
>>
>> --
>> David Montag <david....@**neotechnology.com>
>> Neo Technology, www.neotechnology.**com <http://www.neotechnology.com/>
>> Cell: 650.556.4411
>> Skype: ddmontag
>>
>> As a friend of Neo, register for GraphConnect<http://www.graphconnect.com>and get a 20% discount. Code: GCFON
>>
> --
>
>
>
--
David Montag <david.mon...@neotechnology.com>
Neo Technology, www.neotechnology.com
Cell: 650.556.4411
Skype: ddmontag
As a friend of Neo, register for GraphConnect
<http://www.graphconnect.com>and get a 20% discount. Code: GCFON
--e89a8ff245c7ba608704cbd68efc
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Happy to help :)<div><br></div><div>David<br><br><div class=3D"gmail_quote"=
>On Thu, Oct 11, 2012 at 9:53 PM, abhijith K <span dir=3D"ltr"><<a href=
=3D"mailto:abhijith....@gmail.com" target=3D"_blank">abhijith....@gmail.com=
</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Thanks a lot Dave. Its working fine now.<div=
class=3D"im"><br><br>On Thursday, October 11, 2012 11:06:07 PM UTC+5:30, D=
avid Montag wrote:</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">Hi Abhijith,<div><br></div><div cla=
ss=3D"im"><div>Thanks for providing the files. It looks like you've fol=
lowed the tutorial in our documentation, which is tailored for a single-mac=
hine setup. However, when running HA across multiple servers (as one usuall=
y does), you don't need to change any port numbers. So I suggest to you=
to make the following changes.</div>
<div><br></div><div>=3D> Make sure coord.cfg is the same file on all ser=
vers, and make sure it has these parts:</div><div><br></div><div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width=
:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-lef=
t:1ex">
server.1=3D<a href=3D"http://10.232.16.147:2888" target=3D"_blank">10.232.1=
6.147:2888</a>:<u></u>3888 =A0 =A0<br>server.2=3D<a href=3D"http://10.232.1=
6.148:2888" target=3D"_blank">10.232.16.148:2888</a>:<u></u>3888<br>server.=
3=3D<a href=3D"http://10.232.16.145:2888" target=3D"_blank">10.232.16.145:2=
888</a>:<u></u>3888<br>
clientPort=3D2182</blockquote></div><div><br></div><div>=3D> In neo4j.pr=
operties, set the following properties, and replace X with 101,102,103 for =
each server:</div>
<div><br></div><div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);borde=
r-left-style:solid;padding-left:1ex">ha.server_id=3DX<br>ha.coordinators=3D=
<a href=3D"http://10.232.16.147:2182" target=3D"_blank">10.232.16.147:<u></=
u>2182</a>,<a href=3D"http://10.232.16.148:2182" target=3D"_blank">10.232.1=
6.148:2182</a>,<a href=3D"http://10.232.16.145:2182" target=3D"_blank">10.<=
u></u>232.16.145:2182</a></blockquote>
</div><div><br></div><div>Also, comment out the setting for ha.server. You =
usually don't need to set that property.</div><div><br></div><div>=3D&g=
t; Make sure data/coordinator/myid has values 1,2,3 for each server.</div>
<div><br></div><div>Please make those changes and let me know how it works =
out. Remember that you need to start all ZooKeeper instances before startin=
g the Neo4j instances.</div><div><br></div><div>Best,</div><div>David</div>
</div><div><div class=3D"h5"><div><br><div class=3D"gmail_quote">On Thu, Oc=
t 11, 2012 at 1:29 AM, abhijith K <span dir=3D"ltr"><<a>abhiji...@gmail.=
com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Dave, <br>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
Please find them attached.<br>myid cant be attached. It contains 2 as a cha=
racter.<br>
<br>
Regards,<br>
Abhijith K<div><br><br>On Thursday, October 11, 2012 12:51:49 PM UTC+5:30, =
David Montag wrote:</div><blockquote class=3D"gmail_quote" style=3D"margin:=
0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hi Abhijith,<div><br></div><div>Can you please share conf/neo4j.proper=
ties, conf/neo4j-server.properties, conf/coord.cfg, and data/coordinator/my=
id from each of the instances?</div><div><br></div><div>Thanks,</div>
</div><div>David<div><br>
<br><div class=3D"gmail_quote">On Thu, Oct 11, 2012 at 12:13 AM, abhijith K=
<span dir=3D"ltr"><<a>abhiji...@gmail.com</a>></span> wrote:<br><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex">
Hi All,<br>=A0=A0=A0=A0=A0=A0=A0=A0 Im getting below error:<br><br>neo4j-en=
terprise-1.8$ ./bin/neo4j start<br>WARNING: Max 1024 open files allowed, mi=
nimum of 40 000 recommended. See the Neo4j manual.<br>Starting Neo4j Server=
...WARNING: not changing user<br>
process [7666]... waiting for server to be ready.........................<u=
></u><u></u>..............................<u></u><u></u>.......... Failed t=
o start within 120 seconds.<br>Neo4j Server may have failed to start, pleas=
e check the logs.<br>
<br>
Also please find the log attached.<br><br>Error is in <br>2012-10-11 12:36:=
01,868 ERROR [neo4j]: Problems copying store from master<br>org.neo4j.com.C=
omException: Client could not connect to localhost/<a href=3D"http://127.0.=
0.1:6001" target=3D"_blank">127.0.0.1:6001</a><br>
<br>Actually the port number 6001 is wrong.<br>I've set: 2012-10-11 12:=
36:01,868 ERROR [neo4j]: Problems copying store from master<br>neo4j.proper=
ties:52:ha.server =3D localhost:6002<br><br>Please help.<br><br>Regards,<br=
>
Abhijith K<span><font color=3D"#888888"><br><br>
<p></p>
-- <br>
=A0<br>
=A0<br>
</font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b=
r></div><div>David Montag=A0<<a>david....@<u></u>neotechnolog<u></u>y.co=
m</a>></div><div><div>Neo Technology,=A0<a href=3D"http://www.neotechnol=
ogy.com/" target=3D"_blank">www.neotechnology.<u></u><u></u>com</a></div>
<div>Cell: <a value=3D"+16505564411">650.556.4411</a></div>Skype: ddmontag<=
div><br></div>As a friend of Neo, register for <a href=3D"http://www.graphc=
onnect.com" target=3D"_blank">GraphConnect</a> and get a 20% discount. Code=
: GCFON<br>
</div></div>
</blockquote>
<p></p>
-- <br>
=A0<br>
=A0<br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div>David M=
ontag=A0<<a>david....@<u></u>neotechnology.com</a>></div><div>Neo Tec=
hnology,=A0<a href=3D"http://www.neotechnology.com/" target=3D"_blank">www.=
neotechnology.<u></u>com</a></div>
<div>Cell: <a href=3D"tel:650.556.4411" value=3D"+16505564411" target=3D"_b=
lank">650.556.4411</a></div>Skype: ddmontag<div><br></div>As a friend of Ne=
o, register for <a href=3D"http://www.graphconnect.com" target=3D"_blank">G=
raphConnect</a> and get a 20% discount. Code: GCFON<br>
</div>
</div></div></blockquote>
<p></p>
-- <br>
=A0<br>
=A0<br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div>David M=
ontag=A0<<a href=3D"mailto:david.mon...@neotechnology.com" target=3D"_bl=
ank">david.mon...@neotechnology.com</a>></div><div>Neo Technology,=A0<a =
href=3D"http://www.neotechnology.com/" target=3D"_blank">www.neotechnology.=
com</a></div>
<div>Cell: 650.556.4411</div>Skype: ddmontag<div><br></div>As a friend of N=
eo, register for <a href=3D"http://www.graphconnect.com" target=3D"_blank">=
GraphConnect</a> and get a 20% discount. Code: GCFON<br>
</div>
--e89a8ff245c7ba608704cbd68efc--