I installed the kibana 5.5 tar. file. to make it run as a service i copied the kibana folder in (opt/kibana) and copied the kibana file (bin/kibana) to (etc/init.d) folder and ran the command
sudo update-rc.d kibana defaults 95
after it whenever i try to run sudo service kibana start
it says ( "unable to find usable node.js executable ").
It would be very easy to switch from running Kibana from the tar you downloaded to running the service.
Just follow the instructions to either set up the repo so that you can use apt-get install kibana, or download the .deb package and dpkg -i kibana..<your version>.deb.
Then copy any config file changes you have made in your kibana.yml from your tar install to /etc/kibana/kibana.yml
Then service kibana start. Since Kibana stores all it's objects in Elasticsearch it should all be there in your Kibana running as a service.
You can also download and install the Elasticsearch .deb package. Then you should edit /etc/elasticsearch/elasticsearch.yml and make sure your data path points to your previous data directory, or copy your data directory from your old tar.gz install to the new default location /var/lib/elasticsearch/nodes/
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.