Archive for the tag 'Pro'

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

SiteAdmin Navigation bar customization in Ensim Pro

Customizing the Site Administrator’s navbar to have links with URL that has both dynamic and static information.

Customizing the Site Administrator’s navbar to have links with URL of the format http:/// where is dynamic and is static information.

Download:

http://download.swsoft.com/ensim/download/pro/linux/kb/2515/customization.zip
http://download.swsoft.com/ensim/download/pro/linux/kb/2515/customizer.sh
http://download.swsoft.com/ensim/download/pro/linux/kb/2515/eplpro_urlconfiguration_guide.pdf
http://download.swsoft.com/ensim/download/pro/linux/kb/2515/filelist.txt

Installation Instruction:

Run command cd /usr/lib/ensim/frontend/skins

Copy the 3 files, customization.zip, customizer.sh and filelist, to this location.

Run command sh customaizer.sh. This command will create a backup.zip file of the 3 files that will be overwritten and store it in /tmp/ location. Also, it will overwrite the XSL files for all 3 skins.

Follow the instructions under the topics “Adding a static entry in the XMLfile” & “Viewing your changes” as described in eplpro_urlconfiguration_guide.pdf

Reference : http://parallels.com

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

How to remove a website manually in Ensim Pro Control Panel

Sometimes, the site is not fully removed from the server so it should be deleted manually. Here are all steps that should be done, but please note that after deleting the site can not be restored back.

Everything should be done from under root user.

Check which siteX the site corresponds to:

sitelookup -d domain.com site_handle

and what adminX is responsible for it:

sitelookup -d domain.com wp_user

Let’s say siteX is site handler for the necessary domain, and adminX is the owner.

Remove user content physically from the server:

rm -rf /home/virtual/siteX
rm -f /home/virtual/adminX
rm -f /home/virtual/domain.com
rm -f /etc/httpd/conf/virtual/siteX
rm -rf /etc/httpd/conf/siteX
rm -f /etc/webalizer/domain.com
userdel adminX

And remove the records from the system database:

psql appldb
delete from telnet where site_id = siteX;
delete from apache where site_id =site X;
delete from ssh where site_id = siteX;
delete from users where site_id = siteX;
delete from bandwidth_log where site_id = siteX;
delete from bandwidth_spans where site_id = siteX;
delete from bandwidth where site_id = siteX;
delete from free_uids where site_id = siteX;
delete from diskquota where site_id = siteX;
delete from ipinfo where site_id = siteX;
delete from ipinfo_ipaddrs where site_id = siteX;
delete from ipinfo_nbaddrs where site_id = siteX;
delete from reseller where site_id = siteX;
delete from siteinfo where site_id = siteX;

Finally, you need to go through all the files in /etc/virtualhosting/mappings and check if any of them refer to the site you’re deleting. You can use grep to quickly see if/which files might refer to the site to be deleted:

cd /etc/virtualhosting/mappings
grep -l siteX *

And finally - restart ensim CP:

/etc/init.d/epld stop
/etc/init.d/epld start

Reference and Credit : http://parallels.com/

« Prev - Next »