Skip to content

Instantly share code, notes, and snippets.

@rushipkar90
Created March 13, 2018 11:41
Show Gist options
  • Save rushipkar90/166c8348692b70639e2b6977e6b24278 to your computer and use it in GitHub Desktop.
Save rushipkar90/166c8348692b70639e2b6977e6b24278 to your computer and use it in GitHub Desktop.
DirectAdmin Log Locations
Ref: https://linuxadminblogs.wordpress.com/2015/01/28/direct-admin-file-locations/
Direct Admin file locations:
———
CONF FILES /etc/httpd/conf/httpd.conf
LOG FILES /var/log/httpd/error.log
START/STOP /usr/local/etc/rc.d/httpd start/stop
Scripts /usr/local/directadmin/scripts/
DNS:-
———
CONF FILE /var/named/etc/namedb/named.conf
DB FILES /etc/namedb/domain.db
START/STOP /usr/local/etc/rc.d/named start/stop
MAIL:-
——–
CONF FILE /etc/exim.conf
LOG FILES /var/log/exim/
START/STOP /usr/local/etc/rc.d/exim start/stop
MAIL DIRECTORY /var/spool/virtual/
EMAIL PASSWORD: /etc/virtual/domain/passwd
Domain specific Mail settings: /etc/virtual/domain
DATABASE:-
—————–
MYSQL PASSWORD: /usr/local/directadmin/conf/mysql.conf
CONF FILE /etc/my.cnf
DATABASE PATH /usr/local/mysql/data/
START/STOP /usr/local/etc/rc.d/mysqld start/stop
FTP:-
——-
CONF FILE /etc/proftpd.conf
START/STOP /usr/local/etc/rc.d/proftpd start/stop
DOMAINS
————————-
/etc/virtual/domains
/etc/virtual/domainowners
Email Alias: /etc/virtual/domain/aliases
Email QUota: /etc/virtual/domain/quota
/etc/virtual/domain/autoresponder.conf
Email account password: /etc/virtual/domain/passwd
/etc/virtual/acrilicos.com/filter
/etc/httpd/conf/extra/directadmin-vhosts.conf
emailspoolvirtual=/var/spool/virtual
emailvirtual=/etc/virtual
ftpconfig=/etc/proftpd.conf
ftppasswd=/etc/proftpd.passwd
ftpvhosts=/etc/proftpd.vhosts.conf
mysqlconf=/usr/local/directadmin/conf/mysql.conf
namedconfig=/etc/named.conf
nameddir=/var/named
templates=/usr/local/directadmin/data/templates
————————————————————————————————————–
Direct Admin Log files
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)
/usr/local/directadmin/data/users/USERNAME/httpd.conf
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment