The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WHM ModSecurity Scripts not working after upgrade

Discussion in 'Security' started by AM2015, Jun 21, 2015.

  1. AM2015

    AM2015 Member

    Joined:
    Jan 1, 2015
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Upgraded to 11.50.0 (build 12)

    Now, in the Security Center, if I click links to "Mod Security Configuration", "ModSecurity Tools", or "Mod Security Vendors" -- I simply get a single line:
    Results of Your Request

    No other data or form interface is displayed.

    This is a problem because I need to be able to view the ModSecurity logs.

    ModSecurity function still seems to be fine (I can see logs via phpMyAdmin) -- but the logs and other tools do not showup in the CPanel interface.
     
  2. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    940
    Likes Received:
    55
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    I have the same version (11.50.0 (build 12)) and all the ModSecurity pages seem to be functioning.

    I would submit a ticket if I were you. Alternately you could try a "/scripts/upcp --force" to make sure everything is (re)installed correctly.
     
  3. AM2015

    AM2015 Member

    Joined:
    Jan 1, 2015
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks -- I did try a force update and the problem remains. OS is CentOS 6.6 if that makes a difference. I've put in a support request with my hosting company for now.

    I also use the Comodo WAF plugin for mod security rules -- don't know whether that could creates some sort of conflict. (I am using the plugin rather than the vendor subscribe option, as there are more customization options available via the plugin).

    Just providing this info in case anyone else runs into similar problems.
     
  4. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    940
    Likes Received:
    55
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    I hope they get it worked out for you. I use the Comodo rules off and on for testing, and haven't noticed it cause this issue, but thanks for providing the information.
     
  5. AM2015

    AM2015 Member

    Joined:
    Jan 1, 2015
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    The problem is now resolved -- I submitted a support request to CPanel and am very impressed with the fast response I got.

    The problem appears to have been caused by the /root/.whmtheme file -- removing that file resolved the problem.

    (Posting in case anyone else runs into a similar issue)
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    I am happy to see this issue is now resolved. The /root/.whmtheme file defined an invalid theme name, so removing it addressed the issue by ensuring the use of the default WHM theme.

    Thank you.
     
Loading...

Share This Page