Upgrading to PHP5 on RHEL4 Ensim Pro X for Linux
1.Remove php 4.3.9 rpms
# rpm -qa | grep -i php | grep 4.3.9 | xargs rpm -e –nodeps
2.Upgrade / install libc-client using yum or up2date
# yum install libc-client or up2date libc-client
3.Download all php5 rpms from ftp://ftp.digitalus.nl/ensim_php5/
4.Install all php5 rpms
5.Edit /etc/virtualhosting/filelists/apache.sh and add following lines
N:S,rpm:php-domxml
N:S,rpm:php-xml
N:S,rpm:libc-client
6.Run ensim through maintenance
set_pre_maintenance
set_maintenance
set_post_maintenance
service epld restart
Reference : http://parallels.com/
Problem with resume a site previously imported from PPCPL 4.x
The following error message while resuming a site: Failed to link file file system template for service siteinfo. Error 1.
This problem is due to sites imported from version 4.x have the following entry in virtual file-system as link: /home/virtual//fst/usr/lib/X11. In version 10.x the entry is present as directory. When such site is resumed, system is unable to override the entry.
To solve this, link /home/virtual//fst/usr/lib/X11 should be deleted after site import and /home/virtual//fst/usr/lib/X11 directory should be added.
Reference : http://parallels.com
CGI is not working for sub-domain after the site has been imported
This is because the /home/virtual//fst/var/subdomain//html link which points to ../../../home//public_html doesn’t export because this link does not belong to exported user.
To resolve this issue, Create the mentioned link after export manually.
Login to the server as root
Change directory to home of a site administrator of exported site
Where N is an ID of the site administrator.
Create the necessary link by executing the following command:
ln –s ../../../home//public_html/var/subdomain//html
4. After link has been created the CGI for sub-domain(s) should be working.
Reference : http://parallels.com
Scheduled backup fails on Ensim Pro X for Linux
Once you edit the scheduled backup on Ensim Pro X for Linux v10.0.0, scheduled backup fails to function. Primary reason logged is ftp login failure. To fix this problem download the script and execute on the server.
Download :
http://download.swsoft.com/ensim/download/pro/linux/kb/2332/fix_schback_KB2332.pl
wget http://download.swsoft.com/ensim/download/pro/linux/kb/2332/fix_schback_KB2332.pl
# perl fix_schback_KB2332.pl
Reference : http://parallels.com
Creating Repos for RHEL / Centos
Please follow the given steps to setup a repos on the local server. Make sure that you have installed rpm createrepo, You can download the required rpm for your os from:
http://dag.wieers.com/packages/createrepo/
Copy all the rpm from all redhat cd to this directory.
# mkdir /repos/updates
# createrepo /repos/os
# createrepo /repos/updates
After doing this you just need to run the ensim installer in the following way.
# sh ensim-installer.sh –email=you@youremail.com –cdrom=n -o file:///repos/os -u file:///repos/updates