Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
255 views
in Technique[技术] by (71.8m points)

Elasticsearch 7.6.2 service not starting on CentOS 7.x with cPanel installed on it

I have installed elasticsearch version 7.2.6 on CentOS 7.x with cPanel on it. However, after installing it, elasticsearch service is not running. Here is the screen capture of the error. I have already tried. https://support.cpanel.net/hc/en-us/articles/360055446413-How-To-Install-Run-Elasticsearch but the issue is not resolved. Any help will be appreciated.

enter image description here

I have set my IP address in network.host

question from:https://stackoverflow.com/questions/65841724/elasticsearch-7-6-2-service-not-starting-on-centos-7-x-with-cpanel-installed-on

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You probably have data from an older ES install. If you're installing a new version and want to keep your older data, you need to go through the upgrade path.

otherwise, if you don't care about your older data and simply want to install the newer version, simply delete the content of /var/lib/elasticsearch and install the new version.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...