- Joined
- Jul 7, 2016
- Messages
- 609
- Points
- 28
The job of a system administrator requires them always to control and understand the status of server operations. Any server changes or changes will be saved to check when needed. Therefore, if you do not know the log position of the services, you will be very embarrassed when encountering an incident that occurs with the server. Here are the essential logs in DirectAdmin control panel you need to know.
To view log, you can this use command
Above are the relevant logs in DirectAdmin control panel you should not ignore. Hopefully, they will help you handle the job most effectively.
Good luck!
Code:
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)
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
mysqld
RedHat:
/var/lib/mysql/server.hostname.com.err
FreeBSD and Debian:
/usr/local/mysql/data/server.hostname.com.err
crond
/var/log/cron
Code:
less /var/log/filename
tail -n 30 /var/log/filename
Good luck!