Log files path in WHM server with centos

    Posted in Whm/Cpanel on Jan 26, 2018

    linux-dedicated-seerver.jpg

    Important log paths on whm server:

    1. Exim main log: /var/log/exim_mainlog

    2. Apache access log: /usr/local/apache/logs/access_log

    3. Apache error log: /usr/local/apache/logs/error_log (All exceptions caught by apache along with standard error output from CGI applications)

    4. SSH Logins are in /var/log/secure

    5. FTP Logins are in: /var/log/messages

    6. POP/IMAP logins are in: /var/log/maillog

    7. Mod_security log: /etc/httpd/logs/audit_log (may depend on installation)

    8. Domain Access Logs: /usr/local/apache/domlogs/domain.com (General access log file for each domain configured with cPanel)

    9. MySQL General Information and Errors: /var/lib/mysql/$(hostname).err (This path could vary, but is generally located in /var/lib/mysql.Could also be located at /var/log/mysqld.log)