Article ID: 111283, created on May 17, 2011, last review on Jun 17, 2016

  • Applies to:
  • Web Presence Builder 11.5
  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux

Release notes

This article's sole purpose is providing information regarding the services that Plesk interacts with. Below you will find the configuration and log file locations of the services, which may be useful during a troubleshooting procedure.

A previous version of this article is available here:

  • #122458 Plesk for Linux services logs and configuration files (Plesk 11.5)

For Plesk on Windows see KB #111289

Services

Plesk

  • Logs
    • Error log: /var/log/sw-cp-server/error_log and /var/log/sw-cp-server/sw-engine.log
    • Access log: /usr/local/psa/admin/logs/httpsd_access_log
    • Panel log: /usr/local/psa/admin/logs/panel.log
  • Services
    • Stop: /etc/init.d/psa stop
    • Start: /etc/init.d/psa start
    • Restart: /etc/init.d/psa restart
  • Configuration
    • PHP config: /usr/local/psa/admin/conf/php.ini
    • Panel config: /usr/local/psa/admin/conf/panel.ini
    • Web server config: /etc/sw-cp-server/conf.d/plesk.conf

Web Presence Builder

  • Logs
    • Error log: /usr/local/psa/admin/logs/sitebuilder.log
    • Install/upgrade logs: /usr/local/sb/tmp/
  • No service control (working via the sw-cp-server service)
  • Configuration
    • /usr/local/sb/config
    • /etc/sw-cp-server/conf.d/plesk.conf
    • /usr/local/psa/admin/conf/php.ini

SSO

  • Logs
    • Error log: /var/log/sw-cp-server/error_log
    • SSO log: /var/log/sso/sso.log
  • Services
    • No service control (works via the sw-cp-server service)
    • Manage settings: /usr/local/psa/bin/sso
  • Configuration
    • /etc/sso/sso_config.ini
    • /etc/sw-cp-server/conf.d/sso.inc

Backup Manager

  • Logs
    • Backup logs: /usr/local/psa/PMM/logs/backup-<datetime>
    • Restore log: /usr/local/psa/PMM/logs/restore-<datetime>
  • Functionality is controlled by the Plesk control panel service
  • Configuration
    • /etc/psa/psa.conf

Plesk Migrator

  • Configuration
    • /usr/local/psa/var/modules/panel-migrator/conf/
  • Logs
    • /usr/local/psa/var/modules/panel-migrator/logs/

Migration Manager

  • Logs
    • /usr/local/psa/PMM/logs/migration-<datetime>
  • Functionality is controlled by the Plesk control panel service.

Health Monitor Manager

  • Logs
    • /usr/local/psa/admin/logs/health-alarm.log
  • Services
    • Stop: /etc/init.d/sw-collectd stop
    • Start: /etc/init.d/sw-collectd start
    • Restart: /etc/init.d/sw-collectd restart
  • Configuration
    • /usr/local/psa/admin/conf/health-config.xml
    • /usr/local/psa/var/custom-health-config.xml
    • /etc/sw-collectd/collectd.conf

Health Monitor Notification Daemon

  • Logs
    • /usr/local/psa/admin/logs/health-alarm.log
  • Services
    • Stop: /etc/init.d/psa-health-monitor-notificationd stop
    • Start: /etc/init.d/psa-health-monitor-notificationd start
    • Restart: /etc/init.d/psa-health-monitor-notificationd restart
  • Configuration
    • /usr/local/psa/admin/conf/health-config.xml
    • /usr/local/psa/var/custom-health-config.xml

MySQL

  • Logs
    • /var/log/mysqld.log
  • Services

    • Stop: /etc/init.d/mysqld stop
    • Start: /etc/init.d/mysqld start
    • Restart: /etc/init.d/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)

PostgreSQL

  • Logs
    • /var/lib/pgsql/pgstartup.log
  • Services
    • Stop: /etc/init.d/postgresql stop
    • Start: /etc/init.d/postgresql start
    • Restart: /etc/init.d/postgresql restart
  • Configuration
    • /var/lib/pgsql/data/postgresql.conf

