PCRE - Perl Compatible Regular Expressions on Cpanel Servers.

The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5.

The latest release of the PCRE library is 8.10. You can download it from its official home via anonymous FTP:

ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/

ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.10.tar.gz

tar xvzf pcre-8.10.tar.gz
cd pcre-8.10
./configure
make
make install

More at the man page - http://www.pcre.org/pcre.txt

How to uninstall RVSiteBuilder

First we need to back up the configuration files.

mkdir /var/cpanel/.rvglobalsoft
cd /var/cpanel/.rvglobalsoft
cp -a /var/cpanel/rvglobalsoft/rvsitebuilder/var ./
cp -a /var/cpanel/rvglobalsoft/rvsitebuilder/www/project ./

Second Step is to remove the RVSiteBuilder files

rm -rf /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller.tar
rm -rf /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller
rm -rf /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilder
rm -f /usr/local/cpanel/whostmgr/docroot/cgi/addon_rvsitebuilder.cgi
rm -rf /var/cpanel/rvglobalsoft
rm -rf /usr/local/cpanel/base/frontend/*/rvsitebuilder
rm -f /usr/local/cpanel/base/frontend/x/cells/rvsitebuilder.htm
rm -f /usr/local/cpanel/base/frontend/x3/dynamicui/dynamicui_rvsitebuilder.conf

Drop the rvsitebuilderdb from MySQL database.

#mysql
mysql> drop database yourdbnamehere;
mysql> exit

RVSiteBuilder is now uninstalled.

Exim started generating error message in /var/log/exim_mainlog after update.

ACL: ratelimit database not available

The cause for this issue is exim cache database might be corrupted. To fix this error the exim cache database on the server needs to be remove(Exim rebuilds this database again after exim restart)

To fix this run the following command as root to remove the cache database.

rm -fv /var/spool/exim/db/*

Then restart the exim :

/etc/init.d/exim restart

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

How to reconfigure and change status for domain in plesk database.

Reconfigure Domain:

/usr/local/psa/admin/sbin/websrvmng –reconfigure-vhost –vhost-name=domain.com

Change the status for domain:

/usr/local/psa/bin/domain -u domain.com -status enabled

You should get a message the Object successfully enabled, once that is done the domain should be unsuspended in Plesk.

« Prev - Next »