[Bug 197949] elasticsearch service stop not working

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 23 13:32:24 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197949

            Bug ID: 197949
           Summary: elasticsearch service stop not working
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: holger at freyther.de

Elasticsearch is installed on a FreeBSD 10.0-RELEASE-p12 and can not be
stopped.

0.) Verify it doesn't run
1.) Start using service eleasticsearch start
2.) Verify it runs
root at system:/usr/ports # cat /var/run/elasticsearch.pid
38853
root at system:/usr/ports # ps xua | grep java
elasticsearch 38853 116.2  5.7 1501040 236776  -  Ss    2:29PM     0:07.70
/usr/local/openjdk7/bin/java -Des.pidfile=/var/run/elasticsearch.pid -server
-Xms256m -Xmx1g -Xss256k -Djava.awt.head


3.) Stop it service elasticsearch stop
elasticsearch not running? (check /var/run/elasticsearch.pid).


I looked at elasticsearch_check_pidfile and the command jps -l doesn't list the
package but:

38853 -- process information unavailable


Proposal:
Remove the jps -l call and trust the presence of the pidfile.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list