This article collects the solutions to various problems in the DirectAdmin Log Path in common systems. For more information, see.
You can use the admin Log Viewer to view the default Log files.
You can also use ssh to view the log file list as follows:
DirectAdmin:
/Var/log/directadmin/error. log
/Var/log/directadmin/errortaskq. log
/Var/log/directadmin/system. log
/Var/log/directadmin/security. log
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)
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
(On FreeBSD, they have "exim _" in front of the filenames)
Mysqld:
RedHat:
/Var/lib/mysql/server.hostname.com. err
FreeBSD and Debian:
/Usr/local/mysql/data/server.hostname.com. err
Crond:
/Var/log/cron
Run the following command to view the log file:
Less/var/log/filename
/Var/log/filename: log file path. If the log size is too large, run the "tail" command:
Tail-n 30/var/log/filename
View the last 30 lines of the log file.