1. 程式人生 > >elasticsearch報錯:failed send ping to zen unicast

elasticsearch報錯:failed send ping to zen unicast

故障日誌

[2018-07-23T19:34:46,733][WARN ][o.e.d.z.UnicastZenPing ] [es-node2] [1] failed send ping to {#zen_unicast_47.98.97.124_0#}{rYCo6JscRLiztNERg_YpqQ}{47.98.97.124}{47.98.97.124:9300}

java.lang.IllegalStateException: handshake failed with {#zen_unicast_47.98.97.124_0#}{rYCo6JscRLiztNERg_YpqQ}{47.98.97.124}{47.98.97.124:9300}

Caused by: org.elasticsearch.transport.RemoteTransportException: [es-node1][172.16.102.26:9300][internal:transport/handshake]

故障分析

因為它ping不同主節點的IP地址47.98.97.124:9300。因為主節點我是安裝了x-pack,安裝x-pack後會有許可權問題。所以我們也要在節點2中安裝x-pack。

故障解決

[[email protected] ~]# cd /usr/share/kibana/plugins/
[[email protected]

plugins]# /usr/share/kibana/bin/kibana-plugin install x-pack
Found previous install attempt. Deleting…
Attempting to transfer from x-pack
Attempting to transfer from https://artifacts.elastic.co/downloads/kibana-plugins/x-pack/x-pack-5.6.0.zip
Transferring 119526372 bytes………………..
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…

安裝x-pack後內建的賬號:elastic密碼:changeme

觀察日誌

[2018-07-23T20:18:33,283][INFO ][o.e.c.s.ClusterService ] [es-node2] detected_master {es-node1}{MnEFYeEWTmuEIxmVkDLdEg}{kdPCrNLeQ2OAixlz4UxD1w}{47.98.97.124}{47.98.97.124:9300}{ml.max_open_jobs=10,
ml.enabled=true}, added {{es-node1}{MnEFYeEWTmuEIxmVkDLdEg}{kdPCrNLeQ2OAixlz4UxD1w}{47.98.97.124}{47.98.97.124:9300}{ml.max_open_jobs=10, ml.enabled=true},}, reason: zen-disco-receive(from master [master {es-
node1}{MnEFYeEWTmuEIxmVkDLdEg}{kdPCrNLeQ2OAixlz4UxD1w}{47.98.97.124}{47.98.97.124:9300}{ml.max_open_jobs=10, ml.enabled=true} committed version [22]])
[2018-07-23T20:18:34,087][INFO ][o.e.l.LicenseService ] [es-node2] license [2a0d8d41-07d4-4505-9b7b-63b7d70db18e] mode [trial] - valid
[2018-07-23T20:18:34,135][INFO ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [es-node2] publish_address {47.106.141.17:9200}, bound_addresses {0.0.0.0:9200}
[2018-07-23T20:18:34,135][INFO ][o.e.n.Node ] [es-node2] started

注:發現另外一個節點已經找到了主機點

相關推薦

elasticsearchfailed send ping to zen unicast

故障日誌 [2018-07-23T19:34:46,733][WARN ][o.e.d.z.UnicastZenPing ] [es-node2] [1] failed send ping to {#zen_unicast_47.98.97.124

service docker start Failed to start docker.se

wan for part ystemd docke install 添加內容 reload .so service docker start 報錯 :Failed to start docker.service: Unit not found. 解決辦法: vi

springboot啟動Failed to configure a DataSource

failed 方便 快捷 jdb 簡化 效率 alt exc 代碼 一、背景   springboot的出現,讓項目搭建變得更方便快捷,同時簡化掉很多的樣板化配置代碼,提高開發效率。   通過idea生成springboot項目,啟動報錯:Failed to configu

Failed to load file:///...

angular.js:10967 Failed to load file:///D:/WebDemo/01html/86template.html: Cross origin requests are only supported for protocol schemes: http, da

SpringBoot莫名Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbed

1.問題描述 啟動spring boot專案,但是報錯: . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path Maven專案Failed to execute goal org.apache.maven.plugi

 ① The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 完整錯誤資訊: THIS SOFTWARE IS PROVIDED BY THE

eclipse更新SDKFailed to fetch URL http://dl-ssl.google.com/android/repository/repository-1

Android 開發使用eclipse時,更新sdk報錯:Failed to fetch URL http://dl-ssl.google.com/android/repository/repository-1 原因是由於國內網路訪問谷歌伺服器時“受阻”,所有需要。。。。 解決方法如下: 第一

maven專案打jar包的時候Failed to execute goal on project xxxx: Could not resolve dependencies for project

maven專案要打包成jar部署到伺服器上的時候報類似的錯: Failed to execute goal on project xxxx: Could not resolve dependencies for project xxxxxx:xxx:jar:0.

Failed to start LSB: Bring up/down networking.

    最近看到我的筆記, 有三十多個筆記很雞肋,食之無味,棄之可惜,一直在猶豫要不要刪除,記錄一下再刪除。。    前兩年從事於一個我都說不清我到底是開發還是運維還是打雜的工作,那時候經常會遇到這個問題,搭好了服務,用了幾天後忽然遇到這樣的問題,都說是m

小程式執行Failed to load local image resource xxx.png the server responded with?

錯誤原因: 由於這是因為初始化的時候,變數還沒渲染進去導致的。 解決方法: 在src前面加個: wx:if<image wx:if='{{customerLevel.value}}' class

maven專案啟動Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2

相信很多人啟動maven專案都遇到過這種型別的錯。me too! 原因1:jdk版本跟maven版本不一致導致的。舉個例子,jdk1.6是不支援maven 2.0.2的,jdk1.7才行。 解決方案:這個得自己查詢,jdk 與 maven 版本的對應,再去java b

vmware 安裝failed to install hcmon drivers 完美解決(含VMware15啟用碼)

首先絕大部分使用網上的方法,刪除各種驅動和登錄檔都是結果都是失敗的:再次安裝的結果仍然是: 在網上搜尋幾天找到一位大神部落格,完美解決,試了之後的結果是完美安裝,搬運如下: 解決方法: 第一步: 首先桌面上新建一個文字文件,將下面的程式碼複製進去(因為CSDN部落格複製

android studio Failed to load AppCompat ActionBar with unknown error

最近開始學Android Studio,但在第一次編寫介面的時候就遇到了問題,問題表現為新增Button之後,介面並未顯示,並且丟擲了錯誤和警告: 在Stack Overflow 上找到的解決方案:

springboot啟動專案Failed to determine a suitable driver class

轉載自:https://blog.csdn.net/AinUser/article/details/81533858 第一種情況: 在application.properties/或者application.yml檔案中沒有新增資料庫配置資訊 spring: datasource:

IDEA maven編譯專案 Failed to execute goal on project XXX

1.問題現象 使用maven install(編譯)專案報錯: [ERROR] Failed to execute goal on project basic-logic: Could not resolve dependencies for project com.basic.management

新建servletFailed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardCont

原文:https://blog.csdn.net/superit401/article/details/78273411 報錯資訊:Failed to start component [StandardEngine[Catalina].StandardHost[localh

Android開發android studio Failed to resolve: com.android.support.constraint:constraint-layout:1.0.

情景:在build.gradle檔案新增下面程式碼 compile 'com.android.support.constraint:constraint-layout:1.0.0-beta4' 點選“Sync now”後報錯: Failed to resolve:co

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile

在eclispe上執行mvn命令報錯:[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile (default-testCompile) on project VS

啟動tomcat執行maven工程Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:

控制檯報錯資訊:   解決方案:在maven工程pom.xml中新增如下依賴 <dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId&g

SpringBootFailed to load ApplicationContext( Failed to bind properties under 'logging.level')

引起條件: SpringBoot2.0下yml檔案配置SLF4j日誌輸出日誌級別 logging: level: debug 解決方法: 指定系統包路徑 logging: root: debug 指定自己的包目錄 logging: com.tuyrk.test: debug 相關資料