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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mod_http2 install error

Discussion in 'EasyApache' started by Nirjonadda, Mar 25, 2017.

  1. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    418
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I am getting The provision process exited with errors. Please let me know the fix.

    Code:
    Provision process started.
    [2017-03-26 00:12:54 +0600] info [xml-api] ---> Package ea-apache24-mod_http2.x86_64 0:2.4.25-8.9.2.cpanel will be installed
    [2017-03-26 00:12:56 +0600] info [xml-api] --> Finished Dependency Resolution
    [2017-03-26 00:12:56 +0600] info [xml-api] ================================================================================
    [2017-03-26 00:12:56 +0600] info [xml-api]  Package                Arch    Version                 Repository         Size
    [2017-03-26 00:12:56 +0600] info [xml-api] ================================================================================
    [2017-03-26 00:12:56 +0600] info [xml-api] Installing:
    [2017-03-26 00:12:56 +0600] info [xml-api]  ea-apache24-mod_http2  x86_64  2.4.25-8.9.2.cpanel     EA4-experimental  184 k
    [2017-03-26 00:12:56 +0600] info [xml-api] Transaction Summary
    [2017-03-26 00:12:56 +0600] info [xml-api] ================================================================================
    [2017-03-26 00:12:56 +0600] info [xml-api] Install  1 Package
    [2017-03-26 00:12:56 +0600] info [xml-api] Total download size: 184 k
    [2017-03-26 00:12:56 +0600] info [xml-api] Installed size: 498 k
    [2017-03-26 00:12:56 +0600] info [xml-api] Downloading packages:
    [2017-03-26 00:12:57 +0600] info [xml-api] Running transaction check
    [2017-03-26 00:12:57 +0600] info [xml-api] Running transaction test
    [2017-03-26 00:12:57 +0600] info [xml-api] Transaction test succeeded
    [2017-03-26 00:12:57 +0600] info [xml-api] Running transaction
    [2017-03-26 00:12:58 +0600] info [xml-api]   Installing : ea-apache24-mod_http2-2.4.25-8.9.2.cpanel.x86_64             1/1Purging all relevant cached command results
    [2017-03-26 00:12:58 +0600] info [xml-api] Removing:  /root/.cpanel/datastore/_usr_sbin_httpd_-V
    [2017-03-26 00:12:58 +0600] info [xml-api] Removing:  /root/.cpanel/datastore/_usr_sbin_httpd_-l
    [2017-03-26 00:12:58 +0600] info [xml-api] Removing:  /root/.cpanel/datastore/_usr_sbin_httpd_-v
    [2017-03-26 00:12:58 +0600] info [xml-api] Rebuilding global cache
    [2017-03-26 00:12:58 +0600] info [xml-api] Building global cache for cpanel...Done
    [2017-03-26 00:12:58 +0600] info [xml-api] [2017-03-26 00:12:58 +0600] info [modsec_cpanel_conf_init] The modsec2.cpanel.conf file and its datastore are already set up. No further action is required.
    [2017-03-26 00:12:59 +0600] info [xml-api] Initial configuration generation failed with the following message:
    [2017-03-26 00:12:59 +0600] info [xml-api] The “/usr/sbin/httpd” command (process 15176) reported error number 1 when it ended.
    [2017-03-26 00:12:59 +0600] info [xml-api] Configuration problem detected on line 87 of file /etc/apache2/conf/httpd.conf.work.u0DzTOFO:    : Expected </FilesMatch> but saw </Directory>
    [2017-03-26 00:12:59 +0600] info [xml-api]     --- /etc/apache2/conf/httpd.conf.work.u0DzTOFO ---
    [2017-03-26 00:12:59 +0600] info [xml-api]     81
    [2017-03-26 00:12:59 +0600] info [xml-api]     82# This setting is required by cPanel & WHM in order to provide access to a default webpage when none exists
    [2017-03-26 00:12:59 +0600] info [xml-api]     83<Directory "/var/www/html">
    [2017-03-26 00:12:59 +0600] info [xml-api]     84    Options All
    [2017-03-26 00:12:59 +0600] info [xml-api]     85    AllowOverride None
    [2017-03-26 00:12:59 +0600] info [xml-api]     86<FilesMatch "^(\.ht(access|passwds?)|\.user\.ini|php\.ini)$">
    [2017-03-26 00:12:59 +0600] info [xml-api]     87 ===> </Directory> <===
    [2017-03-26 00:12:59 +0600] info [xml-api]     88
    [2017-03-26 00:12:59 +0600] info [xml-api]     89# Required cPanel security policy: Disallow remote access to .htaccess, .htpasswd, .user.ini, and php.ini files
    [2017-03-26 00:12:59 +0600] info [xml-api]     90<FilesMatch "^(\.ht(access|passwds?)|\.user\.ini|php\.ini)$">
    [2017-03-26 00:12:59 +0600] info [xml-api]     91    Require all denied
    [2017-03-26 00:12:59 +0600] info [xml-api]     92</FilesMatch>
    [2017-03-26 00:12:59 +0600] info [xml-api]     93
    [2017-03-26 00:12:59 +0600] info [xml-api]     --- /etc/apache2/conf/httpd.conf.work.u0DzTOFO ---
    [2017-03-26 00:12:59 +0600] info [xml-api] Rebuilding configuration without any local modifications.
    [2017-03-26 00:12:59 +0600] info [xml-api] Failed to generate a syntactically correct Apache configuration.
    [2017-03-26 00:12:59 +0600] info [xml-api] Bad configuration file located at /etc/apache2/conf/httpd.conf.work.u0DzTOFO
    [2017-03-26 00:12:59 +0600] info [xml-api] Error:
    [2017-03-26 00:12:59 +0600] info [xml-api] The “/usr/sbin/httpd” command (process 15177) reported error number 1 when it ended.
    [2017-03-26 00:12:59 +0600] info [xml-api] Configuration problem detected on line 87 of file /etc/apache2/conf/httpd.conf.work.u0DzTOFO:    : Expected </FilesMatch> but saw </Directory>
    [2017-03-26 00:12:59 +0600] info [xml-api]     --- /etc/apache2/conf/httpd.conf.work.u0DzTOFO ---
    [2017-03-26 00:12:59 +0600] info [xml-api]     81
    [2017-03-26 00:12:59 +0600] info [xml-api]     82# This setting is required by cPanel & WHM in order to provide access to a default webpage when none exists
    [2017-03-26 00:12:59 +0600] info [xml-api]     83<Directory "/var/www/html">
    [2017-03-26 00:12:59 +0600] info [xml-api]     84    Options All
    [2017-03-26 00:12:59 +0600] info [xml-api]     85    AllowOverride None
    [2017-03-26 00:12:59 +0600] info [xml-api]     86<FilesMatch "^(\.ht(access|passwds?)|\.user\.ini|php\.ini)$">
    [2017-03-26 00:12:59 +0600] info [xml-api]     87 ===> </Directory> <===
    [2017-03-26 00:12:59 +0600] info [xml-api]     88
    [2017-03-26 00:12:59 +0600] info [xml-api]     89# Required cPanel security policy: Disallow remote access to .htaccess, .htpasswd, .user.ini, and php.ini files
    [2017-03-26 00:12:59 +0600] info [xml-api]     90<FilesMatch "^(\.ht(access|passwds?)|\.user\.ini|php\.ini)$">
    [2017-03-26 00:12:59 +0600] info [xml-api]     91    Require all denied
    [2017-03-26 00:12:59 +0600] info [xml-api]     92</FilesMatch>
    [2017-03-26 00:12:59 +0600] info [xml-api]     93
    [2017-03-26 00:12:59 +0600] info [xml-api]     --- /etc/apache2/conf/httpd.conf.work.u0DzTOFO ---
    [2017-03-26 00:12:59 +0600] info [xml-api] 
    [2017-03-26 00:12:59 +0600] info [xml-api] !!!! "/etc/yum/universal-hooks/multi_pkgs/posttrans/ea-__WILDCARD__/020-rebuild-httpdconf --pkg_list=/tmp/tmpFw4W1_" did not exit cleanly: 256
    [2017-03-26 00:12:59 +0600] info [xml-api] Nothing to do under ea4 (this script has been deprecated under ea4).
    [2017-03-26 00:12:59 +0600] info [xml-api] Fix mailman RPM directories …
    [2017-03-26 00:12:59 +0600] info [xml-api]  … PID 15185
    [2017-03-26 00:12:59 +0600] info [xml-api] Fix mailing list perms …
    [2017-03-26 00:12:59 +0600] info [xml-api]  … PID 15187
    [2017-03-26 00:12:59 +0600] info [xml-api] Aligning modsec config to Whostmgr
    [2017-03-26 00:12:59 +0600] info [xml-api] - Whostmgr version 11.62.0.17
    [2017-03-26 00:12:59 +0600] info [xml-api] - Whostmgr supports conf.d/modsec location
    [2017-03-26 00:12:59 +0600] info [xml-api] - No change necessary
    [2017-03-26 00:13:00 +0600] info [xml-api] Waiting for “httpd” to stop ………finished.
    [2017-03-26 00:13:00 +0600] info [xml-api] Startup Log
    [2017-03-26 00:13:00 +0600] info [xml-api]     Mar 25 18:39:09 na.nirmoladda.com systemd[1]: Starting Apache web server managed by cPanel EasyApache...
    [2017-03-26 00:13:00 +0600] info [xml-api]     Mar 25 18:39:10 na.nirmoladda.com systemd[1]: PID file /run/apache2/httpd.pid not readable (yet?) after start.
    [2017-03-26 00:13:00 +0600] info [xml-api]     Mar 25 18:39:12 na.nirmoladda.com systemd[1]: Started Apache web server managed by cPanel EasyApache.
    [2017-03-26 00:13:00 +0600] info [xml-api]     Mar 26 00:13:00 na.nirmoladda.com systemd[1]: Stopping Apache web server managed by cPanel EasyApache...
    [2017-03-26 00:13:00 +0600] info [xml-api]     Mar 26 00:13:00 na.nirmoladda.com systemd[1]: Stopped Apache web server managed by cPanel EasyApache.
    [2017-03-26 00:13:00 +0600] info [xml-api] Log Messages
    [2017-03-26 00:13:00 +0600] info [xml-api]     Mar 26 00:13:00 na systemd: Stopped Apache web server managed by cPanel EasyApache.
    [2017-03-26 00:13:00 +0600] info [xml-api]     Mar 26 00:13:00 na systemd: Stopping Apache web server managed by cPanel EasyApache...
    [2017-03-26 00:13:00 +0600] info [xml-api]     Mar 26 00:12:57 na yum[15120]: Installed: ea-apache24-mod_http2-2.4.25-8.9.2.cpanel.x86_64
    [2017-03-26 00:13:00 +0600] info [xml-api] httpd stopped successfully.
    [2017-03-26 00:13:02 +0600] info [xml-api] Waiting for “httpd” to start ……waiting for “httpd” to initialize ………finished.
    [2017-03-26 00:13:02 +0600] info [xml-api] Startup Log
    [2017-03-26 00:13:02 +0600] info [xml-api]     Mar 26 00:13:00 na.nirmoladda.com systemd[1]: Starting Apache web server managed by cPanel EasyApache...
    [2017-03-26 00:13:02 +0600] info [xml-api]     Mar 26 00:13:01 na.nirmoladda.com systemd[1]: PID file /run/apache2/httpd.pid not readable (yet?) after start.
    [2017-03-26 00:13:02 +0600] info [xml-api]     Mar 26 00:13:01 na.nirmoladda.com systemd[1]: Started Apache web server managed by cPanel EasyApache.
    [2017-03-26 00:13:02 +0600] info [xml-api] Log Messages
    [2017-03-26 00:13:02 +0600] info [xml-api]     [Sun Mar 26 00:13:01.647250 2017] [mpm_prefork:notice] [pid 15274] AH00163: Apache/2.4.25 (cPanel) OpenSSL/1.0.2k mod_bwlimited/1.4 configured -- resuming normal operations
    [2017-03-26 00:13:02 +0600] info [xml-api]     [Sun Mar 26 00:13:01.427609 2017] [:notice] [pid 15273] ModSecurity for Apache/2.9.0 (http://www.modsecurity.org/) configured.
    [2017-03-26 00:13:02 +0600] info [xml-api]     Mar 26 00:13:01 na systemd: Started Apache web server managed by cPanel EasyApache.
    [2017-03-26 00:13:02 +0600] info [xml-api]     Mar 26 00:13:01 na systemd: PID file /run/apache2/httpd.pid not readable (yet?) after start.
    [2017-03-26 00:13:02 +0600] info [xml-api] httpd started successfully.
    [2017-03-26 00:13:02 +0600] info [xml-api] Setting /home permissions to 0711......Done
    [2017-03-26 00:13:02 +0600] info [xml-api] Setting permissions for.....nirjonadda …
    [2017-03-26 00:13:02 +0600] info [xml-api] nadda …
    [2017-03-26 00:13:02 +0600] info [xml-api] nilbashona …
    [2017-03-26 00:13:02 +0600] info [xml-api] onabiladda …
    [2017-03-26 00:13:02 +0600] info [xml-api] ...Done
    [2017-03-26 00:13:02 +0600] info [xml-api]   Verifying  : ea-apache24-mod_http2-2.4.25-8.9.2.cpanel.x86_64             1/1
    [2017-03-26 00:13:02 +0600] info [xml-api] Installed:
    [2017-03-26 00:13:02 +0600] info [xml-api]   ea-apache24-mod_http2.x86_64 0:2.4.25-8.9.2.cpanel                           
    [2017-03-26 00:13:02 +0600] info [xml-api] Finished Transaction
    [2017-03-26 00:13:02 +0600] info [xml-api] Leaving Shell
    
    Provision process finished.
     
  2. sktest123

    sktest123 Well-Known Member

    Joined:
    Jan 31, 2017
    Messages:
    76
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    kochin
    cPanel Access Level:
    Root Administrator
    The error is exactly mentioned at

    Configuration problem detected on line 87 of file /etc/apache2/conf/httpd.conf.work.u0DzTOFO: : Expected </FilesMatch> but saw </Directory>
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Have you made any custom changes to the Apache template on this system?

    Thank you.
     
  4. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    418
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    No but its fixed by cPanel Support Ticket.

     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
Loading...

Share This Page