Hi All,
I am using Zabbix Proxy Ver 3.2 and MariaDB as its DB.
The proxy was working fine but after a restart, I started getting error that proxy is unable to connect to MariaDB with the following error message.
[Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
However I am able to connect to MariaDB from the prompt using the credentials provided in Zabbix proxy configuration
Output of "sestatus" command is as follows
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: permissive
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 28
Since it is permissive, I dont know whether selinux is causing the issues. Please let me know how to resolve this issue
Regards,
Gopal
I am using Zabbix Proxy Ver 3.2 and MariaDB as its DB.
The proxy was working fine but after a restart, I started getting error that proxy is unable to connect to MariaDB with the following error message.
[Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
However I am able to connect to MariaDB from the prompt using the credentials provided in Zabbix proxy configuration
Output of "sestatus" command is as follows
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: permissive
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 28
Since it is permissive, I dont know whether selinux is causing the issues. Please let me know how to resolve this issue
Regards,
Gopal