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!

cPanel & WHM update process failed

Discussion in 'General Discussion' started by eric007007, Aug 20, 2018.

  1. eric007007

    eric007007 Registered

    Joined:
    Jun 1, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sydney
    cPanel Access Level:
    Website Owner
    Hi there, since the update to 74.04 i get the following error:

    [2018-08-21 03:08:41 +1000] E [/usr/local/cpanel/scripts/modsec_vendor] The “/usr/local/cpanel/scripts/modsec_vendor update --auto” command (process 589974) reported error number 1 when it ended.
    ...
    [2018-08-21 03:09:05 +1000] [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] No local.ini.
    [2018-08-21 03:09:05 +1000] [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] … done!
    [2018-08-21 03:09:05 +1000] - Finished command `/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini --run --verbose` in 0.112 seconds
    [2018-08-21 03:09:05 +1000] Processing: Ensuring an "Active" MySQL profile is set
    [2018-08-21 03:09:05 +1000] - Finished in 0.018 seconds
    [2018-08-21 03:09:05 +1000] - Processing command `/usr/local/cpanel/scripts/check_mysql`
    [2018-08-21 03:09:05 +1000] [/usr/local/cpanel/scripts/check_mysql] “check_mysql” will complete in the background (process ID 590158).
    [2018-08-21 03:09:05 +1000] - Finished command `/usr/local/cpanel/scripts/check_mysql` in 0.103 seconds
    [2018-08-21 03:09:05 +1000] Processing: Checking CloudLinux installation
    [2018-08-21 03:09:05 +1000] - Processing command `/usr/local/cpanel/bin/cloudlinux_update`
    [2018-08-21 03:09:06 +1000] - Finished command `/usr/local/cpanel/bin/cloudlinux_update` in 0.139 seconds
    [2018-08-21 03:09:06 +1000] Processing: Updating plugins data cache
    [2018-08-21 03:09:06 +1000] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache`
    [2018-08-21 03:09:06 +1000] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.112 seconds
    [2018-08-21 03:09:06 +1000] Processing: Ensure cpanel-plugins yum repo exists
    [2018-08-21 03:09:06 +1000] - Finished in 0.416 seconds
    [2018-08-21 03:09:06 +1000] Processing:
    [2018-08-21 03:09:06 +1000] Maintenance complete.
    => Log closed Tue Aug 21 03:09:06 2018

    i tried to run the command manually as suggested but this gives this error:

    /usr/local/cpanel/scripts/modsec_vendor update --auto” command (process 4047086) reported error number 1 when it ended

    The system failed to update the vendor from the URL “https://download.configserver.com/waf/meta_configserver.yaml”: An error occurred in the attempt to update the vendor. The system could not restore the original configuration: The system could not validate the new Apache configuration because httpd exited with a nonzero value. Apache produced the following error: AH00526: Syntax error on line 14 of /etc/apache2/conf.d/nagios.conf:
    Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration

    Please advise.
     
  2. eric007007

    eric007007 Registered

    Joined:
    Jun 1, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sydney
    cPanel Access Level:
    Website Owner
    while posting this i just noticed the syntax error... so i installed mod_version and the error is gone...

    Thanks and sorry for posting this...
     
  3. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,254
    Likes Received:
    479
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @eric007007

    Sometimes that's what it takes! I'm glad you found the cause of the issue and were able to resolve it.


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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