Archive for the tag 'module'

SBDavid

Yum error: No module named sqlite

Yum error: No module named sqlite

yum seems to be showing sqlite error.

yum clean all

There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:

No module named sqlite

Reference : http://wiki.linux.duke.edu/YumFaq

To fix this download the latest python-sqlite rpm from CentOS mirror and peform a forceful upgrade.

rpm -Uvh python-sqlite-1.1.7-1.2.1.i386.rpm –force

yum clean all

yum update

Enable ImageMagick perl module for perl/cgi script.

1. Install ImageMagick-perl package corresponding to ImageMagick rpm installed on the server shipped by OS vendor.

e.g.

# rpm -q ImageMagick
ImageMagick-6.0.7.1-12
#rpm -ivh ImageMagick-perl-6.0.7.1-12.i386.rpm

OR

1. You can use up2date or yum to install/upgrade ImageMagick-perl package

# up2date ImageMagick-perl

or

#yum install ImageMagick-perl

2. Run ensim through maintenance mode.

set_pre_maintenance
set_maintenance
set_post_maintenance
service webppliance restart

Reference: http://parallels.com

SBDavid

The pam_time module

The pam_time module is used as an account module-type. The pam_time module does not accept arguments. It instead uses the /etc/security/time.conf file to get information related to login time and location restrictions. There are two important points concerning the /etc/security/time.conf.

The /etc/security/time.conf file restricts access by time and location when used with pam_time.

Each line in /etc/security/time.conf file is called a rule.

Each rule uses the following syntax:

services;ttys;users;times

Install the Parallels Plesk Panel Firewall module through the command line

Note: Parallels Plesk Panel Firewall module and other modules that come with Parallels Plesk Panel are located in the directory /opt/modules of Parallels Plesk Panel distribution.

You can install the Parallels Plesk Panel Firewall module to the Parallels Plesk Panel server in two ways: from the Parallels Plesk Panel interface (recommended), and from the command line.

Login as root to the server, where Parallels Plesk Panel is installed.

Run the command /plesk_installation_directory/admin/bin/modulemng –install –file=[plesk_firewall_module_filename], where ‘plesk_installation_directory’ is the directory you installed Parallels Plesk Panel to.

Example:

/usr/local/psa/admin/bin/modulemng –install –file=/opt/modules/firewall.rpm
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/

« Prev - Next »