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!

Check if apache is running from cron?

Discussion in 'General Discussion' started by Scott Galambos, Mar 6, 2019.

  1. Scott Galambos

    Scott Galambos Well-Known Member

    Joined:
    Jul 13, 2016
    Messages:
    54
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    Anyone know the easiest way to check if apache is still running on my cPanel v76.0.18 server and if not run it from cron?
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,441
    Likes Received:
    503
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Scott Galambos


    The easiest way to see if Apache is running is to go to WHM>>Server Status>>Apache Status

    You can also run the following over cli:

    Code:
    apachectl status
    cPanel's chkservd already checks the status of Apache and if failed will attempt to restart it and notify you. You can read more about this service manager here: Service Manager - Version 78 Documentation - cPanel Documentation
     
    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