Plesk 11 Reference - Log Locations, System Commands, Config files

Posted on April 18, 2013
pic-plesk-11

This article is a reference for the configuration and log file locations of services that interact with Plesk 11. Enjoy!

Control Panel

Logs

/var/log/sw-cp-server/error_log
/usr/local/psa/admin/logs/httpsd_access_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

Config Files
php: /usr/local/psa/admin/conf/php.ini
www: /etc/sw-cp-server/applications.d/plesk.conf
features: /usr/local/psa/admin/conf/site_isolation_settings.ini

Sitebuilder

Logs
/usr/local/psa/admin/logs/sitebuilder.log
/usr/local/sb/tmp/

Services
No service control (working via sw-cp-server service).

Config Files
/usr/local/sb/config
/etc/sw-cp-server/applications.d/plesk.conf
/usr/local/psa/admin/conf/php.ini

Billing

Logs
/var/log/sw-cp-server/error_log
/usr/local/psa/admin/logs/httpsd_access_log

Services
No service control (working via sw-cp-server service).

Config Files
/usr/local/psa/admin/conf/php.ini
/etc/sw-cp-server/applications.d/plesk.conf
/opt/plesk-billing/htdocs/lib-billing/include/config/config.php

SSO

Logs
/var/log/sw-cp-server/error_log
/var/log/sso/sso.log

Services
No service control (working via sw-cp-server service).

Utility to configure SSO & Panel integration:
/usr/local/psa/bin/sso

Config Files
/etc/sw-cp-server/applications.d/00-sso-cpserver.conf
/etc/sso/sso_config.ini

phpMyAdmin

Logs
/var/log/sw-cp-server/error_log

Config Files
/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/libraries/config.default.php

phpPGAdmin

Logs
/var/log/sw-cp-server/error_log

Config Files
/usr/local/psa/admin/htdocs/domains/databases/phpPgAdmin/conf/config.inc.php/p>

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

Config Files
/etc/courier-imap/imapd
/etc/courier-imap/imapd-ssl
/etc/courier-imap/pop3d
/etc/courier-imap/pop3d-ssl

