ZABBIX 2.4 can’t connect to the database [How to Solve]

service   zabbix-server   start   Success, but

ss -tnl No 15001

#> tail -f /var/log/zabbix/zabbix_server.log, Failed to connect to database:

connection to database ‘zabbix’ failed:   Can’t connect to *.*.*.* server

With The database account of the ZABBIX_server configuration file has no problem logging in to the database, indicating that the configuration file has no problem

After repeated tossing, it was found that SELinux was not shut down and prevented communication

#> setenforce 0       // ZABBIX started successfully, SS – tnlp   A lot of progress, success, grandma’s legs

Similar Posts: