Error log: /var/log/sw-cp-server/error_log
Access log: /var/log/plesk/httpsd_access_log
Panel log: /var/log/plesk/panel.log
PHP config on RHEL-based: /usr/local/psa/admin/conf/php.ini
PHP config on Debian-based: /opt/psa/admin/conf/php.ini
Panel config on RHEL-based: /usr/local/psa/admin/conf/panel.ini
Panel config on Debian-based: /opt/psa/admin/conf/panel.ini
Web server config: /etc/sw-cp-server/conf.d/plesk.conf
User actions logging:
Tools & Settings > Action log
Backup logs:
Plesk Onyx;/usr/local/psa/PMM/logs/backup-<datetime>
Plesk Obsidian/var/log/plesk/PMM/
Restore log: /usr/local/psa/PMM/logs/restore-<datetime> or /usr/local/psa/PMM/rsessions
Configuration /etc/psa/psa.conf
Logs: /var/log/fail2ban.log
Service control
Stop: service fail2ban stop
Start: service fail2ban start
Restart: service fail2ban restart
Logs: /var/www/vhosts/<domain_name>/logs/error_log
Services
Disable: /usr/local/psa/admin/bin/modsecurity_ctl -d
Enable: /usr/local/psa/admin/bin/modsecurity_ctl -e
Logs
/var/log/plesk/xferlog (or /var/log/xferlog)
/var/log/plesk/ftp_tls.log
Authentication logs
/var/log/secure - CentOS/RHEL-based distributions
/var/log/auth.log - Debian/Ubuntu-based distributions
No service control (works via the Xinetd service)
Configuration
/etc/xinetd.d/ftp_psa
/etc/proftpd.conf
/etc/proftpd.include
Logs
/var/log/messages
Services
Stop: service xinetd stop
Start: service xinetd start
Restart: service xinetd restart
Configuration
/etc/xinetd.conf
/etc/xinetd.d/* (files with "." in the name are ignored)
Logs: /var/log/maillog
Services
Stop: service postfix stop
Start: service postfix start
Restart: service postfix restart
Configuration
/etc/postfix/master.cf
/etc/postfix/main.cf
Service control
Stop: service psa-firewall stop
Start: service psa-firewall start
Restart: service psa-firewall restart
Configuration
/usr/local/psa/var/modules/firewall/firewall-active.sh
/usr/local/psa/var/modules/firewall/firewall-emergency.sh
/usr/local/psa/var/modules/firewall/firewall-new.sh
Logs
/var/log/messages
/var/log/syslog
Services
Stop: service named stop
Start: service named start
Restart: service named restart
Configuration
/etc/named.conf
Note: The service is called bind9 on Debian/Ubuntu and named-chroot on CentOS 7.
Logs
/var/log/maillog
Services
Stop: service courier-imap stop
Start: service courier-imap start
Restart: service courier-imap restart
Configuration
/etc/courier-imap/imapd
/etc/courier-imap/imapd-ssl
/etc/courier-imap/pop3d
/etc/courier-imap/pop3d-ssl
Logs
Logs can be found using the /usr/sbin/dovecot log find command
Services
Stop: service dovecot stop
Start: service dovecot start
Restart: service dovecot restart
Configuration
/etc/dovecot/dovecot.conf
/etc/sysconfig/dovecot
/etc/dovecot/conf.d/11-plesk-security-ssl.conf
Logs
Note: Log file location specified in my.cnf file:
Debian/Ubuntu
cat /etc/mysql/my.cnf | grep log_error
log_error = /var/log/mysql/error.log
cat /etc/my.cnf | grep log-error
og-error=/var/log/mariadb/mariadb.log
/var/log/mysqld.log
Services
Stop: service mysqld stop
Start: service mysqld start
Restart: service mysqld restart
Note: Service name differs on different Linux distributives:
mysqld on CentOS/RHEL 5 and 6
mariadb on CentOS/RHEL 7
mysql on Debian/Ubuntu
Configuration
/etc/my.cnf
/etc/mysql/my.cnf (Debian/Ubuntu)
Logs
/var/lib/pgsql/pgstartup.log
/var/log/postgresql/postgresql-x.x-main.log
Services
Stop: service postgresql stop
Start: service postgresql start
Restart: service postgresql restart
Configuration
/var/lib/pgsql/data/postgresql.conf
CentOS/CloudLinux
/var/lib/pgsql/data/pg_hba.conf
Ubuntu/Debian
/etc/postgresql/x.x/main/pg_hba.conf
Configuration
/usr/local/psa/var/modules/panel-migrator/conf/
/usr/local/psa/admin/plib/modules/panel-migrator/backend/conf/
Logs
/usr/local/psa/var/modules/panel-migrator/logs/
/usr/local/psa/var/modules/panel-migrator/sessions/
Logs
/var/log/maillog
Services
Stop: service qmail stop
Start: service qmail start
Restart: service qmail restart
Configuration
Control files in /var/qmail/control/
/etc/xinetd.d/smtp_psa
/etc/xinetd.d/smtps_psa
/etc/xinetd.d/submission_psa
1.RHEL/CentOS
Global logs:
Access log: /var/log/httpd/access_log
Error log: /var/log/httpd/error_log
Domain logs:
Access logs:
HTTP log: /var/www/vhosts/system/<domain_name>/logs/access_log
HTTPS log: /var/www/vhosts/system/<domain_name>/logs/access_ssl_log
Error log: /var/www/vhosts/system/<domain_name>/logs/error_log
Services
Stop: service httpd stop
Start: service httpd start
Restart: service httpd restart
Configuration
/etc/httpd/conf/httpd.conf
/etc/httpd/conf.d/zz010_psa_httpd.conf (includes generated configuration files with the rest of the vhosts and the server configuration)
/etc/httpd/conf/plesk.conf.d/
2.Debian/Ubuntu
Global logs:
Access log: /var/log/apache2/access.log
Error log: /var/log/apache2/error.log
Domain logs:
Access logs:
HTTP log: /var/www/vhosts/system/<domain_name>/logs/access_log
HTTPS log: /var/www/vhosts/system/<domain_name>/access_ssl_log
Error log: /var/www/vhosts/system/<domain_name>/error_log
Services
Stop: service apache2 stop
Start: service apache2 start
Restart: service apache2 restart
Configuration
/etc/apache2/apache2.conf
/etc/apache2/conf-enabled/zz010_psa_httpd.conf(includes generated configuration files with the rest of the vhosts and the server configuration)
/etc/apache2/plesk.conf.d/
Global logs:
Access log: /var/log/nginx/access.log
Error log: /var/log/nginx/error.log
Domain logs:
HTTP log: /var/www/vhosts/system/<domain_name>/logs/proxy_access_log
HTTPS log: /var/www/vhosts/system/<domain_name>/proxy_access_ssl_log
Error log: /var/www/vhosts/system/<domain_name>/proxy_error_log
nginx Services
Stop: service nginx stop
Start: service nginx start
Restart: service nginx restart
nginx as a reverse-proxy
Stop: /usr/local/psa/admin/bin/nginxmng --disable
Start: /usr/local/psa/admin/bin/nginxmng --enable
Status: /usr/local/psa/admin/bin/nginxmng --status
Configuration
/etc/nginx/nginx.conf
/etc/nginx/conf.d/zz010_psa_nginx.conf (includes generated configuration files with the rest of the vhosts' and server configuration)
Logs
Error log: /var/log/psa-horde/psa-horde.log
No service control (works via the Apache web-server)
Configuration
/etc/psa-webmail/horde/horde.conf
/etc/psa-webmail/horde/horde/conf.php
Logs
Error log: /var/log/plesk-roundcube/errors
No service control (works via the Apache web-server)
Configuration
/etc/psa-webmail/roundcube/*
/usr/share/psa-roundcube/config/defaults.inc.php
Customizations: /usr/share/psa-roundcube/config/config.inc.php
Configuration
/var/qmail/mailnames/<domain_name>/<user_name>/.qmail
Logs
/var/log/maillog
Services
Stop: service spamassassin stop
Start: service spamassassin start
Restart: service spamassassin restart
Configuration
/etc/mail/spamassassin/local.cf
/var/qmail/mailnames/<domain_name>/<mailbox>/.spamassassin/user_prefs
Logs: /var/log/rkhunter.log
Service control:
Start: /usr/local/psa/admin/bin/modules/watchdog/rkhunter
Configration: /usr/local/psa/etc/modules/watchdog/rkhunter.conf
Logs
Error log: /var/log/sw-cp-server/error_log
No service control (working via the sw-cp-server service).
Configuration
/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/libraries/config.default.php
Starting from Plesk 18.0.30: /usr/local/psa/phpMyAdmin/libraries/vendor_config.php
Logs
Error log: /var/log/sw-cp-server/error_log
No service control (working via the sw-cp-server service).
Configuration
/usr/local/psa/admin/htdocs/domains/databases/phpPgAdmin/conf/config.inc.php
No service control. Executed by the daily maintenance task: /etc/cron.daily/50plesk-daily
Configuration
/usr/local/psa/etc/logrotate.conf
/usr/local/psa/etc/logrotate.d/*
/etc/logrotate.conf
/etc/logrotate.d/*
No service control. Executed by the daily maintenance task: /etc/cron.daily/50plesk-daily
Configuration
/srv/www/vhosts/system/<domain_name>/conf/webalizer.conf
No service control. Executed by the daily maintenance task: /etc/cron.daily/50plesk-daily
Configuration
/usr/local/psa/etc/awstats/awstats.<domain_name>-*.conf