Hello Community -
after i enabled HTTPs on my Kibana Server - i cannot get it to start.
When i review the logs - i see the following error message:
{"type":"log","@timestamp":"2019-10-08T13:04:50Z","tags":["fatal","root"],"pid":14383,"message":"Error: Port 5601 is already in use. Another instance of Kibana may be running!\n at Root.shutdown (/usr/share/kibana/src/core/server/root/index.js:53:26)\n at Root.start (/usr/share/kibana/src/core/server/root/index.js:45:24)\n at process._tickCallback (internal/process/next_tick.js:68:7)\n at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)\n at startup (internal/bootstrap/node.js:283:19)\n at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)"
Ok i actually saw that there are no recent logs written to the file - so there seems to be a whole other Problem -
Apr 02 11:14:20 mykibana kibana[30287]: {"type":"log","@timestamp":"2020-04-02T09:14:20Z","tags":["fatal","root"],"pid":30287,"message":"Error: error:0909006C:PEM routines:get_name:no start line\n at Object.createSecureContext (_tls_common.js:135:17)\n at Server (_tls_wrap.js:873:27)\n at new Server (http
Apr 02 11:14:20 mykibana kibana[30287]: FATAL Error: error:0909006C:PEM routines:get_name:no start line
I've solved it by generating a new self-signed certificate via the OpenSSL Command and copying the .pem and the private key to config folder. After that i edited the kibana.yml file and restarted the service.
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.