Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2015 13:32:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197949] elasticsearch service stop not working
Message-ID:  <bug-197949-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: holger@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@system:/usr/ports # cat /var/run/elasticsearch.pid
38853
root@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197949-13>