decanter installation issue

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

decanter installation issue

mtod09
I'm trying to install decanter in a servicemix 7.0 on a windows 2012 R2 system.

I'm following the installation at this location.
https://karaf.apache.org/decanter_installation.html

When I get to installing the collectors it hangs during the install.
The log shows the following.

Thanks for the help.

Mike

2017-03-08 00:14:08,310 | ERROR | eChecker RUNNING | NodeChecker                      | 260 - org.apache.karaf.decanter.kibana-4.x - 1.1.0 | Error executing NodesInfo!
org.apache.http.conn.HttpHostConnectException: Connect to localhost:9200 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
        at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:158)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
        at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
        at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
        at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
        at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
        at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
        at io.searchbox.client.http.JestHttpClient.execute(JestHttpClient.java:47)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
        at io.searchbox.client.config.discovery.NodeChecker.runOneIteration(NodeChecker.java:65)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
        at com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
        at com.google.common.util.concurrent.Callables$3.run(Callables.java:100)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[:1.8.0_121]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[:1.8.0_121]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[:1.8.0_121]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
        at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)[:1.8.0_121]
        at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)[:1.8.0_121]
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)[:1.8.0_121]
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[:1.8.0_121]
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[:1.8.0_121]
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)[:1.8.0_121]
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[:1.8.0_121]
        at java.net.Socket.connect(Socket.java:589)[:1.8.0_121]
        at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
        at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: decanter installation issue

jbonofre
Hi

Are you using IPv6 ?

Is it a vanilla ServiceMix distribution or did you change some config in etc (especially host set to localhost or 127.0.0.1 instead of 0.0.0.0) ?

I will try to reproduce.

Regards
JB
On Mar 8, 2017, at 06:20, mtod09 <[hidden email]> wrote:
I'm trying to install decanter in a servicemix 7.0 on a windows 2012 R2
system.

I'm following the installation at this location.
https://karaf.apache.org/decanter_installation.html
<https://karaf.apache.org/decanter_installation.html>

When I get to installing the collectors it hangs during the install.
The log shows the following.

Thanks for the help.

Mike

2017-03-08 00:14:08,310 | ERROR | eChecker RUNNING | NodeChecker
| 260 - org.apache.karaf.decanter.kibana-4.x - 1.1.0 | Error executing
NodesInfo!
org.apache.http.conn.HttpHostConnectException: Connect to localhost:9200
[localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused:
connect
at
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:158)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
at
org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
at
org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
at
org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
at
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
at
org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
at
org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
at
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
at
io.searchbox.client.http.JestHttpClient.execute(JestHttpClient.java:47)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
at
io.searchbox.client.config.discovery.NodeChecker.runOneIteration(NodeChecker.java:65)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
at
com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
at
com.google.common.util.concurrent.Callables$3.run(Callables.java:100)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
at
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[:1.8.0_121]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[:1.8.0_121]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[:1.8.0_121]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native
Method)[:1.8.0_121]
at
java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)[:1.8.0_121]
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)[:1.8.0_121]
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[:1.8.0_121]
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[:1.8.0_121]
at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)[:1.8.0_121]
at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[:1.8.0_121]
at java.net.Socket.connect(Socket.java:589)[:1.8.0_121]
at
org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]
at
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)[260:org.apache.karaf.decanter.kibana-4.x:1.1.0]



--
View this message in context: http://karaf.922171.n3.nabble.com/decanter-installation-issue-tp4049782.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: decanter installation issue

mtod09
it was a fresh install I did install jolokia, webconsole, activemq-broker, camel-restlet and hawtio.

I made a change to the elasticsearch.yml to see if I could get this to work.

Tried network.host 127.0.0.1 then localhost and finally the local system's IP address 10.121.45.144
Also added http.port and set it to 9200-9300

None of that worked.

The system IP is :

Ethernet adapter Ethernet 2:

   Connection-specific DNS Suffix  . : corp.local
   Link-local IPv6 Address . . . . . : fe80::843c:824f:f5d4:e2ea%15
   IPv4 Address. . . . . . . . . . . : 10.121.45.144
   Subnet Mask . . . . . . . . . . . : 255.255.252.0
   Default Gateway . . . . . . . . . : 10.121.44.1

Tunnel adapter isatap.corp.local:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : corp.local

Also note this is an AWS box.

Thanks for helping out.

Mike
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: decanter installation issue

jbonofre
Thanks Mike,

let me try to reproduce with SMX (just tested and it works fine with
Karaf "vanilla").

Regards
JB

On 03/08/2017 07:12 AM, mtod09 wrote:

> it was a fresh install I did install jolokia, webconsole, activemq-broker,
> camel-restlet and hawtio.
>
> I made a change to the elasticsearch.yml to see if I could get this to work.
>
> Tried network.host 127.0.0.1 then localhost and finally the local system's
> IP address 10.121.45.144
> Also added http.port and set it to 9200-9300
>
> None of that worked.
>
> The system IP is :
>
> Ethernet adapter Ethernet 2:
>
>    Connection-specific DNS Suffix  . : corp.local
>    Link-local IPv6 Address . . . . . : fe80::843c:824f:f5d4:e2ea%15
>    IPv4 Address. . . . . . . . . . . : 10.121.45.144
>    Subnet Mask . . . . . . . . . . . : 255.255.252.0
>    Default Gateway . . . . . . . . . : 10.121.44.1
>
> Tunnel adapter isatap.corp.local:
>
>    Media State . . . . . . . . . . . : Media disconnected
>    Connection-specific DNS Suffix  . : corp.local
>
> Also note this is an AWS box.
>
> Thanks for helping out.
>
> Mike
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/decanter-installation-issue-tp4049782p4049784.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: decanter installation issue

mtod09
Did you get a chance to reproduce this issue?

Thanks

Mike
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: decanter installation issue

jbonofre
Hi Mike,

I'm on it (sorry I'm in China this week and some different time zones).

I keep you posted asap.

Regards
JB

On 03/16/2017 01:27 AM, mtod09 wrote:

> Did you get a chance to reproduce this issue?
>
> Thanks
>
> Mike
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/decanter-installation-issue-tp4049782p4049855.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Loading...