öàªèÒ »ÃÐàÀ·µèÒ§æ
öàªèÒ ¨Ñ§ËÇÑ´
Log File paths direct admin
Çѹ·Õè: 08/09/2012
àÇÅÒ: 10:07:08
| ||
| The first place you should go when trying to debug a problem is the log file for that program. The list of Log Files are as follows: DirectAdmin: /var/log/directadmin/error.log Apache: /var/log/httpd/error_log Proftpd: /var/log/proftpd/access.log Dovecot and vm-pop3d: /var/log/maillog named (bind): /var/log/messages exim: /var/log/exim/mainlog mysqld: RedHat: /var/lib/mysql/server.hostname.com.err FreeBSD and Debian:/usr/local/mysql/data/server.hostname.com.err crond: /var/log/cron To view a log file, run: less /var/log/filename Where /var/log/filename is the path of the log you wish to view. If the log is too large you can use the "tail" command:tail -n 30 /var/log/filename Where 30 is the number of lines from the end you wish to view. |
![]()
¤ÇÒÁ¤Ô´àËç¹·Ñé§ËÁ´
ÂѧäÁèÁÕ¤ÇÒÁ¤Ô´àËç¹ ÁÒÃèÇÁáÊ´§¤ÇÒÁ¤Ô´àËç¹à»ç¹¤¹ááÊÔ!