Results 1 to 8 of 8
  1. #1
    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

  2. #2
    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 !

  3. #3
    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

  4. #4
    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
    Website Hosting by Rackset
    Professional, Affordable, Reliable

    Web Hosting Provider

  5. #5
    Join Date
    Apr 2005
    Location
    Cochin
    Posts
    2,452
    try the cpanel forums if the problem still exists

  6. #6
    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

  7. #7
    Join Date
    Apr 2005
    Location
    Cochin
    Posts
    2,452
    Quote Originally Posted by david510 View Post
    Sandy,

    Did you check the starting date of the thread?

    Thanks .. saw the post by RACKSET Only

  8. #8
    Join Date
    Jun 2006
    Posts
    35
    Quote Originally Posted by Linuxer View Post
    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
    I got this problem too. How to fix this? Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •