On 2023/11/07 21:49:56 +0100, Alexander Klimov <a...@kli.mov> wrote: > Hello dear maintainers, > > Not very dramatic, but also not very convenient: > > pkg_add opensearch opensearch-dashboards > echo 'plugins.security.disabled: true' >>/etc/opensearch/opensearch.yml > rcctl start opensearch > sed -i s/https/http/g /etc/opensearch-dashboards/opensearch_dashboards.yml > sed -i 's/^opensearch_security/#opensearch_security/' > /etc/opensearch-dashboards/opensearch_dashboards.yml > rcctl start opensearch_dashboards > > It's up and running and I can even open it in the browser. But! > > rcctl stop opensearch_dashboards says nothing as if it's stopped. > > rcctl -d start opensearch_dashboards tries to start it (as if it's stopped), > but complains about the already used :5601. > > Ask me anything.
Seems that with a previous update the pexp doesn't match the opensearch-dashboards process anymore, so that rcctl thinks the daemon failed. Are you running -stable by chance? I'm wondering whether this change happened with the 2.11 update or earlier. Index: Makefile =================================================================== RCS file: /home/cvs/ports/www/opensearch-dashboards/Makefile,v retrieving revision 1.15 diff -u -p -r1.15 Makefile --- Makefile 21 Oct 2023 11:30:54 -0000 1.15 +++ Makefile 8 Nov 2023 08:06:57 -0000 @@ -3,6 +3,7 @@ COMMENT = visualization tool for data in V = 2.11.0 DISTNAME = opensearch-dashboards-$V-linux-x64 PKGNAME = opensearch-dashboards-$V +REVISION = 0 CATEGORIES = www Index: pkg/opensearch_dashboards.rc =================================================================== RCS file: /home/cvs/ports/www/opensearch-dashboards/pkg/opensearch_dashboards.rc,v retrieving revision 1.2 diff -u -p -r1.2 opensearch_dashboards.rc --- pkg/opensearch_dashboards.rc 3 Mar 2023 18:36:04 -0000 1.2 +++ pkg/opensearch_dashboards.rc 8 Nov 2023 08:07:15 -0000 @@ -6,7 +6,7 @@ daemon_execdir="${TRUEPREFIX}/opensearch . /etc/rc.d/rc.subr -pexp="${TRUEPREFIX}/bin/node ${TRUEPREFIX}/opensearch-dashboards/bin/../src/cli/dist${daemon_flags:+ ${daemon_flags}}" +pexp="${TRUEPREFIX}/bin/node ${TRUEPREFIX}/opensearch-dashboards/src/cli/dist${daemon_flags:+ ${daemon_flags}}" rc_bg=YES rc_reload=NO