[afnog] Database error

Johan Bernhardsson johan at kafit.se
Mon Sep 7 08:06:41 UTC 2015


check permissions on the socket file. 
check that mysql is running as it should. 
double check settings in zabbix.

Most probably the webuser or the user that zabbix runs as cant write or
read from that socket.

/Johan


-- 
Security all the way ...

Linux/Network/Virtualisation/VoIP Consultant

Kafit AB
Orgnr:  556792-5945
Mobile: +46705111751
Sweden: +46101993005
UK:     +448708200021
Cyprus: +35725030694
Seychelles: +2486478105
Email:  johan at kafit.se
Web:    http://www.kafit.se
Web:    http://offshore-it.com

About me: http://about.me/smallone/bio
LinkedIn: http://www.linkedin.com/in/smallone



On Mon, 2015-09-07 at 09:58 +0200, Nabil Badri wrote:
> I am running Centos and installed Zabbix in a VM . Currently when I
> try to access the frontend of zabbix I get the following:
> 
> Database error
> Error connecting to database:
> can't connect to local Mysqlserver through socket
> '/var/lib/mysql/mysql.sock' (2)
> 
> I have no idea what to do about this error message (as I am a centos),
> and would appreciate some help.
> 
> thank u
> _______________________________________________
> afnog mailing list
> https://www.afnog.org/mailman/listinfo/afnog




More information about the afnog mailing list