This blog is NOFOLLOW Free!
Posted @ 11:30 am

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:

su

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!!

Rate this with SezWho :
2.5

Bookmark and Share

Rate this post:
1 Star - So-so...2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars - GREAT! (1 votes, average: 10 out of 10)
Loading ... Loading ...



Related Posts


  ∫  


Categories:   CPanel   •   Control Panels   •   Server Administration

Tags:     •     •     •  






RSS feed

1 Comment

Sorry, the comment form is closed at this time.

 
Subscribe to
The Webmaster's Edge RSS

Subscribe by
E-Mail Subscription


Recent Posts Title
Recent Posts NoDisplay
Categories Title
Categories NoDisplay
Comments Title
Tag Cloud Title
Tag Cloud NoDisplay
Archives Title
Archives NoDisplay
Commentators
  • No commentators.
Shop Cloud Title
Shop Cloud