Plesk Login trouble
This was contributed by JLChafardet from the ev1forums:
How-to fix login problems in Plesk (Unable to open rpm db : [cannot open Packages index using db- ( - 30982 )]
This seems to be a common plesk issue when RPM gets upgraded, the way to fix it is as follows:
Go to the rpm database directory:
cd /var/lib/rpm
Source compile php 4.4.2 for Plesk
I had to figure out how to compile php on a plesk machine and actually get it to work so I took the time to document everything. This guide *should* work, I know it worked on 2 seperate machines. Aside from that do it at your own risk I am not so fond of plesk because it does have so many issues with upgrade. If you have any trouble or dep issues please post thme here so I can work the fixes into the guide.
up2date -i zlib-devel webalizer unixODBC unixODBC-devel tcl tcl-devel sysstat sendmail-devel rwho pspell-devel php-devel php-imap php-ldap php-mysql php-odbc perl-Crypt-SSLeay perl-DBD-Pg perl-DB_File perl-DateManip perl-HTML-Parser perl-HTML-Tagset perl-Parse-Yapp perl-Time-HiRes perl-URI perl-XML-Dumper perl-XML-Encoding perl-XML-Grove perl-XML-Parser perl-XML-Twig perl-libwww-perl perl-libxml-enno perl-libxml-perl perl-suidperl pciutils-devel patchutils openssl-perl openssl-devel net-snmp net-snmp-devel net-snmp-libs net-snmp-perl net-snmp-utilsmysql-devel mrtg mod_perl mod_perl-devel mod_ssl mailman libxslt libxslt-devel libxml libxml-devel libtool libstdc++-devel libpng-devel libpng10 libpng10-devel libjpeg-devel libdbi-dbd-mysql joe htdig htdig-web gd gd-devel compat-libstdc++ compat-libstdc++-devel compat-db compat-gcc compat-gcc-c++ compat-glibc bzip2-devel bind bind-chroot bind-devel ImageMagick ImageMagick-devel ImageMagick-perl MyODBC
mysql-bench
mkdir /usr/local/src/rpm
cd /usr/local/src/rpm
Ensim Rhel4 install problem : cannot open shared object file: No such file or directory
Hi,
i’m trying to install ensim Pro X on my Rhel4 linux machine.
During the install script I getting an error.
One file is not found!
30-06-2006 19:51:51: Failed Prep Service setup with error: /usr/lib/python2.3/site-packages/ensimappl/_cmdlnpopen.so: cannot open shared object file: No such file or directory
When I doing a list of the location the file is located there!
Ensim X python upgrade problems
Ensim python upgrade problems:
If you end upgrading python when doing an overall system update you may start to obtain internal server errors on every page within the ensim control panel. To fix this you need to recompile the templates and restart ensim:
cd /usr/lib/ensim/frontend/kidpages/
/usr/bin/kidc -f *
service epld restart
Install yum on RHEL4
So why do you want to install yum on a rhel box if you already have up2date for RHEL4? Well there are a number of reasons, the main one and the reason I wrote this is that I was installing openvz and it needed yum installed. Trying to just use the yum rpm or source compiling was getting all sorts of python errors. I decided to just grab the centos 4 rpms. Note this is not going to be used for updating, up2date still is used for that.
*NOTE* There was some confusion below, this guide is only to be used on a RHEL4 server - it will break RHEL3.
Just copy/paste the commands
(more…)
Install openvz
This is a rather short and simple mostly copy/paste guide on how to install openvz from http://www.openvz.org . I have been working with this product for only a short time but I have found it to be very nice. Since it is based off the same technology that Virtuozzo uses it should be just as stable. The only real downside is that it does not have a fancy gui, I for one can deal with that for a testing enviroment! It also works fine for a production enviroment if you want to host VPS from it. Future guides will cover the actual configuration, this is simply installing it and NOT setting up any VPS. The openvz has a lot of documentation on their website which can also be useful. I am only installing the centos 4 minimal and regular because that is all I would believe most people would want, the website has some more. Hint Hint! Don’t use fedora core!! Also they only have the templates for yum for Centos 4 so using the centos 3 image is hard. They also have images for fedora core with the yum templates if you want to get them. In time I may try to release an image wih cPanel already installed.
Adding a VPS in OpenVZ
This is another really basic guide that is aimed at getting a very basic VPS online. It is the companion guide to my guide on installing openvz. The below shows the downside to useing openvz instead of paying thousands for a real Virtuozo license. If you can deal with doing a little by shell you can save a lot of cash. This is also an open source project so if you wanted to help contribute you could. I do not go into all of the detauls to configuring it but by the end of the guide you will have a vps with just ssh running.
First off I want to give the link to the official users guide, it is really good and was used extensively in creating a lot of my VPS information.
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf
cd /etc/sysconfig/vz-scripts
cp ve-vps.basic.conf-sample vps.basic.conf
cp ve-vps.light.conf-sample vps.light.conf
Remove OpenVZ limits
Below are a quick set of commands which may be useful to those needing to quickly remove some of the more important limits on a VPS. I have found them extremely valuable when deploying OpenVZ in a load balanced or otherwise very busy environment. Note the –save will save them in the configuration file for when you restart it. If you do not supply the argument then when the VPS is restarted the settings will be lost.
Links to the latest openvz files
Here are some of the links to the latest OpenVZ install files as well as a quick run-down of getting the first VPS up. I got this list when I did a new VPS a few days ago.