I have a strange problem. I compile zabbix agent in a clean ubuntu trusty (14.04) chroot or host. If i try to start this agent on an trusty server i get:
zabbix_agentd [26812]: user zabbix does not exist zabbix_agentd [26812]: cannot run as root!
If i build an agent same way in an precise (12.04) chroot the agent can be started without any problems and runs well.
The user "zabbix" exists on system where i want to start the agent.
I use the following command line to configure/compile the agent:
./configure --prefix=/opt/zabbix-agent --enable-agent --enable-static
make install