July 3rd, 2009 by vicky
After OS upgrades and updates it is needed to run EnsimX through maintenance mode. Here is info how to do it:
/usr/local/sbin/set_maintenance
/usr/local/sbin/set_pre_maintenance
/usr/local/sbin/set_post_maintenance
/etc/init.d/epld restart
If you encounter any problems you can exit the maintenance mode by issuing this command:
/usr/local/sbin/exit_post_maintenance
Posted in Ensim | No Comments »
April 26th, 2009 by vicky
When you experience error during EnsimX import script like this:
Unknown Error: Traceback (most recent call last):
File “vhbackuplib.py”, line 54, in call_backend_import
File “virtualhosting/virthost.py”, line 4575, in vhimport
File “virtualhosting/virthost.py”, line 4730, in __do_import
File “virtualhosting/virthost.py”, line 5030, in __site_import
File “virtualhosting/virthost.py”, line 3300, in handle_remaining_files
File “virtualhosting/virthost.py”, line 3380, in link
OSError: [Errno 17] File exists
the cause may be in X11 symlink on OS other than FC6. The cure is as follows:
mv /home/virtual/FILESYSTEMTEMPLATE/siteinfo/usr/lib/X11{,XTEMP}
vhimport site_backup.tar.gz
mv /home/virtual/FILESYSTEMTEMPLATE/siteinfo/usr/lib/XTEMP{,X11}
Basicaly what is does it renames /home/virtual/FILESYSTEMTEMPLATE/siteinfo/usr/lib/X11 and after the restore is successful it renames it back to original name.
Posted in Ensim | No Comments »
April 24th, 2009 by vicky
The file to rebuild is located in /usr/lib/opcenter/sendmail/install/sendmail.mc
Make sure you do backups first:
cp /usr/lib/opcenter/sendmail/install/sendmail.mc /usr/lib/opcenter/sendmail/install/sendmail.mc.bak
After editing the file /usr/lib/opcenter/sendmail/install/sendmail.mc you need to rebuild it to macro format which will be located in /etc/mail/sendmail.cf
m4 /usr/lib/opcenter/sendmail/install/sendmail.mc > /etc/mail/sendmail.cf
voila! it is done, now restart sendmail by “service sendmail restart” and your changes are applied.
Posted in Ensim | No Comments »
October 22nd, 2008 by vicky
Ever wondered how to find out your mysql root password? Well, on Ensim server it is easy to find out.
ensim-python -c “import sys;sys.path.append(\”/usr/lib/opcenter/mysql\”);import mysqlbe;print mysqlbe.read_mysqlpass()”
It it one line command. Execute it from shell logged in as root. Works well
Posted in Ensim, Mysql | No Comments »
April 26th, 2008 by vicky
In case your Python is giving your problems on EnsimX server and you get “500 Internal error” errors then thig guide can help you. I found it on ensim forums and it helped me so I saved it for future reference. Read the rest of this entry »
Posted in Ensim | No Comments »
November 4th, 2007 by vicky
After upgrading to EnsimX 10.3.0 or in clean EnsimX 10.3.0 installation there is issue having high MailScanner load.
Take a look at this knowledge base article for a solution.
You just download files that belong to your OS and then run
rpm -Uvh *.rpm
sh upgrade.sh
Posted in Ensim | No Comments »
September 3rd, 2007 by vicky
Despite all efforts EnsimX Pro was still using old www.snakeoil.com certificate instead the one I generated/bought for use for apache ssl. I tried various ways how to fix this but epld service was refusing to start or the snakeoil certificate returned back after a few days.
Here is solution that fixes it :
Read the rest of this entry »
Posted in Ensim | No Comments »
August 8th, 2007 by admin
During the time Ensim evolved it used to call its servrice either ‘webppliance’ or ‘epld’ (newer). So the command you need to run as root via shell to restart Ensim is:
If you use version older than 10.x.x
# service webppliance restart
If you use version EnsimX for Linux 10.x and higher
# service epld restart
I hope this helps
Posted in Ensim | No Comments »
June 6th, 2007 by vicky
I always hated to go to Ensim to find out the current version of it. Finally I somewhere found a command that writes this info in shell.
He it is:
cat /usr/lib/opcenter/VERSION
Posted in Ensim | No Comments »
May 18th, 2007 by vicky
Many times it happened to me – I forgot Ensim’s admin password for web interface or DC has just set some password and they “forgot” to inform me. I usually struggled via ssh how to change it. Not anymore..
When you need to reset Ensim password do it by this:
/usr/sbin/passwd_appl_admin <username>
It will prompt for the password only once.
Posted in Ensim | No Comments »