How to fix Broken RedHat up2date support on Parallels Plesk
In Parallels Plesk Panel 10.0.1 installed on RedHat 4 OS try upgrading any component through Autoinstaller in Parallels Plesk interface. The following error is shown:
There was an error downloading: ……
……
……
An error has occurred:
exceptions.UnboundLocalError
See /var/log/up2date for more information
Error: The up2date utility failed to install the required packages.
Attention! Your software might be inoperable.
Please, contact product technical support.
For fixing this issue you can use following workarounds:
Edit /etc/sysconfig/rhn/sources file for use different IDs for sources added by Parallels Installer. Need to edit between component selection and installation process start.
Disable up2date: Edit file /root/.autoinstallerrc
ALLOW_TO_USE_UP2DATE=”no”
Reference: http://parallels.com/
How to fix Cpanel Account Permissions
Fixing file and directory permission.
find /home/*/public_html/* -type f -exec chmod 644 {} \;
find /home/*/public_html/* -type d -exec chmod 755 {} \;
we can specify user by replace * with usename
To fix the permission for all the websites.
for i in `ls /var/cpanel/users` ; do chown -R $i.$i /home/$i/public_html/* ; done
Howto fix Spam Assassin Ruleset Bug
This bug can result in legitimate mail being flagged as spam.
The cPanel Development team has issued a hot fix that will address this issue and will automatically update the SpamAssassin ruleset to resolve this issue. If you have automatic cPanel updates enabled, no further action is required.
If you do not have automatic cPanel updates enabled, you can manually update the SpamAssassin ruleset by executing the following commands in a root shell:
/scripts/autorepair spamd_y2010_fix
How to fix MySQL quotas showing 0MB
If your MySQL databases are all showing 0.00MB usage, you probably don’t have the following checked in Tweak Settings:
Calculate the disk usage of account MySQL and PostgreSQL databases.
For some reason, the default setting is “disabled”, or unchecked.
Fix MemoryError exception occuring during import sites with Ensim Pro
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.
Add extra swap space to the EPL server before doing the restore.
The extra swap space is added to the EPL server by setting up a new swap file and enabling swapping on it. The EPL server must have enough disk space to create the swap file. After the restore is successful the swap file can be deleted following the instructions provided to delete the swap file.