Sugarcrm not connecting to ES server

I have an es server configured and running. When I browse to the server
using port 9200 I get the expected response.

es.canarylabs.com:9200 (local only)

{
"ok" : true,
"status" : 200,
"name" : "Nebulos",
"version" : {
"number" : "0.90.0",
"snapshot_build" : false
},
"tagline" : "You Know, for Search"
}

This produces errors in the php log,

[Tue Jun 11 15:57:12 2013] [error] [client 192.168.0.126] PHP Fatal error: Call to undefined function curl_init() in /var/www/get_url.php on line 37, referer: https://sugar.canarylabs.com/index.php?module=Contacts&action=DetailView&record=df044d93-56a4-471c-9276-f29c9d3f633c
[Tue Jun 11 15:59:34 2013] [error] [client 192.168.0.126] PHP Fatal error: Call to undefined function curl_init() in /var/www/get_url.php on line 37, referer: https://sugar.canarylabs.com/index.php?module=Contacts&action=DetailView&record=df044d93-56a4-471c-9276-f29c9d3f633c
[Tue Jun 11 16:12:24 2013] [error] [client 108.183.26.73] PHP Fatal error: Call to undefined function curl_init() in /var/www/include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php on line 112, referer: https://sugar.canarylabs.com/index.php?module=Leads&action=index
[Tue Jun 11 16:12:24 2013] [error] [client 108.183.26.73] PHP Fatal error: Call to undefined function curl_init() in /var/www/include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php on line 112, referer: https://sugar.canarylabs.com/index.php?module=Leads&action=index
[Tue Jun 11 16:12:40 2013] [error] [client 192.168.0.126] PHP Fatal error: Call to undefined function curl_init() in /var/www/include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php on line 112, referer: https://sugar.canarylabs.com/index.php?module=Administration&action=index
[Tue Jun 11 16:12:51 2013] [error] [client 108.183.26.73] PHP Fatal error: Call to undefined function curl_init() in /var/www/include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php on line 112, referer: https://sugar.canarylabs.com/index.php?module=Leads&action=index
[Tue Jun 11 16:13:08 2013] [error] [client 108.183.26.73] PHP Fatal error: Call to undefined function curl_init() in /var/www/include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php on line 112, referer: https://sugar.canarylabs.com/index.php?module=Leads&action=index
[Tue Jun 11 16:13:10 2013] [error] [client 108.183.26.73] PHP Fatal error: Call to undefined function curl_init() in /var/www/include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php on line 112, referer: https://sugar.canarylabs.com/index.php?module=Leads&action=index
[Tue Jun 11 16:13:11 2013] [error] [client 108.183.26.73] PHP Fatal error: Call to undefined function curl_init() in /var/www/include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php on line 112, referer: https://sugar.canarylabs.com/index.php?module=Leads&action=index
[Tue Jun 11 16:13:11 2013] [error] [client 108.183.26.73] PHP Fatal error: Call to undefined function curl_init() in /var/www/include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php on line 112, referer: https://sugar.canarylabs.com/index.php?module=Leads&action=index

Sugar support is telling me there is an issue with the configuration of the ES server but I tend to disagree. Does any of this make sense you the community?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Am Dienstag, 9. Juli 2013 16:28:05 UTC+2 schrieb Chris Brooks:

I have an es server configured and running. When I browse to the server
using port 9200 I get the expected response.

es.canarylabs.com:9200 (local only)

{
"ok" : true,
"status" : 200,
"name" : "Nebulos",
"version" : {
"number" : "0.90.0",
"snapshot_build" : false
},
"tagline" : "You Know, for Search"
}

This produces errors in the php log,

[Tue Jun 11 15:57:12 2013] [error] [client 192.168.0.126] PHP Fatal error: Call to undefined function curl_init() in /var/www/get_url.php on line 37, referer: https://sugar.canarylabs.com/index.php?module=Contacts&action=DetailView&record=df044d93-56a4-471c-9276-f29c9d3f633c
[Tue Jun 11 15:59:34 2013] [error] [client 192.168.0.126] PHP Fatal error: Call to undefined function curl_init() in /var/www/get_url.php on line 37, referer: https://sugar.canarylabs.com/index.php?module=Contacts&action=DetailView&record=df044d93-56a4-471c-9276-f29c9d3f633c
[Tue Jun 11 16:12:24 2013] [error] [client 108.183.26.73] PHP Fatal error: Call to undefined function curl_init() in /var/www/include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php on line 112, referer: https://sugar.canarylabs.com/index.php?module=Leads&action=index
[Tue Jun 11 16:12:24 2013] [error] [client 108.183.26.73] PHP Fatal error: Call to undefined function curl_init() in /var/www/include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php on line 112, referer: https://sugar.canarylabs.com/index.php?module=Leads&action=index
[Tue Jun 11 16:12:40 2013] [error] [client 192.168.0.126] PHP Fatal error: Call to undefined function curl_init() in /var/www/include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php on line 112, referer: https://sugar.canarylabs.com/index.php?module=Administration&action=index
[Tue Jun 11 16:12:51 2013] [error] [client 108.183.26.73] PHP Fatal error: Call to undefined function curl_init() in /var/www/include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php on line 112, referer: https://sugar.canarylabs.com/index.php?module=Leads&action=index
[Tue Jun 11 16:13:08 2013] [error] [client 108.183.26.73] PHP Fatal error: Call to undefined function curl_init() in /var/www/include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php on line 112, referer: https://sugar.canarylabs.com/index.php?module=Leads&action=index
[Tue Jun 11 16:13:10 2013] [error] [client 108.183.26.73] PHP Fatal error: Call to undefined function curl_init() in /var/www/include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php on line 112, referer: https://sugar.canarylabs.com/index.php?module=Leads&action=index
[Tue Jun 11 16:13:11 2013] [error] [client 108.183.26.73] PHP Fatal error: Call to undefined function curl_init() in /var/www/include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php on line 112, referer: https://sugar.canarylabs.com/index.php?module=Leads&action=index
[Tue Jun 11 16:13:11 2013] [error] [client 108.183.26.73] PHP Fatal error: Call to undefined function curl_init() in /var/www/include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php on line 112, referer: https://sugar.canarylabs.com/index.php?module=Leads&action=index

Sugar support is telling me there is an issue with the configuration of the ES server but I tend to disagree. Does any of this make sense you the community?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

I think you should enable the curl module for php

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

apt-get install php5-curl on the sugar server will do it correct?

On Tuesday, July 9, 2013 10:52:35 AM UTC-4, cthoma wrote:

I think you should enable the curl module for php

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

It depends on your installation.
But after restarting your webserver(apache2 ?), it should work.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

It depends on your installation.
But after restarting your webserver(apache2 ?), it should work.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

That worked, thank you very much!

On Tue, Jul 9, 2013 at 2:23 PM, cthoma thch0014@gmail.com wrote:

It depends on your installation.
But after restarting your webserver(apache2 ?), it should work.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/tGUKGbQyy48/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.