I woke up this morning and found e-mails that were sent to me every hour showing a cronjob error.
I did some poking around and found a method of fixing it. Weird that searching the CPanel forums yielded no results.
Here’s the error message that was being e-mailed to me:
/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.
Ok, so that’s a bummer. To fix this I popped open an SSH session and used the following commands:
nano /etc/cron.hourly/modsecparse.pl
Take a look at the modsec user’s password, then flip over to CPanel’s WHM. Click on phpMyAdmin and then in phpMyAdmin click Privileges > M > and edit the user Modsec. Change the password to whatever the password was in the aforementioned modsecparse.pl. That should do it!!
| 2.5 |
Rate this post:
Related Posts
- Webmaster’s Edge Tutorials On Tutorialized
- Wiki Updates: CPanel Information And MySQL Upgrade Issues
- Scripts / Software For The Edge
- MySQL Upgrade Gone Bad Or “How to upgrade MySQL 4.1 to MySQL 5.0 on CPanel”
- WSNLinks Alpha Five
Categories: CPanel • Control Panels • Server Administration
Tags: CPanel • Modsec • MySQL • phpMyAdmin
Previous Post:
MySQL Upgrade Gone Bad Or “How to upgrade MySQL 4.1 to MySQL 5.0 on CPanel”
Next Post:
The PHP5 Upgrade Is Now Complete




Bradford
















