fishfreek

Well-Known Member
Jan 2, 2004
238
0
166
I get the following error now.

/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 18
In addition modsec does not appear when I click the link in WHM. All I get is a white page.
 

fenixer

Well-Known Member
Feb 23, 2007
92
0
156
Also once you do that, you need to make a slight change.
pico /etc/cron.hourly/modsecparse.pl
go to the $dbpassword= line and get your password. Then,

pico /usr/local/cpanel/whostmgr/docroot/cgi/addon_modsec.cgi
and make sure that the password for $dbpassword=" matches. If not, change it and save the file. Then it should show up fine for you.
As shown at http://forums.cpanel.net/showthread.php?t=46222&highlight=modsecparse.pl

Hope it is ok. In my case it did good.