Important log file paths for Directadmin server

The log files plays an important role in error trouble shooting process. Different control panels have different log files and location. Here is some important and commonly using log files for linux server which has Directadmin as control panel.

Default DirectAdmin log files:

# /var/log/directadmin/error.log
# /var/log/directadmin/errortaskq.log
# /var/log/directadmin/system.log
# /var/log/directadmin/security.log

Default webserver log files (Apache);

# /var/log/httpd/error_log
# /var/log/httpd/access_log
# /var/log/httpd/suexec_log
# /var/log/httpd/fpexec_log
# /var/log/httpd/domains/domain.com.error.log
# /var/log/httpd/domains/domain.com.log
# /var/log/messages (generic errors)

FTP:
Proftpd:

#/var/log/proftpd/access.log
#/var/log/proftpd/auth.log
#/var/log/messages (generic errors)

PureFTPd:

# /var/log/pureftpd.log

Dovecot and vm-pop3d:

# /var/log/maillog
# /var/log/messages

named (bind):

# /var/log/messages

exim:

# /var/log/exim/mainlog
# /var/log/exim/paniclog
# /var/log/exim/processlog
# /var/log/exim/rejectlog

Click here for Important exim log file paths in WHM/cPanel & Directadmin

mysqld:
RedHat:

# /var/lib/mysql/server.hostname.com.err

FreeBSD and Debian:

# /usr/local/mysql/data/server.hostname.com.err

crond:

# /var/log/cron

You can use the following commands to view log files:

less /log/location   : Static view 
tail -f Or tailf /log/location  Dynamic view

That’s it 🙂

Related links:
Important exim log file paths in WHM/cPanel & Directadmin

Arunlal Ashok

Linux Server Administrator. I'm dealing with Linux servers since 2012. I started this blog to share and discuss my ideas with the world. Check My Profile!! in uPwork (oDesk) and let me know if you need any assistance. Thanks!!

You may also like...

1 Response

  1. January 26, 2014

    […] Links: log file paths for Directadmin server How to change Direct admin’s default port […]

Leave a Reply

Your email address will not be published. Required fields are marked *