SMTP server (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

Config Files
/etc/xinetd.d/smtp_psa
/etc/xinetd.d/smtps_psa
/etc/xinetd.d/submission_psa
/etc/inetd.conf (Debians)
/var/qmail/control/

Named (BIND, DNS)

Logs
/var/log/messages

Services

Stop: /etc/init.d/named stop
Start: /etc/init.d/named start
Restart: /etc/init.d/named restart

Config Files
/etc/named.conf

Tomcat

Logs
/var/log/tomcat5/

Services

Stop: /etc/init.d/tomcat5 stop
Start: /etc/init.d/tomcat5
Restart: /etc/init.d/tomcat5

Config Files
/usr/share/tomcat5/conf/

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

Config Files
/etc/my.cnf

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

Config Files
/var/lib/pgsql/data/postgresql.conf

Plesk SpamAssassin

Logs
/usr/local/psa/var/log/maillog

Services

Stop: /etc/init.d/psa-spamassassin stop
Start: /etc/init.d/psa-spamassassin start
Restart: /etc/init.d/psa-spamassassin restart

Config Files
/etc/mail/spamassassin/
/etc/mail/spamassassin/local.cf
/var/qmail/mailnames/%d/%l/.spamassassin

Drweb antivirus

Logs
/usr/local/psa/var/log/maillog

Services

Stop: /etc/init.d/drwebd stop
Start: /etc/init.d/drwebd start
Restart: /etc/init.d/drwebd restart

Config Files
/etc/drweb/

FTP(proftpd)

Logs
/usr/local/psa/var/log/xferlog

Config Files
/etc/xinetd.d/ftp_psa
/etc/proftpd.conf
/etc/proftpd.include

Kaspersky antivirus

Logs
/usr/local/psa/var/log/maillog

Before 10.2:
/var/log/kav/5.5/kav4mailservers/aveserver.log
/var/log/kav/5.5/kav4mailservers/smtpscanner.log
/var/log/kav/5.5/kav4mailservers/avstats.log
/var/log/kav/5.5/kav4mailservers/kavscanner.log
/var/log/kav/5.5/kav4mailservers/kavupdater.log

Services
Since 10.2:

Stop: /etc/init.d/kavehost stop
Start: /etc/init.d/kavehost start
Restart: /etc/init.d/kavehost restart

Before 10.2:

Stop: /etc/init.d/aveserver stop
Start: /etc/init.d/aveserver start
Restart: /etc/init.d/aveserver restart

Config Files
Before 10.2:
/etc/kav/5.5/kav4mailservers/
Since 10.2:
/opt/kav/sdk8l3/etc/kav-handler.cfg
/etc/kavehost.xml

SMTP server (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

Config Files
/etc/postfix/

xinetd

Logs
/var/log/messages

Services

Stop: /etc/init.d/xinetd stop
Start: /etc/init.d/xinetd start
Restart: /etc/init.d/xinetd restart

Config Files
/etc/xinetd.conf

Watchdog (monit)

Logs
Log files: /usr/local/psa/var/modules/watchdog/log/wdcollect.log
/usr/local/psa/var/modules/watchdog/log/monit.log

Services

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

Config Files
/usr/local/psa/etc/modules/watchdog/monitrc
/usr/local/psa/etc/modules/watchdog/wdcollect.inc.php

Watchdog (rkhunter)

Logs
/var/log/rkhunter.log

Services

Start: /usr/local/psa/admin/bin/modules/watchdog/rkhunter

Config Files
/usr/local/psa/etc/modules/watchdog/rkhunter.conf

Mailman (Maillist service)

Logs
/var/log/mailman/

Services

Stop: /etc/init.d/mailman stop
Start: /etc/init.d/mailman start
Restart: /etc/init.d/mailman restart

Config Files
/etc/httpd/conf.d/mailman.conf
/usr/lib/mailman/Mailman/mm_cfg.py
/etc/mailman/sitelist.cfg

AWstats

Services

Start: /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php

Config Files
/usr/local/psa/etc/awstats/

Webalizer

Logs

Services

Start: /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php

Config Files
/var/www/vhosts/%d/conf/webalizer.conf

Plesk Backup Manager

Logs
Backup logs:
/usr/local/psa/PMM/sessions/<session>/psadump.log
/usr/local/psa/PMM/sessions/<session>/migration.log
/usr/local/psa/PMM/logs/migration.log
/usr/local/psa/PMM/logs/pmmcli.log

Restore logs:
/usr/local/psa/PMM/rsessions/<session>/conflicts.log
/usr/local/psa/PMM/rsessions/<session>/migration.log
/usr/local/psa/PMM/logs/migration.log
/usr/local/psa/PMM/logs/pmmcli.log

Log level
You may need to enable debug logging as per this article:

113956 How to enable debug mode for Parallels Plesk Panel backup operations

Services
Functionality is controlled by the Plesk Control Panel service.

Config Files
/etc/psa/psa.conf

Plesk Migration Manager

Logs
Migration logs: /usr/local/psa/PMM/msessions/<session>/migration.log
/usr/local/psa/PMM/rsessions/<session>/migration.log
/usr/local/psa/PMM/rsessions/<session>/conflicts.log
/usr/local/psa/PMM/logs/migration.log
/usr/local/psa/PMM/logs/pmmcli.log
/usr/local/psa/PMM/logs/migration_handler.log

Services
Functionality is controlled by the Plesk Control Panel service.

Horde

Logs
/var/log/psa-horde/psa-horde.log

Services
Functionality is controlled by the Plesk Control Panel service.

Config Files
apache configs: /etc/httpd/conf.d/zzz_horde_vhost.conf
/etc/psa-webmail/horde/conf.d/

horde configs: /etc/psa-webmail/horde/

Atmail

Logs
Logs: /var/log/atmail/

Services
Functionality is controlled by the Plesk Control Panel service.

Config Files
apache configs: /etc/httpd/conf.d/zzz_atmail_vhost.conf
/etc/psa-webmail/atmail/conf.d/

Atmail configs: /etc/psa-webmail/atmail/atmail.conf
/var/www/atmail/libs/Atmail/Config.php

psa-logrotate

Logs
No logs

Services

Start: /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php

Config Files
/usr/local/psa/etc/logrotate.conf
/usr/local/psa/etc/logrotate.d/

Samba

Logs
Logs: /var/log/samba/

Services

Stop: /etc/init.d/smb stop
Start: /etc/init.d/smb start
Restart: /etc/init.d/smb restart

Config Files
/etc/samba/smb.conf
/etc/samba/smb.conf.include

psa-firewall

Logs

Services

Stop: /etc/init.d/psa-firewall stop
Start: /etc/init.d/psa-firewall start
Restart: /etc/init.d/psa-firewall restart

Config Files
/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

psa-firewall (IP forwarding)

Logs

Services

Stop: /etc/init.d/psa-firewall-forward stop
Start: /etc/init.d/psa-firewall-forward start
Restart: /etc/init.d/psa-firewall-forward restart

Config Files
/usr/local/psa/var/modules/firewall/ip_forward.active
/usr/local/psa/var/modules/firewall/ip_forward.saved

psa-vpn

Logs

Services

Stop: /etc/init.d/smb stop
Start: /etc/init.d/smb start
Restart: /etc/init.d/smb restart

Config Files
/usr/local/psa/var/modules/vpn/openvpn.conf

Health Monitor

Logs
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

Config Files
/usr/local/psa/admin/conf/health-config.xml
/usr/local/psa/var/custom-health-config.xml
/etc/sw-collectd/collectd.conf

Parallels Panel Health Monitor Notification Daemon

Logs
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

Config Files
/usr/local/psa/admin/conf/health-config.xml
/usr/local/psa/var/custom-health-config.xml

Web server (Apache)

Logs
/var/log/httpd/
Plesk domains logs: /var/www/vhosts/%d/statistics/logs/

Services

Stop: /etc/init.d/httpd stop
Start: /etc/init.d/httpd start
Restart: /etc/init.d/httpd restart

Config Files
/etc/httpd/conf/httpd.conf
/etc/httpd/conf.d/
/usr/local/psa/admin/conf/ip_vhosts_bootstrap.conf
/usr/local/psa/admin/conf/vhosts_bootstrap.conf
/usr/local/psa/admin/conf/webmail_atmail_bootstrap.conf
/usr/local/psa/admin/conf/webmail_atmailcom_bootstrap.conf
/usr/local/psa/admin/conf/webmail_horde_bootstrap.conf

Generated Config Files
/usr/local/psa/admin/conf/generated/<version>_server.include
/var/www/vhosts//conf/<version>_httpd.include
/usr/local/psa/admin/conf/generated/<version>_horde.include
/usr/local/psa/admin/conf/generated/<version>_atmail.include
/usr/local/psa/admin/conf/generated/<version>_atmailcom.include
/usr/local/psa/admin/conf/generated/<version>_<domain_name>_webmail.include

Related Posts

Contact Us

Have a question? Send us a message. We'll get back to you soon.

captcha

0 Shares
Share
Share
Tweet
+1
Pin
Stumble