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

chroot ~adminN

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/

# mkdir -p /repos/os

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

When the cron file /etc/cron.daily/1hup_apache_logs is executed the httpd service is not able to reload properly and it get stuck. The service is dead and it needs to be restarted manually. Even the server load goes high. And in some cases the server even crashes.

To Resolve this issue.

Change “reload” to “restart” in /etc/cron.daily/1hup_apache_logs

Content of /etc/cron.daily/1hup_apache_logs are as follows:

#!/bin/bash
#/etc/rc.d/init.d/httpd_app_init reload-grc
# XXX Fix of the “lost child came home” issue
! /sbin/chkconfig httpd || /etc/rc.d/init.d/httpd_app_init reload

And then change to

#!/bin/bash
#/etc/rc.d/init.d/httpd_app_init reload-grc
# XXX Fix of the “lost child came home” issue
! /sbin/chkconfig httpd || /etc/rc.d/init.d/httpd_app_init restart

Reference: http://parallels.com

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

« Prev - Next »