弹性搜索(1.6)没有在带有jdk1.7.0_71的windows7上启动

时间:2015-06-25 20:22:38

标签: elasticsearch

我是弹性搜索的新手,当我开始它时...保持低于警告。任何人都可以在这里帮忙......有什么需要改变。

[2015-06-25 13:04:15,143][WARN ][bootstrap                ] jvm uses the client vm, make sure to run `java` with the server vm for best performance by adding `-server` to the command line
    [2015-06-25 13:04:15,244][INFO ][node                     ] [Kubik] version[1.6.0], pid[20068], build[cdd3ac4/2015-06-09T13:36:34Z]
    [2015-06-25 13:04:15,244][INFO ][node                     ] [Kubik] initializing ...
    [2015-06-25 13:04:15,247][INFO ][plugins                  ] [Kubik] loaded [], sites []
    [2015-06-25 13:04:15,277][INFO ][env                      ] [Kubik] using [1] data paths, mounts [[System (C:)]], net usable_space [109.3gb], net total_space [238.1gb], types [NTFS]
    [2015-06-25 13:04:18,034][INFO ][node                     ] [Kubik] initialized
    [2015-06-25 13:04:18,034][INFO ][node                     ] [Kubik] starting ...
    [2015-06-25 13:04:18,317][INFO ][transport                ] [Kubik] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/10.154.249.29:9300]}
    [2015-06-25 13:04:18,669][INFO ][discovery                ] [Kubik] elasticsearch/ZWZR28dARWqqEf8FOn0Hgw
    [2015-06-25 13:04:18,688][WARN ][transport.netty          ] [Kubik] exception caught on transport layer [[id: 0xdfa8e460]], closing connection
    java.net.SocketException: Permission denied: no further information
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
        at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)
        at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
        at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
        at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
        at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
        at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
        at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)

1 个答案:

答案 0 :(得分:7)

解决了我的问题....将此作为答案,以便对其他人有所帮助。

转到已安装的ElasticSearch设置并转到" config" 文件夹,然后提交 " elasticsearch.yml" 并使用" 127.0.0.1" 添加/修改' network.host' 属性。