Skip to main content

SSL cert throw /usr/sbin/httpd error

Comments

5 comments

  • cPanelMichael
    Hello, Could you verify if this system is using EasyApache 3, or EasyApache 4? Also, you can review the include files in the following directory (assuming the system uses EA4) to see if you've added any custom changes: /etc/apache2/conf.d/includes/ Could you let us know the contents of those files if they are populated with custom entries? Thank you.
    0
  • LoganHrth
    Hi Malagana1, et al., I ran into this exact same error (mod_pagespeed installed), and our system is using EasyApache 4. Reviewing /etc/apache2/conf.d/includes, it contains the following files: [LIST]
  • account_suspensions.conf
  • errordocument.conf
  • post_virtualhost_2.conf
  • pre_main_1.conf
  • pre_main_global.conf
  • pre_virtualhost_2.conf
  • post_virtualhost_1.conf
  • post_virtualhost_global.conf
  • pre_main_2.conf
  • pre_virtualhost_1.conf
  • pre_virtualhost_global.conf It appears they are all empty, except for account_suspensions.conf, which says:
    # This include file is automatically generated by # /usr/local/cpanel/scripts/generate_account_suspension_include # Any manual edits inside this file will be lost whenever account # suspensions are updated. RewriteEngine On
    As well, errordocument.conf has configs for error codes:
    # 400 - Bad Request ErrorDocument 400 /400.shtml # 401 - Unauthorized ErrorDocument 401 /401.shtml # 402 - Payment Required ErrorDocument 402 /402.shtml # 403 - Forbidden ErrorDocument 403 /403.shtml # 404 - Not Found ErrorDocument 404 /404.shtml # 405 - Method Not Allowed ErrorDocument 405 /405.shtml # 406 - Not Acceptable ErrorDocument 406 /406.shtml # 407 - Proxy Authentication Required ErrorDocument 407 /407.shtml # 408 - Request Timeout ErrorDocument 408 /408.shtml # 409 - Conflict ErrorDocument 409 /409.shtml # 410 - Gone ErrorDocument 410 /410.shtml # 411 - Length Required ErrorDocument 411 /411.shtml # 412 - Precondition Failed ErrorDocument 412 /412.shtml # 413 - Request Entity Too Large ErrorDocument 413 /413.shtml # 414 - Request-URI Too Large ErrorDocument 414 /414.shtml # 415 - Unsupported Media Type ErrorDocument 415 /415.shtml # 416 - Request Range Not Satisfiable ErrorDocument 416 /416.shtml # 417 - Expectation Failed ErrorDocument 417 /417.shtml # 422 - Unprocessable Entity ErrorDocument 422 /422.shtml # 423 - Locked ErrorDocument 423 /423.shtml # 424 - Failed Dependency ErrorDocument 424 /424.shtml # 500 - Internal Server Error ErrorDocument 500 /500.shtml # 501 - Not Implemented ErrorDocument 501 /501.shtml # 502 - Bad Gateway ErrorDocument 502 /502.shtml # 503 - Service Unavailable ErrorDocument 503 /503.shtml # 504 - Gateway Timeout ErrorDocument 504 /504.shtml # 505 - HTTP Version Not Supported ErrorDocument 505 /505.shtml # 506 - Variant Also Negotiates ErrorDocument 506 /506.shtml # 507 - Insufficient Storage ErrorDocument 507 /507.shtml # 510 - Not Extended ErrorDocument 510 /510.shtml
    I was just wondering what the solution was. What did you figure out? Thanks in advance, ~Logan
  • 0
  • bertelschmitt
    I am having the same problem. When installing a new cert on a domain, it throws: The "/usr/sbin/httpd" command (process 11479) reported error number 1 when it ended. AH00526: Syntax error on line 28 of [Test Configuration File]: Cache named /var/cache/mod_pagespeed/ already exists. Happens both in WHM and in the Cpanel of the respective account. Mod_pagespeed is installed, Easyapache4. I tried disabling mod_pagespeed, no change. The completeky strange part is that /var/cache/mod_pagespeed/ does NOT exist. I created it, just in case, no change. I am unable to install the cert at this time
    0
  • bertelschmitt
    I have filed a ticket on this.
    0
  • cPanelMichael
    I have filed a ticket on this.

    To update, it was determined to be an issue in the /etc/apache2/conf.modules.d/456_pagespeed.conf file where the cache directory was trying to be set, but already existed: Cache named /var/cache/mod_pagespeed/ already exists
    This was resulting in Apache failing to rebuild or restart correctly. The issue was fixed once this line was removed. Thank you.
    0

Please sign in to leave a comment.