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 Status Log

Discussion in 'EasyApache' started by JamesKemp, Feb 4, 2019.

  1. JamesKemp

    JamesKemp Member

    Joined:
    Feb 21, 2016
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    Hi,

    Where can I access the same log displayed on Apache Status page with VHost and Request information?

    Thank you!
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,473
    Likes Received:
    505
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @JamesKemp

    All of that data can be gathered by running the following:

    Code:
     apachectl fullstatus
    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. JamesKemp

    JamesKemp Member

    Joined:
    Feb 21, 2016
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    Is the command supposed to export the log, if yes, where can I find the log? There is nothing displayed on the screen.

    Thank you!
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,473
    Likes Received:
    505
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @JamesKemp


    This isn't a log file, that output is the result of a command that's run which gives you the apache status at that moment. There are only a few log files that are common on cPanel servers associated with apache:

    Code:
    [[email protected] bin]# cd /etc/apache2/logs/
    [[email protected] logs]# ls -lah
    total 97M
    drwx--x--x  5 root root   4.0K Nov 27 13:03 .
    drwxr-xr-x 14 root root   4.0K Feb  5 13:56 ..
    -rw-r--r--  1 root root    19M Feb  5 14:10 access_log
    drwx--x--x 19 root wheel   12K Feb  5 13:57 domlogs
    -rw-r--r--  1 root root    40M Feb  5 13:32 error_log
    drwxrwx---  2 root nobody 4.0K Jan 30 05:29 mod_evasive
    drwx-wx-wt  3 root root   4.0K Nov 28 06:12 modsec_audit
    -rw-------  1 root root    39M Feb  5 09:31 modsec_audit.log
    -rw-------  1 root root      0 Jul  6  2018 modsec_debug.log
    -rw-r--r--  1 root nobody    0 Oct 29 13:04 suexec_log
    -rw-------  1 root nobody  32K Feb  5 05:21 suphp_log
    Not all of these logs will be present depending on your configuration as well.
     
    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