Ad Widget

Collapse

Zabbix Proxy unable to connect to MariaDB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rg_zabbix
    Junior Member
    • Dec 2017
    • 1

    #1

    Zabbix Proxy unable to connect to MariaDB

    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
Working...