Important log file paths for Directadmin server

The log information plays a vital role in error troubleshooting process. Different control panels have different log information and location. Here are some important and mostly used log information for Linux server with Directadmin.

logo-directadmin1.fw_

1- Default DirectAdmin log files:

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

2- Default web server 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)

3- 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

4- Named (bind):

# /var/log/messages

5- Exim:

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

Click here for Important log file locations in WHM/cPanel

6- Mysqld:

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

FreeBSD and Debian:

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

7- 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 .