Update-rc.d: /etc/init.d/logstash: file does not exist


(Nina Brown) #1

I installed logstash 6.4 on Ubuntu 14, but when I try to run it on boot
sudo update-rc.d logstash defaults 96 9
I get the error:
'update-rc.d: /etc/init.d/logstash: file does not exist'
looks like it's not running as a service?


(Magnus Bäck) #2

I assume you installed the Debian package? Ubuntu 14.04 uses Upstart which, IIRC, doesn't rely on files in /etc/init.d. Does /etc/init/logstash exist? What does status logstash return?


(Nina Brown) #3

yes the debian package, /etc/init/logstash does not exist and service logstash status says, logstash start/running, process 6316


(Magnus Bäck) #4

Okay, that's a bit surprising. Well, on an Upstart-based system I don't think /etc/init.d/logstash is supposed to exist and you're not supposed to use update-rc.d. What I don't understand is that Upstart seems to be aware of Logstash even though there's no /etc/init/logstash. I don't know what's going on.


(system) #6

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