Results 1 to 8 of 8
Thread: Mod_security & Mysql Issue .
-
12-01-2005, 04:48 AM #1Newbie
- Join Date
- Oct 2005
- Location
- Kernel City
- Posts
- 6
Mod_security & Mysql Issue .
Hello
Am getting the message:
/etc/cron.hourly/modsecparse.pl:
DBI connect('modsec:localhost','modsec',...) failed: Access denied for user: 'modsec@localhost' (Using password: NO) at /etc/cron.hourly/modsecparse.pl line 18
Can't call method "prepare" on an undefined value at /etc/cron.hourly/modsecparse.pl line 68, <FILE> line 17.
mysql is up and running ,And Iam able to log into phpmyadmin , anybody know what is going on ?
Thanks
-
12-01-2005, 04:51 AM #2-=*/E=-
- Join Date
- Sep 2005
- Location
- In canada
- Posts
- 3,374
Well here is my reply
ModSecurity is an open source intrusion detection and prevention engine for web applications. Operating as an Apache Web server module, the purpose of ModSecurity is to increase web application security, protecting web applications from known and unknown attacks
The problem is the perl script where it has a prob with the mod_security addon module, it can't connect to the DB.
So fix the script. Maybe that script shouldnt be running in the first place , maybe its one of the many exploits that may be running on ur server.12+ years -same website , new server [SSD Inside] providing shared/reseller hosting only !
These things we do not provide/offer : Unlimited Storage ! Unlimited Bandwidth ! But Why? Cause, we were unable to put such a large number on our pages, it just would not fit.
So check out the numbers that actually fit >> << the page as well as your budget too !
-
12-01-2005, 10:40 AM #3Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
itts the script cpanel installs i would try reinstalling mod_security from cpanel.
Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
01-05-2008, 06:02 PM #4Junior Guru Wannabe
- Join Date
- Jan 2006
- Posts
- 46
If you installed mod_sec with easyapache3 on cPanel 11 and you get this error, check password at /etc/cron.hourly/modsecparse.pl and you can adjust password of modsec user through whm -> phpMyAdmin -> privileges
-
01-05-2008, 10:40 PM #5Disabled
- Join Date
- Apr 2005
- Location
- Cochin
- Posts
- 2,452
try the cpanel forums if the problem still exists
-
01-06-2008, 06:25 AM #6Web Hosting Master
- Join Date
- Oct 2004
- Location
- Kerala, India
- Posts
- 4,771
Sandy,
Did you check the starting date of the thread?David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android
-
01-07-2008, 02:38 AM #7Disabled
- Join Date
- Apr 2005
- Location
- Cochin
- Posts
- 2,452
-
01-21-2008, 10:18 PM #8Junior Guru Wannabe
- Join Date
- Jun 2006
- Posts
- 35