Archive for the tag 'Ensim Support'

Reseller bandwidth usage not working in Ensim Control Panel

The problem can appears on the server with large amount of sites, where server is heavily loaded.

To fix the issue you have to increase some parameters in apache config file /usr/lib/ensim/frontend/httpd/conf/eplhttpd.conf.template

Add there env apache module:

LoadModule env_module modules/mod_env.so

and add there following values to proxy:

SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1

Also increase Timeout value at the begining of this file, from 210 to 500 :

Timeout 500

Restarting epld is necessary to apply changes.

Reference: http://parallels.com

Advanced tool to enable/disable recursive DNS lookups

DNS recursion support is defined under BIND 9, using the `recursion’ and the `allow-recursion’ directives, as part of the options grammar.

Download

http://download.swsoft.com/ensim/download/pro/linux/kb/2344/recursivedns

Installation Instructions

Download the script and copy in “/usr/lib/opcenter/bind/” directory.

recursivedns : ‘recursivedns’, allows you to modify the DNS recursion settings for your EPL server.

Invoking the script

To display the recursion settings, just run `recursivedns
To turn on recursion support, run `recursivedns on
To turn off recursion support, run `recursivedns off
To allow recursion to all hosts, run `recursivedns +all

To disallow recursion to all hosts, run `recursivedns -all
To allow recursion to a particular host, run `recursivedns +HOST
To disallow recursion to a particular host, run `recursivedns -HOST
To display the usage, run `recursivedns –help

How do I change the IP address of my server in Ensim Pro for Linux.

If you are changing the IP address of your server you need to modify the following files with the new IP address, replacing any instance of the old IP address:

/etc/hosts
/etc/resolv.conf
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/virtualhosting/namebased_ip_addrs
/etc/httpd/conf/httpd20_app.conf
/etc/virtualhosting/localnameserver
/etc/bind/options.conf.wp
/home/virtual/FILESYSTEMTEMPLATE/siteinfo/etc/resolv.conf

Now reboot the server and then run the following command

# /usr/local/bin/NBDetectchanges

Apache crash during high load in Ensim Pro Control Panel

Apache crash on high load with the following error in the error log: “(28) No space left on device: mod_python: Failed to create global mutex 1 of 4 exclog: signal received 15″

The problem may be caused by small number of semaphores in system.

Resolution is to increase number of semaphores.

To increase the number of semaphores please take the following steps, Login to your PPCPL server as root. Open the /etc/sysctl.conf file using a text editor

vi /etc/sysctl.conf

Locate the kernel.sem parameter and double current values

If the parameter is not defined in the /etc/sysctl.conf file you can obtain current values by executing the following command:

cat /proc/sys/kernel/sem

After obtaining current values, double them and add to the /etc/sysctl.conf file so that the line looks like.

kernel.sem = 512 32000 100 512

Execute sysctl in order the changes to take effect

sysctl –p

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/

« Prev - Next »