Hello all,
I have a problem with starting one of the precompiled agents I downloaded from the Zabbix website.
I placed it in /usr/sbin and created the zabbix user. Furthermore, the config file is in /etc/zabbix/zabbix_agentd.conf.
What happens is the following:
The agent doesn't change to zabbix user by itself. When I change to the zabbix user and then start the agent, everything works fine. Collection from the Zabbix server also starts.
What am I missing here?
I have a problem with starting one of the precompiled agents I downloaded from the Zabbix website.
I placed it in /usr/sbin and created the zabbix user. Furthermore, the config file is in /etc/zabbix/zabbix_agentd.conf.
What happens is the following:
Code:
root@dboran01:~# /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf zabbix_agentd [5016]: User zabbix does not exist. zabbix_agentd [5016]: Cannot run as root ! root@dboran01:~# su - zabbix zabbix@dboran01:~$ /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf zabbix@dboran01:~$ ps ax | grep zabbix 5017 pts/0 S 0:00 su - zabbix 5023 ? SN 0:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf 5024 ? RN 0:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf 5025 ? SN 0:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf 5026 ? SN 0:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf 5027 ? SN 0:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf 5028 ? SN 0:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf 5030 pts/0 S+ 0:00 grep zabbix zabbix@dboran01:~$
What am I missing here?


Comment