View DirectAdmin log paths in various systems

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.