Why DirectAdmin?
DirectAdmin is one of the commonly using web hosting control panels available now. It is an easy to use control panel.
DirectAdmin is an extremely efficient control panel that uses the bare minimum of system resources.
This makes DirectAdmin ideal for systems ranging from low-end VPS units to heavily-loaded dedicated servers.
DirectAdmin is a completely stand-alone control panel. Administrators are free to upgrade/downgrade services, libraries, etc. without fear of breaking the control panel.
In this article we discuss about different log files in 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 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)
Introduction to IAAC [Infrastructure As A Code] tools
It’s time that I had to write an article on IAAC. All giant’s infra are now set and manage as IAAC..
I hope you guys are already aware of these tools and you are already started working on that. This is a simple, straight intro to those tools. This will help you to start your journey as an automation engineer.
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:
2 thoughts on “Important log file paths for Directadmin server”