Im trying to install zabbix-agent
3.2 on Raspberry Pi running Ubuntu Mate 16.04. The version in the repo is out of date and running the .deb
file does not work (possibly wrong architecture).
Starting with these instructions I have done the following:
- Downloaded source files
- Untar into
/usr/local/src/
Executed these commands:
$ sudo ./configure --enable-agent --with-GnuTLS $ sudo apt-get install apt-file $ sudo apt-file update $ ./configure --enable-agent --with-GnuTLS $ sudo make install $ sudo useradd -g zabbix zabbix $ sudo groupadd zabbix
Currently running this:
sudo /usr/local/src/zabbix-3.2.11/zabbix_agentd
Will create the following log entry:
tail -f /var/log/zabbix_agentd.log
zabbix_agentd [18112]: cannot open PID file [/tmp/zabbix_agentd.pid]: [13]
Permission denied
I'm sure this is a permissions issue with the directory but once I can run this without error how do I make it run as a service?
0 Answers