Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Is Apache Running?

    • Article Type: General
    • Product: Aleph
    • Product Version: 20, 21, 22, 23

    Description:

    How can I tell if apache is running?
     

    Resolution:

    Usually, the command "ps -ef | grep http" will show you the apache processes, but if your screen has the process lines truncated, you may not get the proper result.

    If you get no result, then do this to confirm that no apache processes are running:
    > apcl [this takes you to the ./apache/logs directory]
    > vi httpd.pid [If apache is running, you will find a number in this file, such as, 18481.]
    > ps -ef | grep 18481 [the number you found in httpd.pid]

    If apache is running, you will then see the apache processes listed.


    • Article last edited: 01-August-2016