Kibana permission denied, open '/etc/kibana/kibana.yml'

I have Kibana installed under the sudo user. As I try to run

/usr/share/kibana/bin/kibana -c /etc/kibana/kibana.yml

I get an error:

Error: EACCES: permission denied, open '/etc/kibana/kibana.yml'

kibana.yml chmod is 660 and chown is root:kibana

The user is in the kibana group.

Can somebody tell me please what is wrong with that?

Can you please check ls -l /etc/kibana/ for permissions again ?

Result is

-rwxrwx--- 1 root kibana  130 Jun 23 16:55 kibana.keystore
-rw-rw---- 1 root kibana 5066 Jun 23 18:10 kibana.yml
-rw-r--r-- 1 root kibana  216 Jun 10 22:24 node.options

I did it according this video tutorial where he calls

/usr/share/kibana/bin/kibana -c /etc/kibana/kibana.yml

BUT

as I start the Kibana according Digital ocean tutorial

sudo systemctl enable kibana
sudo systemctl start kibana

it works. Now I am not sure what is the difference and if the config file is that one I set up.

If you've installed the package, then please use systemctl to manage the process.

Ok thank you. @warkolm

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.