Disk Quota Problems with Parallels Pro Control Panel
dmesg and /var/log/messages show the following messages.
kernel: VFS: Can’t read quota structure for id 32048.
kernel: VFS: Quota for id 32049 referenced but not present.
This can happen due to a server crash when the filesystems are not unmounted properly, causing the filesystem and quota information to go out of sync.
To fix this run the following commands:
quotaoff -a
quotacheck -agmi
quotacheck -aumi
quotaon -a
quotacheck Scan a filesystem for disk usage, create, check and repair quota files
How to import sites with custom MX records Ensim Pro Control Panel Linux
The import of a site with custom MX records could cause creation of duplicated MX records: apart from custom MX records which are defined in the imported archive, default MX records could be created.
In order to avoid this, please proceed through the following steps when importing a site with custom MX records:
1. Before importing sites disable the creation of default MX records. Run the following command(s) as root:
/usr/local/bin/SetDefaultMXRecordState -f on
2. Restart epld service using the following commands as root:
3. Import site from the archive.
4. When the site is succesfuly imported, please turn off the freezing of MX records for imported sites.
For this, run the following commands as root:
/usr/local/bin/SetDefaultMXRecordState -f off
Reference : http://parallels.com/
Zend Optimizer Installation on Ensim Pro Control Panel
Steps to Install Zend Optimizer on Ensim Pro for Linux.
1.Download Zend Optimizer from www.zend.com and follow the installation procedure.
2.Once the installation is complete, create tar file using following command.
# tar cf virtDomain.tar /usr/local/Zend
(Assuming that Zend has been installed at default location - /usr/local/Zend)
3.Copy this tarball to /etc/appliance/customization
4.Download the
http://download.swsoft.com/ensim/download/pro/linux/kb/2800/virtDomain.sh
custom script named virtDomain.sh and upload the same to /etc/appliance/customization
5.Download the
http://download.swsoft.com/ensim/download/pro/linux/kb/2800/editVirtDomain.sh
custom script named editVirtDomain.sh and upload the same to /etc/appliance/customization
Note : you need to replace Zend Extension part with one copied from /usr/local/Zend/etc/php.ini in the attached scripts.
6.chmod both script to 755
Now all new domain created on server with any security level will be Zend enabled. If you want existing domain with high security to be zend enabled then you just need to re-save the site from Webppliance.
Reference: http://parallels.com/
Fix For Memory Error in Ensim Pro for Linux Version
Restore of appliance, reseller, site and user fails with the “MemoryError” if the size of the backup tar file is greater than the aggregate size of RAM and swap space.
Instructions to fix MemoryError exception occuring during import sites.
Resolution: Add extra swap space to the server before doing the restore. The extra swap space is added to the server by setting up a new swap file and enabling swapping on it.
Instructions to setup swap file:
Select the partition where you want to create the swap file. This partition must have free disk space to create the swap file.
Create a file for swap with the following command (# is shell prompt):
#dd if=/dev/zero of=/var/swapfile bs=1024 count=
Where = number of 1024 blocks required. If count=1024000 size of /var/swapfile will be 1024* 1024000 = 1 GB.
Setup an extra swap with the following command:
Enable “/var/swapfile” for swapping with the following command:
Verification: The file “/proc/swaps” must contain the entry for the swap file “/var/swapfile”. If this entry is not present, then swapping has not been enabled for the swap area.
Restore can be performed after the extra swap file has been enabled for swapping.
Instructions for deleting the swap file after import:
Turn off swapping for file “/var/swapfile” with the following command:
Delete the file “/var/swapfile” with the following command:
MailScanner + ClamAV causing high load on Ensim Pro for Linux
Ensim Control Panel by default has the clamavmodule setting in MailScanner configuration, this was causing high loads on the server. This was also due to the MailScanner + ClamAV versions installed on the server not being compatible with each other.
To address this we are providing the rpms for the latest compatible versions of these two softwares with clamav setting which is less resource hungry as compared to the clamavmodule.
Downloads From::
32bit OS
http://download.pro.parallels.com/download/pro/linux/kb/2505/i386/
64bit OS
http://download.pro.parallels.com/download/pro/linux/kb/2505/x86_64/
Installation Procedure:
1. Get the RPMs from the locations mentioned above.
2. Upgrade the RPMs (rpm -Uvh *.rpm)
3. sh upgrade.sh
Reference: http://parallels.com