[root@es-d-2 ~]# env MANPATH=/opt/local/man:/usr/share/man:/opt/local/gcc47/man:/opt/local/java/sun6/man:/opt/local/lib/perl5/man:/opt/local/lib/perl5/vendor_perl/man HZ=100 SHELL=/usr/bin/bash TERM=xterm ES_HEAP_SIZE=8192M ES_JAVA_OPTS=-d64 -server -Des.processors=4 -Des.node.name=es-d-2 -Des.node.machine=44454c4c-5200-1038-8030-c2c04f365931 COLUMNS=238 PAGER=less MAIL=/var/mail/root PATH=/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/sbin:/usr/bin:/sbin PWD=/root JAVA_HOME=/opt/jdk1.7.0_25/ LINES=74 SHLVL=1 HOME=/root TERMINFO=/opt/local/share/lib/terminfo LOGNAME=root FTPMODE=auto
Start command: /opt/es/bin/elasticsearch -d -p /export/es/logs/elasticsearch.pid W dniu czwartek, 6 lutego 2014 13:02:37 UTC+1 użytkownik Boaz Leskes napisał: > > Hi Pawel, > > The only thing I can think of is that potentially some java system > properties or ENV variables get in the way - things like forcing it use a > proxy which I mentioned earlier. Can you list the ENV variables and the > exact command line that is used to start elastic search? > > Cheers, > Boaz > > On Wednesday, February 5, 2014 3:36:23 PM UTC+1, Paweł Krzaczkowski wrote: >> >> Even better .. if I set cluster name on none 192.168.0.202 to my default >> cluster name - the node will join the cluster and the connection is working >> fine. The only thing that is not working is if i change the cluster name to >> "monitoring" and try to send Marvel data to this cluster node. >> >> Paweł >> >> W dniu środa, 5 lutego 2014 14:51:59 UTC+1 użytkownik Boaz Leskes napisał: >>> >>> Perhaps you have a proxy configured? >>> >>> curl listens to a couple of environment variables by default: see >>> http://curl.haxx.se/docs/manpage.html >>> >>> If so, you can tell ES to use the same by adding the following >>> properties upon startup: -Dhttp.proxyHost=webcache.example.com >>> >>> -Dhttp.proxyPort=8080 >>> >>> >>> >>> >>> On Wednesday, February 5, 2014 2:26:06 PM UTC+1, Paweł Krzaczkowski >>> wrote: >>>> >>>> Same error >>>> >>>> [2014-02-05 14:25:17,254][ERROR][marvel.agent.exporter ] could >>>> notconnect to any configured elasticsearch instances >>>> : [192.168.0.202:9200] >>>> [2014-02-05 14:25:18,204][ERROR][marvel.agent.exporter ] error >>>> connecting to [192.168.0.202:9200] >>>> java.net.SocketTimeoutException: connect timed out >>>> at java.net.PlainSocketImpl.socketConnect(Native Method) >>>> at java.net.AbstractPlainSocketImpl.doConnect( >>>> AbstractPlainSocketImpl.java:339) >>>> at java.net.AbstractPlainSocketImpl.connectToAddress( >>>> AbstractPlainSocketImpl.java:200) >>>> at java.net.AbstractPlainSocketImpl.connect( >>>> AbstractPlainSocketImpl.java:182) >>>> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) >>>> at java.net.Socket.connect(Socket.java:579) >>>> at sun.net.NetworkClient.doConnect(NetworkClient.java:175) >>>> at sun.net.www.http.HttpClient.openServer(HttpClient.java:378) >>>> at sun.net.www.http.HttpClient.openServer(HttpClient.java:473) >>>> at sun.net.www.http.HttpClient.<init>(HttpClient.java:203) >>>> at sun.net.www.http.HttpClient.New(HttpClient.java:290) >>>> at sun.net.www.http.HttpClient.New(HttpClient.java:306) >>>> at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient >>>> (HttpURLConnection.java:995) >>>> at sun.net.www.protocol.http.HttpURLConnection.plainConnect( >>>> HttpURLConnection.java:931) >>>> at sun.net.www.protocol.http.HttpURLConnection.connect( >>>> HttpURLConnection.java:849) >>>> at org.elasticsearch.marvel.agent.exporter.ESExporter. >>>> openConnection(ESExporter.java:317) >>>> at org.elasticsearch.marvel.agent.exporter.ESExporter. >>>> openConnection(ESExporter.java:293) >>>> at org.elasticsearch.marvel.agent.exporter.ESExporter. >>>> access$200(ESExporter.java:56) >>>> at org.elasticsearch.marvel.agent.exporter. >>>> ESExporter$ConnectionKeepAliveWorker.run(ESExporter.java:734) >>>> at java.lang.Thread.run(Thread.java:724) >>>> >>>> >>>> -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5b1cc553-6663-4e49-9ff3-5b95edfcb690%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
