Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    54

    Default Possible to stop WHM from restarting Apache?

    Is it possible to stop WHM from restarting Apache when it deletes an account? I can't seem to figure out how or where it's restarting it from or how to shut it off.

    Does anyone know how I could stop this from happening?

    Thanks

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by jdhf99 View Post
    Is it possible to stop WHM from restarting Apache when it deletes an account? I can't seem to figure out how or where it's restarting it from or how to shut it off.

    Does anyone know how I could stop this from happening?

    Thanks
    It is recommended you restart Apache after deleting an account. If you are performing mass account terminations, there was a thread a couple of months ago discussing how to prevent Apache from restarting after every account termination ( http://forums.cpanel.net/showthread.php?t=72054 ). However, even in that discussion, it is recommended to restart Apache once account maintenance has completed.

    Here's a related bugzilla entry if you are performing mass account terminations: http://bugzilla.cpanel.net/show_bug.cgi?id=4838

  3. #3
    Member
    Join Date
    Mar 2004
    Posts
    54

    Default

    Hi,

    Apache fails to restart itself when I delete multiple accounts in a row. What I'm looking for is how to disable it from restarting all together when I decide to terminate multiple accounts. I tried moving apachectl all together, put /rc.d/init.d/httpd > /dev/null , but somehow WHM still restarts Apache.

    I read the bugzilla entry and I see at the end an example of how to modify a script to not restart Apache. The problem is I'm not using an external script to do this.

    Thanks.

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by jdhf99 View Post
    ...

    Apache fails to restart itself when I delete multiple accounts in a row.

    ...
    Well that's a different animal altogether. You may wish to contact your cPanel Licensing Provider for assistance regarding this issue.

Similar Threads & Tags
Similar threads

  1. Stop cpanel from restarting completely
    By desiguru in forum New User Questions
    Replies: 0
    Last Post: 12-01-2009, 04:38 AM
  2. Restarting Apache - apachectl vs WHM
    By ChrisHasenpflug in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 12-15-2006, 08:06 PM
  3. Restarting apache
    By icare in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 11-17-2006, 04:14 AM
  4. How do I stop mysql from restarting automatically?
    By accyroy in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-10-2005, 05:14 AM
  5. Apache fails when restarting through WHM or automatically
    By Jeff75 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-05-2005, 11:16 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube