Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion unable to configure elasticsearch on WINDOWS 7 .

 Client <elastica-php-client@googlegroups.com>
Received: by 10.236.191.40 with SMTP id f28mr27411972yhn.2.1341311720728;
        Tue, 03 Jul 2012 03:35:20 -0700 (PDT)
X-BeenThere: elastica-php-client@googlegroups.com
Received: by 10.236.81.101 with SMTP id l65ls12823632yhe.5.gmail; Tue, 03 Jul
 2012 03:35:20 -0700 (PDT)
Received: by 10.101.142.32 with SMTP id u32mr8073351ann.9.1341311720258;
        Tue, 03 Jul 2012 03:35:20 -0700 (PDT)
Received: by 10.101.142.32 with SMTP id u32mr8073350ann.9.1341311720235;
        Tue, 03 Jul 2012 03:35:20 -0700 (PDT)
Return-Path: <ruf...@gmail.com>
Received: from mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180])
        by gmr-mx.google.com with ESMTPS id q35si4910524yhe.6.2012.07.03.03.35.20
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 03 Jul 2012 03:35:20 -0700 (PDT)
Received-SPF: pass (google.com: domain of ruf...@gmail.com designates 209.85.160.180 as permitted sender) client-ip=209.85.160.180;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ruf...@gmail.com designates 209.85.160.180 as permitted sender) smtp.mail=ruf...@gmail.com; dkim=pass header...@gmail.com
Received: by ghbz12 with SMTP id z12so4812408ghb.25
        for <elastica-php-client@googlegroups.com>; Tue, 03 Jul 2012 03:35:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=subject:references:from:content-type:x-mailer:in-reply-to
         :message-id:date:to:content-transfer-encoding:mime-version;
        bh=9QXZunTwjVDkl7vrfLdp+hDLxy89I48o9y+dWIevlOk=;
        b=FIK+BwvWao9+h5kSJMR7MVVBY3hwtO1FgEtSnl9eQEGMzbAIhBK4LyVYraSzdztRwm
         hb/XNHjlIs8y1NBKweXQ09sErLnWKUprDKHdoD5JKX0x+yWuhxE2ClLaQTqHea203ifO
         Ir3F34sBgBuw7jbX0bi0OCn7PkRo35KjTnV+o5VkmKKBTrA/626VfCLbUDFR/57tB9EW
         Ih5FVtpqm1U4Puj2lXMerKUSjHN6fU2C4NkDuyxx8QLfxsLcGigo8FXpQrOIlx0XQnsl
         qgjnzMwmtC9ogYwxKh1PkedL2jWoGJY1VEuTnlHqiO0rqKH+gS6TsixJlazfr35tPGXI
         NBSQ==
Received: by 10.66.73.69 with SMTP id j5mr21965740pav.8.1341311719947;
        Tue, 03 Jul 2012 03:35:19 -0700 (PDT)
Return-Path: <ruf...@gmail.com>
Received: from [10.193.135.130] ([115.67.128.81])
        by mx.google.com with ESMTPS id ka5sm15320716pbb.37.2012.07.03.03.35.03
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 03 Jul 2012 03:35:19 -0700 (PDT)
Subject: Re: unable to configure elasticsearch on WINDOWS 7 .
References: <0c84c146-a1f4-49d4-b4ad-194bdcdb5b7d@googlegroups.com> <6c739ea9-04c1-4c49-bd4f-369878388f66@googlegroups.com> <D9028C80-695B-4BCA-89A0-16167436C...@gmail.com> <3372d581-6b5d-4475-858d-bc12c6186dcf@googlegroups.com> <BEC177D7-B922-4A37-B430-9A8BE289B...@gmail.com> <408fb546-41f4-4579-9aeb-ac897b193ee4@googlegroups.com>
From: Nicolas Ruflin <ruf...@gmail.com>
Content-Type: multipart/alternative;
	boundary=Apple-Mail-8B713142-5D77-4B2B-8DDF-590E7966D07D
X-Mailer: iPhone Mail (9B206)
In-Reply-To: <408fb546-41f4-4579-9aeb-ac897b193ee4@googlegroups.com>
Message-Id: <481D71FC-BF82-453E-BF43-9E3715C45...@gmail.com>
Date: Tue, 3 Jul 2012 17:34:52 +0700
To: "elastica-php-client@googlegroups.com" <elastica-php-client@googlegroups.com>
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (1.0)


--Apple-Mail-8B713142-5D77-4B2B-8DDF-590E7966D07D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

nothing is missing in the config. the problem is, as mentioned before, that t=
he elasticsearch server is not running

On 03.07.2012, at 17:16, Amir Shaheen <a.shahe...@gmail.com> wrote:

