Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(): Failed opening '/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24
whm/cpanel log檔的路逕 – unethost無限空間虛擬主機 技術分享部落格

whm/cpanel log檔的路逕

使用whm/cpanel,並自己管理主機,請直接參考這一篇,就可以知道各log檔的路逕。

Apache:
/usr/local/apache/logs/access_log
/usr/local/apache/logs/error_log
各自帳號的:
/usr/local/apache/domlogs

MySQL:
/var/lib/mysql/xxxx.err
(xxxx 跟 host name 同)

FTP:
/var/log/messages

Mail (exim):
cpanel 是透過 exim 進行發收郵件,所以郵件的部份需查詢:
/var/log/exim_mainlog
/var/log/exim_rejectlog

Cpanel:
cpanel本身也會記錄部份使用資訊,比方說cpanel的登出入,webmail的登出入……等等
請查詢:
/usr/local/cpanel/logs
/usr/local/cpanel/logs/access_log
/usr/local/cpanel/logs/error_log

以上部份,供大家除錯時使用。