0

X-Pack을 elasticsearch에 설치하고 bin/elasticsearch 명령을 사용하여 elasticsearch를 시작했습니다.X-Pack 설치 관련 문제

및 빈/키바를 사용 키바를 시작하는 동안 나는 키바에 X-팩을 설치 한 아래 언급 키바가 작동되지 않는 난 결과를 얻고있다 :

log [08:40:56.376] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready 
    log [08:40:56.526] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch 
    log [08:40:56.541] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch 
    log [08:40:56.582] [warning] You're running Kibana 5.4.0 with some different versions of Elasticsearch. Update Kibana or Elasticsearch to the same version to prevent compatibility issues: v5.4.1 @ 10.1.1.121:9200 (10.1.1.121) 
    log [08:40:56.609] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch 
    log [08:40:56.629] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready 
    log [08:40:56.636] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml 
    log [08:40:56.645] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch 
    log [08:40:56.691] [info][status][plugin:[email protected]] Status changed from yellow to green - Kibana index ready 
    log [08:40:56.702] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch 
    log [08:40:56.703] [warning][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml 
    log [08:40:56.725] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended. 
    log [08:40:56.814] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch 
    log [08:40:56.818] [warning][license][xpack] License information could not be obtained from Elasticsearch. [illegal_argument_exception] No endpoint or operation is available at [_xpack] :: {"path":"/_xpack","statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"No endpoint or operation is available at [_xpack]\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"No endpoint or operation is available at [_xpack]\"},\"status\":400}"} 
    log [08:40:56.821] [error][status][plugin:[email protected]] Status changed from yellow to red - X-Pack plugin is not installed on Elasticsearch cluster 
    log [08:40:56.823] [error][status][plugin:[email protected]] Status changed from yellow to red - X-Pack plugin is not installed on Elasticsearch cluster 
    log [08:40:56.824] [error][status][plugin:[email protected]] Status changed from yellow to red - X-Pack plugin is not installed on Elasticsearch cluster 
    log [08:40:56.825] [error][status][plugin:[email protected]] Status changed from yellow to red - X-Pack plugin is not installed on Elasticsearch cluster 
    log [08:40:56.826] [error][status][plugin:[email protected]] Status changed from yellow to red - X-Pack plugin is not installed on Elasticsearch cluster 
    log [08:40:56.833] [error][status][plugin:[email protected]] Status changed from uninitialized to red - X-Pack plugin is not installed on Elasticsearch cluster 
    log [08:40:56.865] [info][status][plugin:[email protected]] Status changed from red to yellow - Waiting for Elasticsearch 
    log [08:40:56.879] [error][status][plugin:[email protected]] Status changed from uninitialized to red - X-Pack plugin is not installed on Elasticsearch cluster 
    log [08:40:56.884] [error][status][plugin:[email protected]] Status changed from uninitialized to red - X-Pack plugin is not installed on Elasticsearch cluster 
    log [08:40:56.926] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready 
    log [08:40:56.936] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready 
    log [08:40:56.945] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready 
    log [08:40:57.120] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready 
    log [08:40:57.126] [fatal] Port 5601 is already in use. Another instance of Kibana may be running! 
FATAL Port 5601 is already in use. Another instance of Kibana may be running! 

답변

0

포트 5601는 이미 사용. Kibana의 다른 인스턴스는 실행중인 일 수 있습니다! 오류 상태로

, 당신은 이미 리눅스에서, 당신은 포트 lsof -i :5601를 사용하여 프로세스를 식별하기 위해 lsof를 사용할 수있는 경우

포트 5601에서 실행되는 무언가가있다.

그런 다음 결과에서 PID를 사용하여 프로세스를 종료 할 수 있습니다.