new server - mysql to mariadb - user errors

morrow95

Well-Known Member
Oct 8, 2006
146
6
168
New server. Aside from the regular things I do when setting up I went ahead and changed to MariaDB. Works fine, but now I am noticing some user errors showing up. Example email alert :

/etc/cron.hourly/modsecparse.pl:

DBI connect('modsec:localhost','modsec',...) failed: Access denied for user 'modsec'@'localhost' (using password: YES) at /etc/cron.hourly/modsecparse.pl line 19.
Unable to connect to mysql database at /etc/cron.hourly/modsecparse.pl line 19.

I believe there to be quite a few of these as leechprotect was another I noticed. What is the issue here and where do I start correcting this? One would think since the change/update was done within WHM that this would be taken care of - no?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,241
363
Hello :)

Could you verify which version of cPanel was installed on this system when you upgraded to MariaDB? The /etc/cron.hourly/modsecparse.pl file is not included in newer versions of cPanel.

Thank you.
 

morrow95

Well-Known Member
Oct 8, 2006
146
6
168
I believe what happened was this plugin, as well as Fantastico, were part of the image used by my hosting company. With that said, I wouldn't mind some instructions on removing it and Fantastico as I would never use them.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,241
363