daily CVS update output

2023-12-15 Thread NetBSD source update
Updating src tree: P src/distrib/notes/common/main P src/sys/arch/powerpc/include/pmap.h P src/sys/arch/powerpc/include/vmparam.h P src/sys/arch/powerpc/include/oea/pmap.h P src/sys/arch/powerpc/oea/pmap.c P src/sys/arch/powerpc/oea/pmap_kernel.c P src/sys/arch/powerpc/powerpc/bus_dma.c P

Re: grafana rc.d scripts reports process not running

2023-12-15 Thread Thomas Klausner
Thanks for the suggestions. It turns out that starting 'grafana-server ...' ends up starting 'grafana server ...' which made the process name check fail - it expected arg0 to be grafana-server, not grafana. I've changed the script to start grafana as 'grafana server' instead and it works now.

Re: grafana rc.d scripts reports process not running

2023-12-15 Thread Robert Elz
Date:Fri, 15 Dec 2023 18:51:47 +0300 From:Valery Ushakov Message-ID: | Can you run the status command with sh -x? Actually run it with -X instead (the rc stuff fiddles with fd's so much it is possible it might steal some of the -x output otherwise). sh

Re: grafana rc.d scripts reports process not running

2023-12-15 Thread Valery Ushakov
On Fri, Dec 15, 2023 at 15:17:57 +0100, Thomas Klausner wrote: > So grafana saved its PID into /var/run/grafana.pid, which is what's > configured in the rc.d script as pidfile, but the status command > thinks it's not running, despite a grafana process with the > corresponding PID running. Can

grafana rc.d scripts reports process not running

2023-12-15 Thread Thomas Klausner
Hi! I'm currently trying out grafana, and I noticed one weirdness after starting it using the pkgsrc rc.d script. # /etc/rc.d/grafana status grafana is not running. # cat /var/run/grafana.pid 21719# ps -auxwww | grep 21719 root 7846 0.0 0.0 12468 2212 pts/4 O+3:14nachm.