cpanelKomputer

Location of Error logs in a CPanel/WHM install

I was receiving a 500 internal server error on one of my CPanel sites earlier tonight but the apache error logs in CPanel admin for that user showed nothing. Instead, I had to locate the global apache error logs. This information may help others so I’ve listed some of the most useful CPanel/WHM log file locations below:

Apache Logs
General Error and Auditing Logs:
Location : /usr/local/apache/logs/error_log
Description : All exceptions caught by httpd along with standard error output from CGI applications are logged here..
The first place you should look when httpd crashes or you incur errors when accessing website.

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

Apache Access Logs:
Location : /usr/local/apache/logs/access_log
Description : Complete web server access log records all requests processed by the server.

MySQL Logs

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

ref

© http://carauntuk.com/location-of-error-logs-in-a-cpanelwhm-install

Sponsor 2

Show More

cu.admin

Nama: Arie Ibrahim | Lahir : 16 january 1987 | Lulus : SMA 28 Oktober 1928 jakarta Selatan Tahun 2005 | Keahlian : dibidang komputer. | Ketertarikan: ilmu komputer, ilmu Quran, dan Ilmu Fisika. | Kontak : arie@carauntuk.com adpit31@gmail.com | Pesan : semoga artikel diatas bermanfaat bagi saya pribadi dan yang membutuhkannya, Terimakasih

Related Articles

Leave a Reply

Close