ServerTune provides -- managed and un-managed -- VPS hosting solutions at affordable prices to accommodate your personal and/or businesses needs.
Click here for more info ...

Browse by category
Search | Advanced search
When you experience a problem, the first thing you should do is check the log files for errors that might help in troubleshooting the issue. The log files are placed in different directories 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)
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)
MySQL : (RedHat):
/var/lib/mysql/server.hostname .com.err
MySQL (FreeBSD):
/usr/local/mysql/data/server.hostname.com.err
crond:
/var/log/cron
To view a Exim mainlog log file, for example, run the following command:
less /var/log/exim/mainlog
If the log is too large you can use the "tail" command:
tail -n 30 /var/log/filename
Where 30 is the number of lines from the end you wish to view.