<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Vicky's server guides &#187; Ensim</title>
	<atom:link href="http://www.vickysguide.com/category/ensim/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vickysguide.com</link>
	<description>Linux server administration tips and tricks</description>
	<lastBuildDate>Sun, 28 Mar 2010 18:30:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>EnsimX maintenance mode</title>
		<link>http://www.vickysguide.com/ensimx-maintenance-mode/</link>
		<comments>http://www.vickysguide.com/ensimx-maintenance-mode/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 17:42:11 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
				<category><![CDATA[Ensim]]></category>
		<category><![CDATA[maintenance mode]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/?p=55</guid>
		<description><![CDATA[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]]></description>
			<content:encoded><![CDATA[<p>After OS upgrades and updates it is needed to run EnsimX through maintenance mode. Here is info how to do it:</p>
<p><strong>/usr/local/sbin/set_maintenance<br />
/usr/local/sbin/set_pre_maintenance<br />
/usr/local/sbin/set_post_maintenance<br />
/etc/init.d/epld restart</strong></p>
<p>If you encounter any problems you can exit the maintenance mode by issuing this command:</p>
<p><strong>/usr/local/sbin/exit_post_maintenance</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/ensimx-maintenance-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vhimport failing to restore site backup</title>
		<link>http://www.vickysguide.com/vhimport-failing-to-restore-site-backup/</link>
		<comments>http://www.vickysguide.com/vhimport-failing-to-restore-site-backup/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 11:22:23 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
				<category><![CDATA[Ensim]]></category>
		<category><![CDATA[vhimport]]></category>
		<category><![CDATA[X11 rename]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/?p=53</guid>
		<description><![CDATA[When you experience error during EnsimX import script like this: Unknown Error: Traceback (most recent call last): File &#8220;vhbackuplib.py&#8221;, line 54, in call_backend_import File &#8220;virtualhosting/virthost.py&#8221;, line 4575, in vhimport File &#8220;virtualhosting/virthost.py&#8221;, line 4730, in __do_import File &#8220;virtualhosting/virthost.py&#8221;, line 5030, in __site_import File &#8220;virtualhosting/virthost.py&#8221;, line 3300, in handle_remaining_files File &#8220;virtualhosting/virthost.py&#8221;, line 3380, in link OSError: [Errno [...]]]></description>
			<content:encoded><![CDATA[<p>When you experience error during EnsimX import script like this:</p>
<blockquote><p>Unknown Error: Traceback (most recent call last):<br />
File &#8220;vhbackuplib.py&#8221;, line 54, in call_backend_import<br />
File &#8220;virtualhosting/virthost.py&#8221;, line 4575, in vhimport<br />
File &#8220;virtualhosting/virthost.py&#8221;, line 4730, in __do_import<br />
File &#8220;virtualhosting/virthost.py&#8221;, line 5030, in __site_import<br />
File &#8220;virtualhosting/virthost.py&#8221;, line 3300, in handle_remaining_files<br />
File &#8220;virtualhosting/virthost.py&#8221;, line 3380, in link<br />
OSError: [Errno 17] File exists</p></blockquote>
<p>the cause may be in X11 symlink on OS other than FC6. The cure is as follows:</p>
<blockquote><p>mv /home/virtual/FILESYSTEMTEMPLATE/siteinfo/usr/lib/X11{,XTEMP}<br />
vhimport site_backup.tar.gz<br />
mv /home/virtual/FILESYSTEMTEMPLATE/siteinfo/usr/lib/XTEMP{,X11}</p></blockquote>
<p>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.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/vhimport-failing-to-restore-site-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rebuild sendmail.cf file in EnsimX (Parallels Pro)</title>
		<link>http://www.vickysguide.com/rebuild-sendmailcf-file-in-ensimx-parallels-pro/</link>
		<comments>http://www.vickysguide.com/rebuild-sendmailcf-file-in-ensimx-parallels-pro/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 17:07:10 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
				<category><![CDATA[Ensim]]></category>
		<category><![CDATA[EnsimX]]></category>
		<category><![CDATA[rebuild sendmail.mc]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/?p=50</guid>
		<description><![CDATA[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 &#62; /etc/mail/sendmail.cf voila! it is done, now restart sendmail by &#8220;service sendmail restart&#8221; and your changes are [...]]]></description>
			<content:encoded><![CDATA[<p>The file to rebuild is located in /usr/lib/opcenter/sendmail/install/sendmail.mc</p>
<p>Make sure you do backups first:</p>
<blockquote><p>cp /usr/lib/opcenter/sendmail/install/sendmail.mc /usr/lib/opcenter/sendmail/install/sendmail.mc.bak</p></blockquote>
<p>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</p>
<blockquote><p>m4 /usr/lib/opcenter/sendmail/install/sendmail.mc &gt; /etc/mail/sendmail.cf</p></blockquote>
<p>voila! it is done, now restart sendmail by &#8220;service sendmail restart&#8221; and your changes are applied.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/rebuild-sendmailcf-file-in-ensimx-parallels-pro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display mysql root password on Ensim server</title>
		<link>http://www.vickysguide.com/display-mysql-root-password-on-ensim-server/</link>
		<comments>http://www.vickysguide.com/display-mysql-root-password-on-ensim-server/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 14:14:26 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
				<category><![CDATA[Ensim]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[mysql password]]></category>
		<category><![CDATA[mysql root]]></category>
		<category><![CDATA[password change]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/?p=25</guid>
		<description><![CDATA[Ever wondered how to find out your mysql root password? Well, on Ensim server it is easy to find out. ensim-python -c &#8220;import sys;sys.path.append(\&#8221;/usr/lib/opcenter/mysql\&#8221;);import mysqlbe;print mysqlbe.read_mysqlpass()&#8221; It it one line command. Execute it from shell logged in as root. Works well]]></description>
			<content:encoded><![CDATA[<p>Ever wondered how to find out your mysql root password? Well, on Ensim server it is easy to find out.</p>
<p><span style="font-family: Courier New;">ensim-python -c &#8220;import sys;sys.path.append<span style="font-family: Courier New;">(\&#8221;/usr/lib/opcenter/mysql\&#8221;);import mysqlbe;print mysqlbe.read_mysqlpass()&#8221;</span></span></p>
<p>It it one line command. Execute it from shell logged in as root. Works well <img src='http://www.vickysguide.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/display-mysql-root-password-on-ensim-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python problem in EnsimX</title>
		<link>http://www.vickysguide.com/python-problem-in-ensimx/</link>
		<comments>http://www.vickysguide.com/python-problem-in-ensimx/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 08:51:50 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
				<category><![CDATA[Ensim]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/?p=18</guid>
		<description><![CDATA[In case your Python is giving your problems on EnsimX server and you get  &#8220;500 Internal error&#8221; errors then thig guide can help you. I found it on ensim forums and it helped me so I saved it for future reference. Here is the error message: 500 Internal error Internal Server Error &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; Hints :- [...]]]></description>
			<content:encoded><![CDATA[<p>In case your Python is giving your problems on EnsimX server and you get  &#8220;500 Internal error&#8221; errors then thig guide can help you. I found it on ensim forums and it helped me so I saved it for future reference. <span id="more-18"></span></p>
<p>Here is the error message:</p>
<p>500 Internal error<br />
Internal Server Error</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Hints :-<br />
Check logs files in /var/log/ensim/ for debug information<br />
Ensure URL typed is correct</p>
<p> </p>
<p>And here is what will be in your log :</p>
<p>2007/05/19 15:12:20 HTTP INFO 127.0.0.1 &#8211; GET /static/images/subnav_links_bg.gif HTTP/1.1<br />
2007/05/19 15:12:20 HTTP INFO 127.0.0.1 &#8211; GET /static/images/sysoption_on.gif HTTP/1.1<br />
2007/05/19 15:12:20 HTTP INFO 127.0.0.1 &#8211; GET /isp/services/sendmail/index HTTP/1.1<br />
2007/05/19 15:12:20 INFO Traceback (most recent call last):<br />
File &#8220;/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py&#8221;, line 271, in run main()<br />
File &#8220;/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py&#8221;, line 502, in main body = page_handler(*args, **cherrypy.request.paramMap)<br />
File &#8220;/home/build/qa/saber/10.0.0/fc.4/13.fc.4/epl/pudasin13/build/build-boot/epl/frontend/rootapp/isp/services/sendmail/__init__.py&#8221;, line 30, in index<br />
File &#8220;/home/build/qa/saber/10.0.0/fc.4/13.fc.4/epl/pudasin13/build/build-root/epl/frontend/rootapp/pages.py&#8221;, line 78, in kidserialize<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/__init__.py&#8221;, line 283, in serialize return serializer.serialize(self, encoding, fragment, format)<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/serialization.py&#8221;, line 109, in serialize text = &#8221;.join(tuple(<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/serialization.py&#8221;, line 345, in generate for ev, item in self.apply_filters(stream, format):<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/serialization.py&#8221;, line 165, in format_stream for ev, item in stream:<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/parser.py&#8221;, line 218, in _coalesce for ev, item in stream:<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/parser.py&#8221;, line 174, in _track for p in stream:<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/filter.py&#8221;, line 22, in apply_matches for ev, item in stream:<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/parser.py&#8221;, line 174, in _track for p in stream:<br />
File &#8220;/usr/lib/python2.4/site-packages/kid/parser.py&#8221;, line 218, in _coalesce for ev, item in stream:<br />
File &#8220;/usr/lib/ensim/frontend/kidpages/isp/services/sendmail/configuration.py&#8221;, line 63, in _pull<br />
TypeError: generate_content() takes exactly 1 argument (2 given)</p>
<p>And the <strong>fix is</strong> to recompile templates, restart Ensim and reboot server:</p>
<p>cd /usr/lib/ensim/frontend/kidpages/<br />
/usr/bin/kidc -f *<br />
service epld restart<br />
reboot</p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/python-problem-in-ensimx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>High MailScanner load in EnsimX 10.3.0</title>
		<link>http://www.vickysguide.com/high-mailscanner-load-in-ensimx-1030/</link>
		<comments>http://www.vickysguide.com/high-mailscanner-load-in-ensimx-1030/#comments</comments>
		<pubDate>Sun, 04 Nov 2007 17:34:58 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
				<category><![CDATA[Ensim]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/high-mailscanner-load-in-ensimx-1030/</guid>
		<description><![CDATA[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]]></description>
			<content:encoded><![CDATA[<p>After upgrading to EnsimX 10.3.0 or in clean  EnsimX 10.3.0 installation there is issue having high MailScanner load.</p>
<p>Take a look at this <a href="http://onlinesupport.ensim.com/TWKB/ViewCase.asp?KnowledgeID=2505">knowledge base article</a>  for a solution.</p>
<p> You just download files that belong to your OS and then run</p>
<p>rpm -Uvh *.rpm</p>
<p>sh upgrade.sh</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/high-mailscanner-load-in-ensimx-1030/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EnsimX Pro does not load new ssl certificate.</title>
		<link>http://www.vickysguide.com/ensimx-pro-does-not-load-new-ssl-certificate/</link>
		<comments>http://www.vickysguide.com/ensimx-pro-does-not-load-new-ssl-certificate/#comments</comments>
		<pubDate>Mon, 03 Sep 2007 09:28:56 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
				<category><![CDATA[Ensim]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/ensimx-pro-does-not-load-new-ssl-certificate/</guid>
		<description><![CDATA[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 : First I [...]]]></description>
			<content:encoded><![CDATA[<p>Despite all efforts EnsimX Pro was still using old <a href="http://www.snakeoil.com/">www.snakeoil.com</a> 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.</p>
<p>Here is solution that fixes it :</p>
<p><span id="more-14"></span></p>
<p>First I generate self-signed certificate for apache ssl and consequently use it for connection with EnsimX Pro by issuing these commands:</p>
<p>on <strong>RHEL 4 /CentOS 4</strong> box:</p>
<p>cd /usr/lib/ensim/frontend/httpd/conf/<br />
mv server.crt server.crt-orig<br />
mv server.key server.key-orig<br />
ln -s /etc/httpd/conf/ssl.crt/server.crt server.crt<br />
ln -s /etc/httpd/conf/ssl.key/server.key server.key<br />
service epld restart</p>
<p> on <strong>RHEL5/CentOS5</strong> box:</p>
<p>cd /usr/lib/ensim/frontend/httpd/conf/<br />
mv server.crt server.crt-orig<br />
mv server.key server.key-orig<br />
cp -f /etc/pki/tls/certs/localhost.crt /etc/httpd/conf/ssl.crt/server.crt<br />
cp -f /etc/pki/tls/private/localhost.key /etc/httpd/conf/ssl.key/server.key<br />
ln -s /etc/httpd/conf/ssl.crt/server.crt server.crt<br />
ln -s /etc/httpd/conf/ssl.key/server.key server.key<br />
service epld restart</p>
<p>Tadaaaaa&#8230; and it works <img src='http://www.vickysguide.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/ensimx-pro-does-not-load-new-ssl-certificate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to restart ensim from shell</title>
		<link>http://www.vickysguide.com/how-to-restart-ensim-from-shell/</link>
		<comments>http://www.vickysguide.com/how-to-restart-ensim-from-shell/#comments</comments>
		<pubDate>Wed, 08 Aug 2007 07:55:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ensim]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/how-to-restart-ensim-from-shell/</guid>
		<description><![CDATA[During the time Ensim evolved it used to call its servrice either &#8216;webppliance&#8217; or &#8216;epld&#8217; (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 [...]]]></description>
			<content:encoded><![CDATA[<p>During the time Ensim evolved it used to call its servrice either &#8216;webppliance&#8217; or &#8216;epld&#8217; (newer). So the command you need to run as root via shell to restart Ensim is:</p>
<p>If you use version older than 10.x.x</p>
<p> # service webppliance restart  </p>
<p>If you use version EnsimX for Linux 10.x and higher</p>
<p># service epld restart</p>
<p>I hope this helps <img src='http://www.vickysguide.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/how-to-restart-ensim-from-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find out version of Ensim via shell command?</title>
		<link>http://www.vickysguide.com/how-to-find-out-version-of-ensim-via-shell-command/</link>
		<comments>http://www.vickysguide.com/how-to-find-out-version-of-ensim-via-shell-command/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 22:28:47 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
				<category><![CDATA[Ensim]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/how-to-find-out-version-of-ensim-via-shell-command/</guid>
		<description><![CDATA[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]]></description>
			<content:encoded><![CDATA[<p>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.</p>
<p>He it is: </p>
<p><em>cat /usr/lib/opcenter/VERSION</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/how-to-find-out-version-of-ensim-via-shell-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ensim administrator password change</title>
		<link>http://www.vickysguide.com/ensim-administrator-password-change/</link>
		<comments>http://www.vickysguide.com/ensim-administrator-password-change/#comments</comments>
		<pubDate>Fri, 18 May 2007 12:16:00 +0000</pubDate>
		<dc:creator>vicky</dc:creator>
				<category><![CDATA[Ensim]]></category>

		<guid isPermaLink="false">http://www.vickysguide.com/ensim-administrator-password-change/</guid>
		<description><![CDATA[Many times it happened to me &#8211; I forgot Ensim&#8217;s admin password for web interface or DC has just set some password and they &#8220;forgot&#8221; 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 &#60;username&#62; It will prompt [...]]]></description>
			<content:encoded><![CDATA[<p>Many times it happened to me &#8211; I forgot Ensim&#8217;s admin password for web interface or DC has just set some password and they &#8220;forgot&#8221; to inform me. I usually struggled via ssh how to change it. Not anymore..</p>
<p> When you need to reset Ensim password do it by this:</p>
<blockquote><p><span class="bodytext-computer"><strong>/usr/sbin/passwd_appl_admin &lt;username&gt;</strong></span></p></blockquote>
<p>It will prompt for the password only once.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vickysguide.com/ensim-administrator-password-change/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
