1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Restarting apache

Discussion in 'EasyApache' started by icare, Nov 14, 2006.

  1. icare

    icare New Member

    Joined:
    Nov 8, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Is there an easy way to restart apache from WHM ?

    sorry i dont know about commands... so need a button click :)
     
  2. PWSowner

    PWSowner Active Member

    Joined:
    Nov 10, 2001
    Messages:
    2,991
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    At the very bottom of the menu under "restart services" unless you're a reseller and they didn't give you access to those functions.
     
  3. Stefaans

    Stefaans Member

    Joined:
    Mar 5, 2002
    Messages:
    448
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Vancouver, Canada
    If you are a reseller and do not have access to the Restart Services commands, there is of course another way: Any time you Park a Domain or Create a New Account, Apache is restarted as well. Yes, that's not a clean method, but if you are desperate it is an option ;)
     
  4. ullalla

    ullalla Member

    Joined:
    Jan 20, 2006
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    gud suggestion
     
  5. icare

    icare New Member

    Joined:
    Nov 8, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    thanks friends.

    is there anyway to restart apache after certain period ( 6 hrs, 8 hrs etc) thru cronjob or something?
     
  6. HelloAdam

    HelloAdam Member

    Joined:
    Nov 6, 2005
    Messages:
    146
    Likes Received:
    0
    Trophy Points:
    16
    In root SSH type

    Code:
    crontab -e
    
    then

    Code:
    * 8 * * * service httpd restart
    
    That should restart apache every 8 hours every day...

    From,
    Adam
     
  7. Manuel_accu

    Manuel_accu Member

    Joined:
    Jun 19, 2005
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    16
    I dont understand why you required this
     

Share This Page