hi,
i moved mysql to another drive, and i am getting these errors
/etc/cron.hourly/modsecparse.pl:
DBI connect('modsec:localhost','modsec',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /etc/cron.hourly/modsecparse.pl line 19
Unable to connect to mysql database at /etc/cron.hourly/modsecparse.pl line 19.
[root@viper ~]# ls -la /var/lib/mysql/mysql.sock
lrwxrwxrwx 1 root root 23 Jan 6 20:11 /var/lib/mysql/mysql.sock -> /home3/mysql/mysql.sock
the socket exists.
in cpanel - service manager mysql looks as down, and eximstats the same.
any idea where is the config for modsec and chkserv so that i could set the new mysql.sock location? maybe that will work.



LinkBack URL
About LinkBacks

Reply With Quote
)





