Graylog2 / fpm-recipes

Graylog package build recipes
http://docs.graylog.org/en/latest/pages/installation/operating_system_packages.html
18 stars 19 forks source link

Start script fails silently if pid file exists #36

Closed edmundoa closed 9 years ago

edmundoa commented 9 years ago

Copied issue from https://github.com/Graylog2/graylog2-web-interface/issues/1405:

Graylog-web 1.0.2-1 is installed on Ubuntu 14.04.2 LTS. Due to misconfiguration the service dies shortly after starting, leaving the pid file behind (/var/lib/graylog-web/application.pid).

Subsequent attempts to start the graylog-web service fail silently: initctl start graylog-web

After some debugging I found it was because the pid file existed.

Update the startup script to warn that the pid file exists, or modify the startup scripts to verify that the pid in the pid file actually exists before aborting startup.

bernd commented 9 years ago

Will be fixed in the 1.1.2-3 packages.