> when i ran the elastica it throws  the exception can u tell me which is mi=
ssing in the configuration=20
> Fatal error: Uncaught exception 'Elastica_Exception_Client' with message '=
Couldnt connect to host, ElasticSearch down?' in D:\xampp\htdocs\surch\lib\E=
lastica\Transport\Http.php:117 Stack trace: #0 D:\xampp\htdocs\surch\lib\Ela=
stica\Request.php(213): Elastica_Transport_Http->exec(Array) #1 D:\xampp\htd=
ocs\surch\lib\Elastica\Client.php(379): Elastica_Request->send() #2 D:\xampp=
\htdocs\surch\lib\Elastica\Index.php(368): Elastica_Client->request('twitter=
/', 'DELETE', Array, Array) #3 D:\xampp\htdocs\surch\lib\Elastica\Index.php(=
127): Elastica_Index->request('', 'DELETE') #4 D:\xampp\htdocs\surch\lib\Ela=
stica\Index.php(173): Elastica_Index->delete() #5 D:\xampp\htdocs\surch\inde=
x.php(49): Elastica_Index->create(Array, true) #6 {main} thrown in D:\xampp\=
htdocs\surch\lib\Elastica\Transport\Http.php on line 117
>=20
>=20
> On Tuesday, July 3, 2012 2:59:28 PM UTC+5, ruflin wrote:
> ok,as this problem seems to be related to elasticsearch and not elastica, I=
 would recommend you to post in the elasticsearch google group:
>=20
> http://groups.google.com/group/elasticsearch
>=20
> On 03.07.2012, at 15:16, Amir Shaheen <a.shahe...@gmail.com> wrote:
>=20
>> yes it is on same machine but not working
>>=20
>> Steps:
>> 1- Put elasticsearch directory in a drive=20
>> 2- Add its path to environment variables
>> 3- Set JAVE_HOME path
>> 4- But when i execute bin/elasticsearch.bat from command line it does not=
 do anything =20
>> D:\elasticsearch\bin\elasticsearch.bat
>> it shows error
>> The system cannot find the path specified. =20
>>=20
>> On Tuesday, July 3, 2012 1:09:32 PM UTC+5, ruflin wrote:
>> is elasticsearch running?
>>=20
>> if elasticsearch is on the same machine, the default configuration works.=

>>=20
>> On 03.07.2012, at 15:06, Amir Shaheen <a.shahe...@gmail.com> wrote:
>>=20
>>> How can i configure "ElasticSearch Server " on Windows7 for using Elasti=
ca
>>>=20
>>> On Tuesday, July 3, 2012 12:26:10 PM UTC+5, Amir Shaheen wrote:
>>> I have installed Elastica on my machine=20
>>>=20
>>> Fatal error: Uncaught exception 'Elastica_Exception_Client' with message=
 'Couldnt connect to host, ElasticSearch down?' in D:\xampp\htdocs\surch\lib=
\Elastica\Transport\Http.php:117 Stack trace: #0 D:\xampp\htdocs\surch\lib\E=
lastica\Request.php(213): Elastica_Transport_Http->exec(Array) #1 D:\xampp\h=
tdocs\surch\lib\Elastica\Client.php(379): Elastica_Request->send() #2 D:\xam=
pp\htdocs\surch\lib\Elastica\Index.php(368): Elastica_Client->request('twitt=
er/', 'DELETE', Array, Array) #3 D:\xampp\htdocs\surch\lib\Elastica\Index.ph=
p(127): Elastica_Index->request('', 'DELETE') #4 D:\xampp\htdocs\surch\lib\E=
lastica\Index.php(173): Elastica_Index->delete() #5 D:\xampp\htdocs\surch\in=
dex.php(49): Elastica_Index->create(Array, true) #6 {main} thrown in D:\xamp=
p\htdocs\surch\lib\Elastica\Transport\Http.php on line 11
>>>=20
>>> i think my elasticsearch library not setup.
>>> Please help me to work normal with Elastica (elasticsearch)

--Apple-Mail-8B713142-5D77-4B2B-8DDF-590E7966D07D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head></head><body bgcolor=3D"#FFFFFF"><div>nothing is missing in the c=
onfig. the problem is, as mentioned before, that the elasticsearch server is=
 not running<br><br>On 03.07.2012, at 17:16, Amir Shaheen &lt;<a href=3D"mai=
lto:a.shahe...@gmail.com">a.shahe...@gmail.com</a>&gt; wrote:<br><br></div><=
div></div><blockquote type=3D"cite"><div>when i ran the elastica it throws&n=
bsp; the exception can u tell me which is missing in the configuration <br><=
b>Fatal error</b>:  Uncaught exception 'Elastica_Exception_Client' with
 message 'Couldnt connect to host, ElasticSearch down?' in=20
D:\xampp\htdocs\surch\lib\Elastica\Transport\Http.php:117
Stack trace:
#0 D:\xampp\htdocs\surch\lib\Elastica\Request.php(213):=20
Elastica_Transport_Http-&gt;exec(Array)
#1 D:\xampp\htdocs\surch\lib\Elastica\Client.php(379):=20
Elastica_Request-&gt;send()
#2 D:\xampp\htdocs\surch\lib\Elastica\Index.php(368):=20
Elastica_Client-&gt;request('twitter/', 'DELETE', Array, Array)
#3 D:\xampp\htdocs\surch\lib\Elastica\Index.php(127):=20
Elastica_Index-&gt;request('', 'DELETE')
#4 D:\xampp\htdocs\surch\lib\Elastica\Index.php(173):=20
Elastica_Index-&gt;delete()
#5 D:\xampp\htdocs\surch\index.php(49): Elastica_Index-&gt;create(Array,
 true)
