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!

Apache graceful restart

Discussion in 'EasyApache' started by Mads Nordholm, Jan 21, 2018.

Tags:
  1. Mads Nordholm

    Mads Nordholm Active Member

    Joined:
    Jun 7, 2015
    Messages:
    26
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Thailand
    cPanel Access Level:
    Root Administrator
    I have an issue with integration between WHMCS and cPanel, which means that WHMCS never picks up on it when I terminate a cPanel account via WHMCS. However, account termination works like a charm on the cPanel server.

    It has been suggested to me by WHMCS support, that this could be because Apache is doing a hard restart when an account is deleted/modified, and that the issue would disappear if these actions merely triggered a graceful restart of Apache. Where would I control something like that?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,858
    Likes Received:
    89
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    You will have to check the Apache logs at the time the account is terminated from the WHMCS. For this, you will have first have to login to the server, and execute the below command:
    # tail -f /usr/local/apache/logs/error_logs

    After you execute the above command, you then have to execute the termination via WHMC and see if you see any error logs occurring that is causing this.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Mads Nordholm

    Mads Nordholm Active Member

    Joined:
    Jun 7, 2015
    Messages:
    26
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Thailand
    cPanel Access Level:
    Root Administrator
    Thank you for the reply, but I was more looking to find out if there is even an option in WHM to control if Apache does a hard reset or graceful reset when accounts are created/modified/deleted.
     
  4. Tearabite

    Tearabite Well-Known Member

    Joined:
    Nov 28, 2010
    Messages:
    76
    Likes Received:
    11
    Trophy Points:
    58
    Location:
    Southern California
    cPanel Access Level:
    Root Administrator
    Are all of your other WHMCS/cPanel functions working properly on the server (adding an account, suspending, changing passwords, reading bandwidth usage, etc)?
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,720
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    There's no setting to change in cPanel & WHM. However, feel free to open a support ticket using the link in my signature so we can take a closer look. If WHMCS has determined this is an issue with cPanel, we'd like to take a closer look to determine why.

    Thank you.
     
    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