Apache

  • Logs
    • Global Access and Error logs: /var/log/httpd/
    • Domain logs: /var/www/vhosts/<domain>/logs
  • Services
    • Stop: /etc/init.d/httpd stop
    • Start: /etc/init.d/httpd start
    • Restart: /etc/init.d/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)
  • NOTE: The service is called apache2 on SuSE, Debian, and Ubuntu. The path to its logs is /var/log/apache2 and the path to the configs is /etc/apache2.

NGINX

  • Logs
    • Error log: /var/log/nginx/error.log
    • Access log: /var/log/nginx/access.log
    • Domain logs: /var/www/vhosts/<domain>/logs/proxy_access*_log
  • Services
    • Stop: /etc/init.d/nginx stop
    • Start: /etc/init.d/nginx start
    • Restart: /etc/init.d/nginx restart
    • NOTE: To disable nginx, go to "Tools & Settings > Services Management" and stop nginx from there.
  • 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)

Tomcat

  • Logs
    • /var/log/tomcat5/*
  • Services
    • Stop: /etc/init.d/tomcat5 stop
    • Start: /etc/init.d/tomcat5 start
    • Restart: /etc/init.d/tomcat5 restart
  • Configuration
    • /etc/tomcat5/server.xml

FTP

  • Logs
    • /usr/local/psa/var/log/xferlog
    • /var/log/secure
  • No service control (works via the Xinetd service)
  • Configuration
    • /etc/xinetd.d/ftp_psa
    • /etc/proftpd.conf
    • /etc/proftpd.include

Xinetd

  • Logs
    • /var/log/messages
  • Services
    • Stop: /etc/init.d/xinetd stop
    • Start: /etc/init.d/xinetd start
    • Restart: /etc/init.d/xinetd restart
  • Configuration
    • /etc/xinetd.conf
    • /etc/xinetd.d/* (files with "." in the name are ignored)

BIND

  • Logs
    • /var/log/messages
  • Services
    • Stop: /etc/init.d/named stop
    • Start: /etc/init.d/named start
    • Restart: /etc/init.d/named restart
  • Configuration
    • /etc/named.conf
  • NOTE: The service is called bind9 on Debian/Ubuntu.

Courier-IMAP

  • Logs
    • /usr/local/psa/var/log/maillog
  • Services
    • Stop: /etc/init.d/courier-imap stop
    • Start: /etc/init.d/courier-imap start
    • Restart: /etc/init.d/courier-imap restart
  • Configuration
    • /etc/courier-imap/imapd
    • /etc/courier-imap/imapd-ssl
    • /etc/courier-imap/pop3d
    • /etc/courier-imap/pop3d-ssl

Dovecot

  • Logs
    • Logs can be found using the /usr/sbin/dovecot log find command
  • Services
    • Stop: /etc/rc.d/init.d/dovecot stop
    • Start: /etc/rc.d/init.d/dovecot start
    • Restart: /etc/rc.d/init.d/dovecot restart
  • Configuration
    • /etc/dovecot/dovecot.conf
    • /etc/sysconfig/dovecot
    • /etc/dovecot/conf.d/11-plesk-security-ssl.conf

Postfix

  • Logs
    • /usr/local/psa/var/log/maillog
  • Services
    • Stop: /etc/init.d/postfix stop
    • Start: /etc/init.d/postfix start
    • Restart: /etc/init.d/postfix restart
  • Configuration
    • /etc/postfix/master.cf
    • /etc/postfix/main.cf

Qmail

  • Logs
    • /usr/local/psa/var/log/maillog
  • Services
    • Stop: /etc/init.d/qmail stop
    • Start: /etc/init.d/qmail start
    • Restart: /etc/init.d/qmail restart
  • Configuration
    • Control files in /var/qmail/control/
    • /etc/xinetd.d/smtp_psa
    • /etc/xinetd.d/smtps_psa
    • /etc/xinetd.d/submission_psa

Horde

  • 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

Roundcube

  • Logs
    • Error log: /var/log/plesk-roundcube/errors
  • No service control (works via the Apache web-server)
  • Configuration
    • /etc/psa-webmail/roundcube/*

Mailman

  • Logs
    • /var/log/mailman/*
  • Services
    • Stop: /etc/init.d/mailman stop
    • Start: /etc/init.d/mailman start
    • Restart: /etc/init.d/mailman restart
  • Configuration
    • /etc/httpd/conf.d/mailman.conf
    • /usr/lib/mailman/Mailman/mm_cfg.py
    • /etc/mailman/sitelist.cfg

SpamAssassin

  • Logs
    • /usr/local/psa/var/log/maillog
  • Services
    • Stop: /etc/init.d/spamassassin stop
    • Start: /etc/init.d/spamassassin start
    • Restart: /etc/init.d/spamassassin restart
  • Configuration
    • /etc/mail/spamassassin/local.cf
    • /var/qmail/mailnames/<domain>/<mailbox>/.spamassassin/user_prefs

Parallels Premium Antivirus

  • Logs
    • /usr/local/psa/var/log/maillog
    • /var/drweb/log/*
  • Service control
    • Stop: /etc/init.d/drwebd stop
    • Start: /etc/init.d/drwebd start
    • Restart: /etc/init.d/drwebd restart
  • Configuration
    • /etc/drweb/*

Kaspersky Antivirus

  • Logs
    • /usr/local/psa/var/log/maillog
  • Service control
    • Stop: /etc/init.d/kavehost stop
    • Start: /etc/init.d/kavehost start
    • Restart: /etc/init.d/kavehost restart
  • Configuration
    • /opt/kav/sdk8l3/etc/kav-handler.cfg
    • /etc/kavehost.xml

phpMyAdmin

  • 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

phpPgAdmin

  • 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

Logrotate

  • 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/*

Webalizer

  • No service control. Executed by the daily maintenance task: /etc/cron.daily/50plesk-daily
  • Configuration
    • /srv/www/vhosts/system/<domain>/conf/webalizer.conf

AWstats

  • No service control. Executed by the daily maintenance task: /etc/cron.daily/50plesk-daily
  • Configuration
    • /usr/local/psa/etc/awstats/awstats.<domain>-*.conf

Watchdog (monit)

  • Logs
    • /usr/local/psa/var/modules/watchdog/log/wdcollect.log
    • /usr/local/psa/var/modules/watchdog/log/monit.log
  • Service control
    • Stop: /usr/local/psa/admin/bin/modules/watchdog/wd --stop
    • Start: /usr/local/psa/admin/bin/modules/watchdog/wd --start
    • Restart: /usr/local/psa/admin/bin/modules/watchdog/wd --restart
  • Configuration
    • /usr/local/psa/etc/modules/watchdog/monitrc
    • /usr/local/psa/etc/modules/watchdog/wdcollect.inc.php

Watchdog (rkhunter)

  • 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

Plesk Firewall

  • Service control
    • Stop: /etc/init.d/psa-firewall stop
    • Start: /etc/init.d/psa-firewall start
    • Restart: /etc/init.d/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

Plesk Firewall (IP forwarding)

  • Service control
    • Stop: /etc/init.d/psa-firewall-forward stop
    • Start: /etc/init.d/psa-firewall-forward start
    • Restart: /etc/init.d/psa-firewall-forward restart
  • Configuration
    • /usr/local/psa/var/modules/firewall/ip_forward.active
    • /usr/local/psa/var/modules/firewall/ip_forward.saved

IP Address Banning (Fail2Ban)

  • Service control
    • Stop: /etc/init.d/fail2ban stop
    • Start: /etc/init.d/fail2ban start
    • Restart: /etc/init.d/fail2ban restart
  • Configuration: A set of IPTables rules. By default:
    • iptables -N fail2ban-plesk-login
    • iptables -A fail2ban-plesk-login -j RETURN
    • iptables -A INPUT -p tcp -m multiport --dports 8880,8443 -j fail2ban-plesk-login

ModSecurity

  • Logs

    • /var/log/httpd/modsec_audit.log
    • /var/www/vhosts/domain.tld/logs/error_log
  • Services
    • Disable: /usr/local/psa/admin/bin/modsecurity_ctl -d
    • Enable: /usr/local/psa/admin/bin/modsecurity_ctl -e

Search Words

mysqld.log

Where are Plesk Slave DNS settings stored

logs

watchdog

56797cefb1efc9130f7c48a7d1db0f0c 29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 18f5eb2d7a7972323627b40f015d5a19 9305481d3bd31663b68451e3bfdec5a5 01bc4c8cf5b7f01f815a7ada004154a2 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF