Bir sorun ayıklamaya çalışırken gitmeniz gereken ilk yer bu program için log (günlük) dosyasıdır. Aşağıda log dosyaları ve dizinleri mevcuttur.
DirectAdmin:
1 2 3 4 |
/var/log/directadmin/error.log /var/log/directadmin/errortaskq.log /var/log/directadmin/system.log /var/log/directadmin/security.log |
Apache:
1 2 3 4 5 6 7 |
/var/log/httpd/error_log /var/log/httpd/access_log /var/log/httpd/suexec_log /var/log/httpd/fpexec_log /var/log/httpd/domains/<b>domain.com</b>.error.log /var/log/httpd/domains/<b>domain.com</b>.log /var/log/messages (generic errors) |
Proftpd:
1 2 3 |
/var/log/proftpd/access.log /var/log/proftpd/auth.log /var/log/messages (generic errors) |
Pureftpd:
1 |
/var/log/pureftpd.log |
Dovecot and vm-pop3d:
1 2 |
/var/log/maillog /var/log/messages |
Named (Bind):
1 |
/var/log/messages |
Exim:
1 2 3 4 |
/var/log/exim/mainlog /var/log/exim/paniclog /var/log/exim/processlog /var/log/exim/rejectlog |
(on FreeBSD, they have “exim_” in front of the filenames)
Mysqld:
1 2 3 |
RedHat: /var/lib/mysql/<b>server.hostname.com</b>.err FreeBSD ve Debian: /usr/local/mysql/data/<b>server.hostname.com</b>.err |
Crond:
1 |
/var/log/cron |
Bir günlük dosyasını görüntülemek için, çalıştırınız:
less /var/log/dosyaadı
Görüntülemek istediğiniz günlük yolu /var/log/filename şeklindedir, Günlük çok büyük ise tail komutunu kullanabilirsiniz.
tail -n 30 /var/log/dosyaadı