#6 {main}
  thrown in <b>D:\xampp\htdocs\surch\lib\Elastica\Transport\Http.php</b> on l=
ine <b>117<br><br></b><br>On Tuesday, July 3, 2012 2:59:28 PM UTC+5, ruflin w=
rote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex=
;border-left: 1px #ccc solid;padding-left: 1ex;"><div bgcolor=3D"#FFFFFF"><d=
iv>ok,as this problem seems to be related to elasticsearch and not elastica,=
 I would recommend you to post in the elasticsearch google group:</div><div>=
<br></div><div><a href=3D"http://groups.google.com/group/elasticsearch" targ=
et=3D"_blank">http://groups.google.com/<wbr>group/elasticsearch</a><br><br>O=
n 03.07.2012, at 15:16, Amir Shaheen &lt;<a href=3D"mailto:a.shaheeen@gmail.=
com" target=3D"_blank">a.shahe...@gmail.com</a>&gt; wrote:<br><br></div><div=
></div><blockquote type=3D"cite"><div>yes it is on same machine but not work=
ing<br><br>Steps:<br>1- Put elasticsearch directory in a drive <br>2- Add it=
s path to environment variables<br>3- Set JAVE_HOME path<br>4- But when i ex=
ecute bin/elasticsearch.bat from command line it does not do anything&nbsp; <=
br>D:\elasticsearch\bin\<wbr>elasticsearch.bat<br>it shows error<br>The syst=
em cannot find the path specified.&nbsp; <br><br>On Tuesday, July 3, 2012 1:=
09:32 PM UTC+5, ruflin wrote:<blockquote class=3D"gmail_quote" style=3D"marg=
in:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgc=
olor=3D"#FFFFFF"><div>is elasticsearch running?</div><div><br></div><div>if e=
lasticsearch is on the same machine, the default configuration works.</div><=
div><br>On 03.07.2012, at 15:06, Amir Shaheen &lt;<a href=3D"mailto:a.shahee=
e...@gmail.com" target=3D"_blank">a.shahe...@gmail.com</a>&gt; wrote:<br><br><=
/div><div></div><blockquote type=3D"cite"><div>How can i configure "ElasticS=
earch Server " on Windows7 for using Elastica<br><br>On Tuesday, July 3, 201=
2 12:26:10 PM UTC+5, Amir Shaheen wrote:<blockquote class=3D"gmail_quote" st=
yle=3D"margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1e=
x">I have installed Elastica on my machine <br><br>
<b>Fatal error</b>:  Uncaught exception 'Elastica_Exception_Client' with
 message 'Couldnt connect to host, ElasticSearch down?' in=20
D:\xampp\htdocs\surch\lib\<wbr>Elastica\Transport\Http.php:<wbr>117
Stack trace:
#0 D:\xampp\htdocs\surch\lib\<wbr>Elastica\Request.php(213):=20
Elastica_Transport_Http-&gt;exec(<wbr>Array)
#1 D:\xampp\htdocs\surch\lib\<wbr>Elastica\Client.php(379):=20
Elastica_Request-&gt;send()
#2 D:\xampp\htdocs\surch\lib\<wbr>Elastica\Index.php(368):=20
Elastica_Client-&gt;request('<wbr>twitter/', 'DELETE', Array, Array)
#3 D:\xampp\htdocs\surch\lib\<wbr>Elastica\Index.php(127):=20
Elastica_Index-&gt;request('', 'DELETE')
#4 D:\xampp\htdocs\surch\lib\<wbr>Elastica\Index.php(173):=20
Elastica_Index-&gt;delete()
#5 D:\xampp\htdocs\surch\index.<wbr>php(49): Elastica_Index-&gt;create(Array=
,
 true)
#6 {main}
  thrown in <b>D:\xampp\htdocs\surch\lib\<wbr>Elastica\Transport\Http.php</b=
> on line <b>11</b><br><br>i think my elasticsearch library not setup.<br>Pl=
ease help me to work normal with Elastica (elasticsearch)<br></blockquote></=
div></blockquote></div></blockquote></div></blockquote></div></blockquote></=
div></blockquote></body></html>=

--Apple-Mail-8B713142-5D77-4B2B-8DDF-590E7966D07D--