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!

Syntax error from httpd.conf

Discussion in 'EasyApache' started by vacancy, Nov 27, 2018.

  1. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    219
    Likes Received:
    28
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    Today, apache stopped working at 4 different servers.

    After rebuildhttpdconf and restart process, fixed problem.

    I've seen some syntax errors in the logs.


    Code:
    [Tue Nov 27 18:00:17.161623 2018] [mpm_event:notice] [pid 1290:tid 47628417836096] AH00493: SIGUSR1 received.  Doing graceful restart
    AH00526: Syntax error on line 6296 of /etc/apache2/conf/httpd.conf:
    [Tue Nov 27 18:29:43.752072 2018] [core:warn] [pid 2718:tid 47722274870336] AH00045: child process 2723 still did not exit, sending a SIGTERM
    [Tue Nov 27 18:29:43.752153 2018] [core:warn] [pid 2718:tid 47722274870336] AH00045: child process 2724 still did not exit, sending a SIGTERM
    [Tue Nov 27 18:29:43.752175 2018] [core:warn] [pid 2718:tid 47722274870336] AH00045: child process 2725 still did not exit, sending a SIGTERM
    [Tue Nov 27 18:29:43.752184 2018] [core:warn] [pid 2718:tid 47722274870336] AH00045: child process 2726 still did not exit, sending a SIGTERM
    
    6296 line

    Code:
    RewriteRule ^/(.*) /___proxy_subdomain_webdisk/$1 [PT]
     
    #1 vacancy, Nov 27, 2018
    Last edited: Nov 27, 2018
  2. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,838
    Likes Received:
    275
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @vacancy

    Did you grab that line before or after you rebuilt the apache conf? My rewrite for webdisk looks the same:

    Code:
    RewriteRule ^/(.*) /___proxy_subdomain_webdisk/$1 [PT]
    throughout my apache conf - this exists for all domains
     
    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