Hello guys, so sadly I have some problems with starting a zabbix. I installed it like day ago and still didnt manage to make it work without problems.
Web interface is working fine, but it doesn't detect that my server is running.

Even though it seems like it detected the server

All my settings are default, I dont know what is wrong. I a db schema without a problem, started a web interface without any big problem but this is stopping me from using Zabbix.
My config in /etc/zabbix/zabbix_server.conf (only the important parts)
DBHost=mypublicip (censored)
DBName=zabbixdb
DBUser=zabbix
DBPassword=mymysqlpassword (censored)
Of course I allowed 10050 and 10051 via ufw.
OS : Debian 10
root@david:~# systemctl restart zabbix-server zabbix-agent apache2
Job for zabbix-agent.service failed because the control process exited with error code.
See "systemctl status zabbix-agent.service" and "journalctl -xe" for details.
Job for zabbix-server.service failed because the control process exited with error code.
See "systemctl status zabbix-server.service" and "journalctl -xe" for details.
root@david:~# systemctl status zabbix-agent.service
● zabbix-agent.service - Zabbix Agent
Loaded: loaded (/lib/systemd/system/zabbix-agent.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2020-04-23 12:13:21 CEST; 2s ago
Process: 6306 ExecStart=/usr/sbin/zabbix_agentd -c $CONFFILE (code=exited, status=1/FAILURE)
Apr 23 12:13:21 david systemd[1]: zabbix-agent.service: Failed with result 'exit-code'.
Apr 23 12:13:21 david systemd[1]: Failed to start Zabbix Agent.
root@david:~# systemctl status zabbix-server.service
● zabbix-server.service - Zabbix Server
Loaded: loaded (/lib/systemd/system/zabbix-server.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2020-04-23 12:14:43 CEST; 1s ago
Process: 6326 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=1/FAILURE
Can anybody please help me? Im stuck at this point
Web interface is working fine, but it doesn't detect that my server is running.
Even though it seems like it detected the server
All my settings are default, I dont know what is wrong. I a db schema without a problem, started a web interface without any big problem but this is stopping me from using Zabbix.
My config in /etc/zabbix/zabbix_server.conf (only the important parts)
DBHost=mypublicip (censored)
DBName=zabbixdb
DBUser=zabbix
DBPassword=mymysqlpassword (censored)
Of course I allowed 10050 and 10051 via ufw.
OS : Debian 10
root@david:~# systemctl restart zabbix-server zabbix-agent apache2
Job for zabbix-agent.service failed because the control process exited with error code.
See "systemctl status zabbix-agent.service" and "journalctl -xe" for details.
Job for zabbix-server.service failed because the control process exited with error code.
See "systemctl status zabbix-server.service" and "journalctl -xe" for details.
root@david:~# systemctl status zabbix-agent.service
● zabbix-agent.service - Zabbix Agent
Loaded: loaded (/lib/systemd/system/zabbix-agent.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2020-04-23 12:13:21 CEST; 2s ago
Process: 6306 ExecStart=/usr/sbin/zabbix_agentd -c $CONFFILE (code=exited, status=1/FAILURE)
Apr 23 12:13:21 david systemd[1]: zabbix-agent.service: Failed with result 'exit-code'.
Apr 23 12:13:21 david systemd[1]: Failed to start Zabbix Agent.
root@david:~# systemctl status zabbix-server.service
● zabbix-server.service - Zabbix Server
Loaded: loaded (/lib/systemd/system/zabbix-server.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2020-04-23 12:14:43 CEST; 1s ago
Process: 6326 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=1/FAILURE
Can anybody please help me? Im stuck at this point
Comment