Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

new server - mysql to mariadb - user errors

Discussion in 'Database Discussion' started by morrow95, Mar 4, 2016.

  1. morrow95

    morrow95 Well-Known Member

    Joined:
    Oct 8, 2006
    Messages:
    123
    Likes Received:
    3
    Trophy Points:
    168
    New server. Aside from the regular things I do when setting up I went ahead and changed to MariaDB. Works fine, but now I am noticing some user errors showing up. Example email alert :

    /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.

    I believe there to be quite a few of these as leechprotect was another I noticed. What is the issue here and where do I start correcting this? One would think since the change/update was done within WHM that this would be taken care of - no?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,855
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you verify which version of cPanel was installed on this system when you upgraded to MariaDB? The /etc/cron.hourly/modsecparse.pl file is not included in newer versions of cPanel.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. morrow95

    morrow95 Well-Known Member

    Joined:
    Oct 8, 2006
    Messages:
    123
    Likes Received:
    3
    Trophy Points:
    168
    I believe what happened was this plugin, as well as Fantastico, were part of the image used by my hosting company. With that said, I wouldn't mind some instructions on removing it and Fantastico as I would never use them.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,855
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. morrow95

    morrow95 Well-Known Member

    Joined:
    Oct 8, 2006
    Messages:
    123
    Likes Received:
    3
    Trophy Points:
    168
    Thanks! I will do this later.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice