[Bug 251925] net-mgmt/zabbix5-agent - init stop command doesn't work

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 17 20:50:29 UTC 2020


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

            Bug ID: 251925
           Summary: net-mgmt/zabbix5-agent - init stop command doesn't
                    work
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: boris.tassou at securmail.fr
                CC: pg at pakhom.spb.ru
                CC: pg at pakhom.spb.ru
             Flags: maintainer-feedback?(pg at pakhom.spb.ru)

Hi,

On a 12.1 with :
[root at skoh ~]# pkg info | grep zabbix
zabbix5-agent-5.0.6            Enterprise-class open source distributed
monitoring (agent) LTS

When i want to perform a restart, i have this message : 
[root at skoh ~]# /usr/local/etc/rc.d/zabbix_agentd restart
Stopping zabbix_agentd.
usage: kill [-s signal_name] pid ...
       kill -l [exit_status]
       kill -signal_name pid ...
       kill -signal_number pid ...
zabbix_agentd already running?  (pid=45676 45677 45678 45679 45680 45681).
[root at skoh ~]# service zabbix_agentd restart
Stopping zabbix_agentd.
usage: kill [-s signal_name] pid ...
       kill -l [exit_status]
       kill -signal_name pid ...
       kill -signal_number pid ...
zabbix_agentd already running?  (pid=45676 45677 45678 45679 45680 45681).

A stop command doesn't work either :
[root at skoh ~]# service zabbix_agentd stop
Stopping zabbix_agentd.
usage: kill [-s signal_name] pid ...
       kill -l [exit_status]
       kill -signal_name pid ...
       kill -signal_number pid ...
[root at skoh ~]# ps aux | grep zabbix
zabbix   45676  0.0  0.4   20240   3884  -  I    30Nov20     0:00.00
/usr/local/sbin/zabbix_agentd -c /usr/local/etc/zabbix5/zabbix_agentd.conf
zabbix   45677  0.0  0.4   20240   4052  -  S    30Nov20     0:55.32
zabbix_agentd: collector [idle 1 sec] (zabbix_agentd)
zabbix   45678  0.0  0.4   20428   4156  -  I    30Nov20     0:38.82
zabbix_agentd: listener #1 [waiting for connection] (zabbix_agentd)
zabbix   45679  0.0  0.4   20412   4164  -  I    30Nov20     0:37.25
zabbix_agentd: listener #2 [waiting for connection] (zabbix_agentd)
zabbix   45680  0.0  0.4   20412   4164  -  I    30Nov20     0:38.49
zabbix_agentd: listener #3 [waiting for connection] (zabbix_agentd)
zabbix   45681  0.0  0.4   20772   4088  -  S    30Nov20     0:48.52
zabbix_agentd: active checks #1 [idle 1 sec] (zabbix_agentd)
root     65240  0.0  0.0     524    324  0  R+   21:46       0:00.00 grep
zabbix

To perform, i need to kill the main process and then use the start command.

Thanks for the help.

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


More information about the freebsd-ports-bugs mailing list