Solution to zabbix server is running | No

  • 2020-05-30 21:24:28
  • OfStack

According to the log error detection


cat /var/log/zabbix/zabbix_server.log 

zabbix process view


ps aux |grep zabbix 

View and listen on zabbix server-- zabbix agent 10050-- port 10051


netstat -nplut |grep zabbix

Login error resolution zabbix server is running | No.

Solution 1

setsebool-P httpd_can_network_connect on selinux allows it to pass through the httpd service

Close the selinux

Permanent ban vi /etc/selinux/config


#SELINUX=disabled
#SELINUXTYPE=targeted

Temporarily shut down setenforce 0

Close the firewall

Permanent ban chkconfig iptables off

Temporary effect iptables -F

Solution 2


cd /etc/zabbix/web/

Modify the configuration file


vi zabbix.conf.PHP

Change lochlhost to the IP address of your own server

Modify the $DB['SERVER']   = '192.168.30.6';

Modify the $ZBX_SERVER     = '192.168.30.6';

Restart the service


service httpd restart
service zabbix-agent restart
service zabbix-server restart

conclusion

The above is the whole content of this article, I hope the content of this article to your study or work can bring 1 definite help, if you have questions you can leave a message to communicate.


Related articles: