Archive for November, 2009

Using CLI to Restart Parallels Plesk Panel

Login to the server as user root.

Parallels Plesk Panel for Linux:

# /etc/init.d/psa stop
# /etc/init.d/psa start

Parallels Plesk Panel on FreeBSD since.

# /usr/local/etc/rc.d/psa.sh stop
# /usr/local/etc/rc.d/psa.sh start

Stopped Parallels Plesk Panel service starts automatically

Resolution: Make sure you did not remove the Parallels Plesk Panel event handlers that are required for the proper work of the module:

Service started lowest (0) psaadm /usr/local/psa/admin/bin/php /usr/local/psa/admin/bin/modules/watchdog/wd –monit-service= –plesk-name

Service stopped lowest (0) psaadm /usr/local/psa/admin/bin/php /usr/local/psa/admin/bin/modules/watchdog/wd –unmonit-service=

Note: If you use Debian Linux or Ubuntu Linux, the path to Watchdog’s system files is /opt/psa/admin/modules/watchdog/

Source : http://parallels.com/Plesk/

Setting Up and Starting Watchdog Services in Plesk

To configure Watchdog settings common for all services:

Click the Modules shortcut in the navigation panel > Watchdog. A list of Parallels Plesk Panel services will be displayed.
Click the Preferences icon in the Tools group.

Monitor all services started by administrator. Leave this option selected if you wish the module to monitor all the Parallels Plesk Panel services that you start. If you install a new system service later on, the module will automatically start looking after it. Deselect this check box, if you are going to shut down some of the Parallels Plesk Panel services and you do not want the module to bring them up automatically or bother you with any alert messages.
Polling interval. Specify the interval between service status queries in seconds.

Store resource usage statistics. Leave this option selected if you wish the system to keep reports on CPU and RAM usage for the amount of time you specify.
Repeat security scanning. Specify how often Watchdog should scan the server for malicious code.

Send reports. Specify how often Watchdog should send you consolidated reports on CPU and RAM load, monitored services, disk space partitions and security scanning results.
Send e-mail to. Specify the e-mail address where Watchdog should deliver alerts and reports. By default, the Parallels Plesk Panel administrator’s e-mail address is used.

Send e-mail from. E-mail address on behalf of which the reports and alerts should be sent. By default, this e-mail address is watchdog@your-host-name.

Finally Click Apply to submit the settings.

Source: http://parallels.com/Plesk/

SBDavid

The Plesk Watchdog Module

The Watchdog can scan the server file system for rootkits, backdoors, exploits, trojan horses and other malicious software on demand or on schedule. It can notify you by e-mail of scanning results and show reports through the control panel. It updates its security knowledge base through the Internet before each scan.

The Watchdog module is a solution that ensures that your server is clean from malware, all services are up and running and there is enough free disk space on the server.

Watchdog can monitor the following services:

* Web server providing the control panel interface
* Web server providing WWW service to users’ sites
* SMTP Server (QMail)
* IMAP/POP3 Server (Courier-IMAP)
* DNS Server (BIND)
* Tomcat
* ColdFusion
* MySQL
* PostgreSQL
* SpamAssassin
* Dr.Web antivirus

It can start, stop, and restart the services it monitors, and it can be configured to take actions depending on the stability of a service over some time period. It can start, stop, and restart the services it monitors, and it can be configured to take actions depending on the stability of a service over some time period.

It can run other utilities and notify you when disk space usage has reached the limits you defined.

Source: http://parallels.com/Plesk/

SBDavid

Plesk Command Line Utilities

Plesk Command Line Utilities

Command line utilities for Plesk for Linux/Unix are located in the /usr/local/psa/bin directory on the Plesk server.

To run command line utilities:

Log in to the Plesk server via SSH.

Use one of the following options to run a utility:

To run a utility from any directory, use the following command line format:

# /usr/local/psa/bin/[utility name] [parameters] [options]

To run a utility when the /usr/local/psa/bin/ is your current directory, use the following format:

# ./[utility name] [parameters] [options]

Upon successful execution, utilities return the 0 code. If an error occurs, utilities return code 1 and display the description of the encountered problem on stderr.

Source: http://parallels.com/Plesk/

« Prev - Next »