Public bug reported:

According to /etc/init.d/elasticsearch, it's supposed to save its PID
file in /var/run/elasticsearch.pid. But it can't, because it's also
supposed to run as the user elasticsearch, which doesn't have write
access to /var/run.

The init script needs to be changed to use /var/run/$NAME/$NAME.pid and
to create /var/run/$NAME if it doesn't exist, and make it owned by the
user elasticsearch and group elasticsearch, before starting
elasticsearch.

** Affects: elasticsearch (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1535953

Title:
  elasticsearch can't start because it can't write to its PID file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/elasticsearch/+bug/1535953/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to