Parallels Plesk Panel for Linux services logs and configuration files

Parallels Plesk Panel for Linux services logs and configuration files

 

#tail -f /usr/local/psa/var/log/maillog

#tail -f /var/log/messages

 

Main services

Control Panel

Error log: /var/log/sw-cp-server/error_log
Access log: /usr/local/psa/admin/logs/httpsd_access_log
Panel log: /usr/local/psa/admin/logs/panel.log

service control:

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

Log: /usr/local/psa/admin/logs/sitebuilder.log
Install / Upgrade logs: /usr/local/sb/tmp/

service control:

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

Error Log: /var/log/sw-cp-server/error_log
Access log: /usr/local/psa/admin/logs/httpsd_access_log

service control:

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

Error Log: /var/log/sw-cp-server/error_log
SSO log: /var/log/sso/sso.log

service control:

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

Error log: /var/log/sw-cp-server/error_log

service control:

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

config files:

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


phpPGAdmin

Error log: /var/log/sw-cp-server/error_log

service control:

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

config files:

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


Courier-IMAP

Access and Error log: /usr/local/psa/var/log/maillog

service control:

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)

Access and Error log: /usr/local/psa/var/log/maillog

service control:

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)

Access and Error log: /var/log/messages

service control:

Stop:
/etc/init.d/named stop

Start:
/etc/init.d/named start

Restart:
/etc/init.d/named restart

config files:

/etc/named.conf


Tomcat

Access and Error logs: /var/log/tomcat5/

service control:

Stop:
/etc/init.d/tomcat5 stop

Start:
/etc/init.d/tomcat5

Restart:
/etc/init.d/tomcat5

config files:

/usr/share/tomcat5/conf/


MySQL

Access and Error log: /var/log/mysqld.log

service control:

Stop:
/etc/init.d/mysqld stop

Start:
/etc/init.d/mysqld start

Restart:
/etc/init.d/mysqld restart

config files:

/etc/my.cnf


Postgresql

Startup log: /var/lib/pgsql/pgstartup.log

service control:

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

Access and Error log: /usr/local/psa/var/log/maillog

service control:

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

Access and Error log: /usr/local/psa/var/log/maillog

service control:

Stop:
/etc/init.d/drwebd stop

Start:
/etc/init.d/drwebd start

Restart:
/etc/init.d/drwebd restart

config files:

/etc/drweb/


FTP(proftpd)

Access and Error log: /usr/local/psa/var/log/xferlog

service control:

No service control (working via xinetd service).

config files:

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


Kaspersky antivirus

Log: /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

service control:
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)

Access and Error log: /usr/local/psa/var/log/maillog

service control:

Stop:
/etc/init.d/postfix stop

Start:
/etc/init.d/postfix start

Restart:
/etc/init.d/postfix restart

config files:

/etc/postfix/


xinetd

Access and Error log: /var/log/messages

service control:

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)

Log files: /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

config files:

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


Watchdog (rkhunter)

Log: /var/log/rkhunter.log

service control:

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

config files:

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


Mailman (Maillist service)

Log files: /var/log/mailman/

service control:

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

service control:

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

config files:

/usr/local/psa/etc/awstats/


Webalizer

service control:

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

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

service control:

Functionality is controlled by the Plesk Control Panel service.

config files:

/etc/psa/psa.conf


Plesk Migration Manager

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

service control:

Functionality is controlled by the Plesk Control Panel service.


Horde

Log: /var/log/psa-horde/psa-horde.log

service control:

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: /var/log/atmail/

service control:

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

No logs

service control:

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: /var/log/samba/

service control:

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

service control:

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)

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

config files:

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


psa-vpn

service control:

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: /usr/local/psa/admin/logs/health-alarm.log

service control:

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: /usr/local/psa/admin/logs/health-alarm.log

service control:

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)

Access and Error logs: /var/log/httpd/
Plesk domains logs: /var/www/vhosts/%d/statistics/logs/

service control:

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

Join the Conversation

1 Comment

  1. Fantastic blog! Do you have any suggestions for aspiring writers?
    I’m planning to start my own site soon but I’m a little lost on everything.

    Would you suggest starting with a free platform like WordPress or go for a paid option?
    There are so many choices out there that I’m totally confused .. Any ideas? Many thanks!

Leave a comment