How to restart the Elasticsearch service on a Linux server
Installation and Administration
You should be logged in with root access to stop and start the Elasticsearch service, for example using the 'sudo -s' command.
On the Centos operating system, the Elasticsearch service can be stopped and restarted using the following commands (the exact service name may vary):
systemctl stop elasticsearch
systemctl start elasticsearch
On the Ubuntu operating system, the commands are:
service elasticsearch stop
service elasticsearch start
Note you can <TAB>-complete on the name, to get the correct Elasticsearch service name on your system.
You can monitor the progress of Elastisearch starting up in a browser, using a tool such as 'head', 'kopf', 'hq' or 'bigdesk', depending on what is available on your system:
http://<db_ip_address>:9200/_plugin/head
http://<db_ip_address>:9200/_plugin/kopf
http://<db_ip_address>:9200/_plugin/hq
http://<db_ip_address>:9200/_plugin/bigdesk/#nodes
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.