<?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>MDLog:/sysadmin &#187; CPanel</title> <atom:link href="http://www.ducea.com/category/cpanel/feed/" rel="self" type="application/rss+xml" /><link>http://www.ducea.com</link> <description>The Journal Of A Linux Sysadmin</description> <lastBuildDate>Tue, 07 Feb 2012 19:40:06 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>Install Ruby on CPanel</title><link>http://www.ducea.com/2008/06/03/install-ruby-on-cpanel/</link> <comments>http://www.ducea.com/2008/06/03/install-ruby-on-cpanel/#comments</comments> <pubDate>Tue, 03 Jun 2008 23:37:39 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[CPanel]]></category> <category><![CDATA[cpanel11]]></category> <category><![CDATA[ruby]]></category><guid
isPermaLink="false">http://www.ducea.com/?p=244</guid> <description><![CDATA[If you are using CPanel 11 (the latest version available at this time) you can easily install ruby on your system using CPanel. Previously, you had to do this using operating system packages or manually from sources. Now, we can just run /scripts/installruby and this will do everything for us: download, compile and install ruby [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>If you are using <strong>CPanel 11</strong> (the latest version available at this time) you can easily install <strong>ruby </strong>on your system using CPanel. Previously, you had to do this using operating system packages or manually from sources. Now, we can just run <strong>/scripts/installruby</strong> and this will do everything for us:</p><ul><li>download, compile and install ruby</li><li>download and install RubyGems and some gems like rails and mongrel</li><p><span
id="more-244"></span></ul><p><code>/scripts/installruby</code><br
/> At this time it will install the latest 1.8 ruby:<br
/> <code><strong>ruby -v</strong><br
/> ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]</code><br
/> and the following gems (using rubygems-1.1.1):<br
/> <code><strong>gem list</strong><br
/> actionmailer (2.1.0)<br
/> actionpack (2.1.0)<br
/> activerecord (2.1.0)<br
/> activeresource (2.1.0)<br
/> activesupport (2.1.0)<br
/> cgi_multipart_eof_fix (2.5.0)<br
/> daemons (1.0.10)<br
/> fastthread (1.0.1)<br
/> gem_plugin (0.2.3)<br
/> mongrel (1.1.5)<br
/> rails (2.1.0)<br
/> rake (0.8.1)</code><br
/> This should be enough for running ruby scripts, but if you want to use <em>Ruby On Rails from within CPanel</em> then you just have to complete this by running <strong>/usr/local/cpanel/bin/ror_setup</strong>. If you are interested to deploy RoR environments on CPanel you can do this from inside CPanel. For more information check out the <a
href="http://www.cpanel.net/docs/ror/index.html" target="_blank">CPanel docs</a>.</p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2008/06/03/install-ruby-on-cpanel/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>HowTo Uninstall RVSkin</title><link>http://www.ducea.com/2008/04/27/howto-uninstall-rvskin/</link> <comments>http://www.ducea.com/2008/04/27/howto-uninstall-rvskin/#comments</comments> <pubDate>Sun, 27 Apr 2008 09:23:54 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[CPanel]]></category><guid
isPermaLink="false">http://www.ducea.com/?p=238</guid> <description><![CDATA[This post is also a response to a reader question: how to remove completely from his Cpanel server RVskin? You just have to run the following command as root on the server: perl /root/rvadmin/uninstall.pl if for some reason RVskin was installed in a different location, change the path accordingly. To complete this, restart cpanel: /etc/rc.d/init.d/cpanel [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>This post is also a response to a reader question: <strong>how to remove completely from his Cpanel server RVskin</strong>?</p><p>You just have to run the following command as root on the server:<br
/> <code>perl /root/rvadmin/uninstall.pl</code><br
/> if for some reason <strong>RVskin </strong>was installed in a different location, change the path accordingly.</p><p>To complete this, restart cpanel:<br
/> <code>/etc/rc.d/init.d/cpanel restart</code></p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2008/04/27/howto-uninstall-rvskin/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>HowTo Uninstall Fantastico</title><link>http://www.ducea.com/2008/04/26/howto-uninstall-fantastico/</link> <comments>http://www.ducea.com/2008/04/26/howto-uninstall-fantastico/#comments</comments> <pubDate>Sat, 26 Apr 2008 09:07:06 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[CPanel]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Tips & Tricks]]></category> <category><![CDATA[fantastico]]></category><guid
isPermaLink="false">http://www.ducea.com/?p=237</guid> <description><![CDATA[This short post is a response to the question I received from one reader that wanted to know how to remove completely from his Cpanel server Fantastico. Why would you want to do that? (assuming you have it already installed, it means you have a license also). Well, maybe the datacenter installed it by default [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>This short post is a response to the question I received from one reader that wanted to know <strong>how to remove completely from his Cpanel server </strong><strong>Fantastico</strong>.<br
/> Why would you want to do that? (assuming you have it already installed, it means you have a license also). Well, maybe the datacenter installed it by default and you don&#8217;t need Fantastico on your server; or maybe you just have a broken install and want to start fresh and remove it first. Regardless why you would want to do this, here are the steps you need to follow to completely remove Fantastico:</p><p>Login your server via <acronym
class="uttAcronym" title="Secure Shell">SSH</acronym> as root, and run the following commands:<br
/> <code>rm -rf /var/netenberg/<br
/> rm -rf /usr/local/cpanel/whostmgr/docroot/cgi/fantastico/<br
/> rm -rf /usr/local/cpanel/3rdparty/fantastico*<br
/> rm -rf /usr/local/cpanel/base/frontend/*/fantastico<br
/> rm -f /usr/local/cpanel/base/frontend/x/cells/fantastico.html<br
/> rm -f /usr/local/cpanel/whostmgr/docroot/cgi/addon_fantastico.cgi</code></p><p><em>Note</em>: if you have installed <strong>fantastico </strong>in a different location than the default folder: <strong>/var/netenberg/</strong>, then you should replace the first line accordingly (this might be /opt/netenberg/, or /home/netenberg/, etc.).</p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2008/04/26/howto-uninstall-fantastico/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Upgrading to CPanel 11</title><link>http://www.ducea.com/2007/06/21/upgrading-to-cpanel-11/</link> <comments>http://www.ducea.com/2007/06/21/upgrading-to-cpanel-11/#comments</comments> <pubDate>Thu, 21 Jun 2007 07:44:17 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[CPanel]]></category> <category><![CDATA[cpanel11]]></category><guid
isPermaLink="false">http://www.ducea.com/2007/06/21/upgrading-to-cpanel-11/</guid> <description><![CDATA[Once you have prepared your system as shown in my previous post &#8220;Preparing for CPanel 11&#8221; you can now safely proceed with the actual CPanel upgrade. This is done as any regular CPanel upgrade: - you can run from the command line upcp: /scripts/upcp - or from inside WHM you run https://Server_IP_or_Hostname:2087/scripts2/upcpform Have something else [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>Once you have prepared your system as shown in my previous post &#8220;<a
href="http://www.ducea.com/2007/06/20/preparing-for-cpanel-11/">Preparing for CPanel 11</a>&#8221; you can now safely proceed with the actual <strong>CPanel upgrade</strong>. This is done as any regular CPanel upgrade:<br
/> - you can run from the command line <strong>upcp</strong>:</p><pre><code>/scripts/upcp</code></pre><p>- or from <em>inside WHM </em>you run https://Server_IP_or_Hostname:2087/scripts2/<strong>upcpform</strong></p><p><span
id="more-170"></span>Have something else ready to do in the meantime as this will take a while depending on your internet connection speed and system resources. Once done you should be notified that the update is completed and see the new CPanel 11 interface.</p><p><em>Note</em>: this will upgrade CPanel itself, and not <em>apache/php or mysql</em>; these updates can be done after that separately as shown in my older posts:</p><ul><li><a
href="http://www.ducea.com/2006/07/16/cpanel-upgrading-to-mysql5/">Upgrading MySQL</a></li><li><a
href="http://www.ducea.com/2006/05/24/cpanel-upgrade-apache-1336/">Upgrading Apache</a></li><li><a
href="http://www.ducea.com/2006/06/20/upgrade-php-on-cpanelwhm/">Upgrading PHP</a></li></ul><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2007/06/21/upgrading-to-cpanel-11/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Preparing for CPanel 11</title><link>http://www.ducea.com/2007/06/20/preparing-for-cpanel-11/</link> <comments>http://www.ducea.com/2007/06/20/preparing-for-cpanel-11/#comments</comments> <pubDate>Wed, 20 Jun 2007 15:58:04 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[CPanel]]></category><guid
isPermaLink="false">http://www.ducea.com/2007/06/20/preparing-for-cpanel-11/</guid> <description><![CDATA[As announced in CPanel&#8217;s &#8216;Release Schedule&#8216; by the 2nd of July all the branches including STABLE will be upgradeable to the new version 11. The second stage will be also finished by 10 July on all branches. This means that by that time if you have CPanel set to automatically update this will happen (or [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>As announced in CPanel&#8217;s &#8216;<a
href="http://www.cpanel.net/products/cPanelandWHM/linux/cpanel11/index.html" target="_blank">Release Schedule</a>&#8216; by the 2nd of July all the branches including STABLE will be upgradeable to the new version 11. The second stage will be also finished by 10 July on all branches. This means that by that time if you have CPanel set to automatically update this will happen (or it might have already happened for you, depending on the release you are using &#8211; EDGE/CURRENT/RELEASE/STABLE):</p><table
class="tableBorder" width="350"><tr><th>Date<sup>*</sup></th><th>Stage 1</th><th>Stage 2</th></tr><tr><td>May 2, 2007</td><td>CURRENT</td><td>&nbsp;</td></tr><tr><td>May 18, 2007</td><td>&nbsp;</td><td>EDGE<sup>**</sup></td></tr><tr><td>June 5, 2007</td><td>RELEASE</td><td>&nbsp;</td></tr><tr><td>June 26, 2007</td><td>&nbsp;</td><td>CURRENT</td></tr><tr><td>July 2, 2007</td><td>STABLE</td><td>&nbsp;</td></tr><tr><td>July 4, 2007</td><td>&nbsp;</td><td>RELEASE</td></tr><tr><td>July 10, 2007</td><td>&nbsp;</td><td>STABLE</td></tr></table><p><span
id="more-169"></span>It is a good idea to prepare your system for the CPanel11 upgrade:</p><h3>1. Upgrade to Perl 5.8.8</h3><p>We all know that <strong>CPanel </strong>depends heavily on <strong>perl </strong>as most of its internal scripts are written in perl. For this release it is recommended to run <strong>perl v5.8.8</strong>. CPanel made available an installer that we can use for this upgrade, and we can basically follow up the steps shown in my older post &#8220;<a
href="http://www.ducea.com/2006/06/02/cpanel-perl-upgrade/">CPanel Perl upgrade</a>&#8221;</p><p>To check what is the perl version on your system, run <strong>perl -v</strong>:</p><pre><code>perl -v
This is perl, v5.8.8 built for i686-linux</code></pre><p>If you are running <strong>v5.8.8</strong> you are all set, but if you have 5.8.7 or an older version proceed with the update:</p><pre><code>wget http://layer1.cpanel.net/perl588installer.tar.gz
tar xfvz perl588installer.tar.gz
cd perl588installer
./install</code></pre><p>After this is done, ensure that the perl modules are uptodate also:</p><pre><code> /usr/local/cpanel/bin/checkperlmodules</code></pre><p>Watch for any potential errors and try to fix them before proceeding futher&#8230;</p><h3>2. Verify perl modules</h3><p>There are several perl modules that some peoples have seen problems on upgrading. Hopefully this will be solved soon, but just in case ensure that the following are running ok and are updated: <em>YAML::Syck, File::Copy::Recursive, Compress::Raw::Zlib and Scalar::Util</em>. You can update them manually (if for some reason they didn&#8217;t get done by the checkperlmodules script) using<strong> /scripts/realperlinstaller</strong>:</p><pre><code>/scripts/realperlinstaller YAML::Syck
/scripts/realperlinstaller File::Copy::Recursive
/scripts/realperlinstaller Compress::Raw::Zlib
/scripts/realperlinstaller Scalar::Util</code></pre><p>You need to do this only if you see errors with some modules caused by the perl upgrade.</p><h3>3. Convert to maildir</h3><p>In case you have not done it yet&#8230;(why not?) you should migrate your cpanel system to maildir/courier.<br
/> This can be done by running <strong>/scripts/convert2maildir</strong>. For more information on this see this post &#8220;<a
href="http://www.ducea.com/2007/06/20/cpanel-mbox-to-maildir-migration-convert2maildir/">CPanel MBOX to MAILDIR migration</a>&#8220;.</p><pre><code>/scripts/convert2maildir</code></pre><p>This is highly recommended as v11 is the last CPanel version that will support mbox.</p><h3>4. Third party modules like Fantastico</h3><p>If you are using some third party modules like <strong>Fantastico</strong>, <strong>Rvskin</strong>, etc. check with their documentation if they are compatible with <strong>CPanel 11</strong>. If not, either upgrade them to the latest version or disable/uninstall them in order to prevent some possible functions to stop working or even CPanel itself to stop running.</p><p>Once you have done these steps you should be ready to proceed to a smooth <a
href="http://www.ducea.com/2007/06/21/upgrading-to-cpanel-11/"><em>CPanel upgrade</em></a>.</p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2007/06/20/preparing-for-cpanel-11/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>CPanel MBOX to MAILDIR migration: convert2maildir</title><link>http://www.ducea.com/2007/06/20/cpanel-mbox-to-maildir-migration-convert2maildir/</link> <comments>http://www.ducea.com/2007/06/20/cpanel-mbox-to-maildir-migration-convert2maildir/#comments</comments> <pubDate>Wed, 20 Jun 2007 13:27:17 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[CPanel]]></category> <category><![CDATA[maildir]]></category><guid
isPermaLink="false">http://www.ducea.com/2007/06/20/cpanel-mbox-to-maildir-migration-convert2maildir/</guid> <description><![CDATA[Traditionally CPanel has been using MBOX for the mailboxes storage and its internal pop3 server (cpop). It took them some time to realize that this was not the best solution and to offer a solution to migrate to MAILDIR and courier as the pop3/imap server. This has been available for a while (since Nov 2005) [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>Traditionally <strong>CPanel </strong>has been using <strong>MBOX </strong>for the mailboxes storage and its internal pop3 server (<em>cpop</em>). It took them some time to realize that this was not the best solution and to offer a solution to migrate to <strong>MAILDIR </strong>and <strong>courier </strong>as the pop3/imap server. This has been available for a while (<a
target="_blank" href="http://www.cpanel.net/news/mboxtomaildir.html">since Nov 2005</a>) but it was never the default and because of that, not active on so many servers. The process to migrate to maildir is very simple, but it needs manual intervention and the sysadmin to know about this feature.</p><p><span
id="more-168"></span>Personally I don&#8217;t see <em>any reason</em> why to not do this as it will provide by far better performance and reliability on the mailboxes of the users (especially noticeable on big to huge mailboxes). The fact that Neomail will no longer function is not such a big deal since it was IMO the worse webmail they had in CPanel, and you can always use SquirrelMail or Horde.</p><p>Enough talk&#8230; how can we do this? We just run the <strong>convert2maildir </strong>script:</p><pre><code><strong>/scripts/convert2maildir</strong>
Mail Directory (maildir) Conversion System
<strong>maildir is not active, this system is using mbox</strong>

1) Backup all mail folders on this server
2) Restore a mail backup
3) Start maildir conversion process
4) Request Technical Support
*) Exit
Enter Selection---] </code></pre><p>I would definitely suggest to <strong>backup first</strong> the mailboxes using <em>option 1</em>. (if you don&#8217;t have a backup folder defined in cpanel you will need to do that first &#8211; so the script will know where to save the data). Once this is completed you can start the <strong>maildir conversion</strong> (using <em>option 3</em>). Depending on the size of your mailboxes this can take a long time to complete. You can watch the process by tailing the logfile that will be written by the script.</p><p>Once this is finshed you should be all set and CPanel script has converted all the existing mbox files to maildir format, installed a compatible exim maildir version, and also installed and started courier-pop/imap. All done <img
src='http://www.ducea.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p><p>Note: mail will not be delivered during the conversion, it will be instead queued until the conversion is complete and then delivered.</p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2007/06/20/cpanel-mbox-to-maildir-migration-convert2maildir/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>CPanel 11 New Features</title><link>http://www.ducea.com/2007/06/20/cpanel-11-new-features/</link> <comments>http://www.ducea.com/2007/06/20/cpanel-11-new-features/#comments</comments> <pubDate>Wed, 20 Jun 2007 07:00:12 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[CPanel]]></category><guid
isPermaLink="false">http://www.ducea.com/2007/06/20/cpanel-11-new-features/</guid> <description><![CDATA[CPanel v11 is the latest version of the popular commercial control panel that was released a few days ago. With this new release all their website was also redesigned and now it is looking more like a commercial site &#8230; The site is build around the release 11 showing the new features found in CPanel11: [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p><strong>CPanel v11</strong> is the latest version of the popular commercial control panel that was released a few days ago. With this new release all their <a
href="http://www.cpanel.net/" target="_blank">website </a>was also redesigned and now it is looking more like a commercial site <img
src='http://www.ducea.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> &#8230; The site is build around the release 11 showing the new features found in <strong>CPanel11</strong>:<br
/> <span
id="more-167"></span></p><ul><li><strong>Enhanced Security</strong><ul><li>cPHulk Brute Force Detection</li></ul><ul><li>Public Key Authentication</li></ul><ul><li>Host Access Control</li></ul><ul><li>Enhanced XSS Protection</li></ul></li><li><strong>New Features</strong><ul><li>Getting Started Wizard</li></ul><ul><li>Integrated Help</li></ul><ul><li>Web Disk Access</li></ul><ul><li>Email User Filters</li></ul><ul><li>Exim Spam filtering as an ACL at SMTP level</li></ul></li><li><strong>Improved Design</strong><ul><li>Faster Loading cPanel interface</li></ul><ul><li>Faster, Easier Account Theme Switching</li></ul><ul><li>10 Included Interface Styles</li></ul></li><li><strong>Improved Branding</strong><ul><li>Increased Language and Character Set Support</li></ul><ul><li>Enhanced Branding for Resellers</li></ul></li><li><strong>cPanel Plugins</strong><ul><li><em>Ruby on Rails Support</em></li></ul><ul><li>PHP Configuration Editor</li></ul><ul><li><em>Perl, PHP, and Ruby Module Installer</em></li></ul><ul><li>Better OS Integration</li></ul></li><li><strong>EasyApache</strong><ul><li>New and improved Easyapache* installer</li></ul><ul><li><em>Apache 2.X.X and PHP 5 support.<br
/> </em>*Available in Stage 2 of cPanel 11 release</li></ul></li></ul><p>Full release notes can be found <a
href="https://www.cpanel.net/products/cPanelandWHM/linux/cpanel11/releasenotes.pdf" target="_blank">here</a>.</p><p>In my opinion the most important addition is the inclusion of <strong>Apache2 </strong>(finally!). Some peoples might also like the <strong>Ruby on Rails</strong> support and easy installation of new ruby gems as it was before with php and perl modules.</p><p>Is it worth it to upgrade? I would say <strong>yes</strong>, <em>but we need to prepare for the upgrade first</em>&#8230; and this is the reason of this series of articles to help you upgrade smoothly to <strong>CPanel v11</strong>:<br
/> <em>- </em><a
href="http://www.ducea.com/2007/06/20/preparing-for-cpanel-11/">Preparing for cPanel 11</a><em><br
/> - </em><a
href="http://www.ducea.com/2007/06/21/upgrading-to-cpanel-11/">Upgrading to cPanel 11</a></p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2007/06/20/cpanel-11-new-features/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Auditd still crashing RHEL3/Centos3 systems</title><link>http://www.ducea.com/2007/05/14/auditd-still-crashing-rhel3centos3-systems/</link> <comments>http://www.ducea.com/2007/05/14/auditd-still-crashing-rhel3centos3-systems/#comments</comments> <pubDate>Mon, 14 May 2007 16:38:34 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Centos]]></category> <category><![CDATA[CPanel]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[RHEL]]></category> <category><![CDATA[auditd]]></category> <category><![CDATA[kernel_modules]]></category><guid
isPermaLink="false">http://www.ducea.com/2007/05/14/auditd-still-crashing-rhel3centos3-systems/</guid> <description><![CDATA[This is a well known issue, and it puzzles me that so many peoples don&#8217;t know about it. Still whenever I hear of peoples having random crashes with their systems, and they are running RHEL3, the first thing to check is if auditd is still enabled. Disabling auditd is the first things that I would [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>This is a well known issue, and it puzzles me that so many peoples don&#8217;t know about it. Still whenever I hear of peoples having random crashes with their systems, and they are running <strong>RHEL3</strong>, the first thing to check is <strong>if auditd is still enabled</strong>. Disabling auditd is the first things that I would recommend doing, and only after that if the problem still persists to look further into it. After recently doing this on several servers (you would think that most peoples took care of this by now, but it is not so&#8230;), I decided to post this in a separate blog entry so I can refer it, as a small step by step instructions anyone can do.<br
/> <span
id="more-162"></span><br
/> Why is this happening in the first place? Well RedHat had the bad idea to <em>enable by default auditd on RHEL3</em>. After seeing how many peoples had problems with it, I should conclude that this was one of the worse idea they could have&#8230; Anyway, the problem is seen either by random, inexplicable system crashes, or by filling up the hdd with huge audit.d logs.<br
/> This post will show how you can disable auditd and should be useful to any RHEL3/Centos3/whatever other rhel clones users that have similar problems. The RHEL3 and CPanel combination is the favorite deployment for many US datacenters and this is also very common. Of course this could be useful for other <a
href="http://www.redhat.com/rhel/" class="ubernym uttAcronym"><acronym
class="uttAcronym" title="Red Hat Enterprise Linux">RHEL</acronym></a> versions or even other Linux distributions if needed.</p><h3>1. Check if auditd is indeed running.</h3><p>If auditd has not been explicitly stopped on a rhel3 system you will have it running. You can check it out by running:</p><pre><code>service audit status</code></pre><p>and if you get something like:</p><pre><code>auditd (pid xxx) is running...</code></pre><p>then you have it running.</p><p>Also you can see in the list of running processes if auditd appears:</p><pre><code>ps -ef | grep auditd
</code></pre><h3>2. Stop the auditd service</h3><p>You can stop the auditd daemon by running:</p><pre><code>chkconfig audit off
service audit stop</code></pre><p>The first command should prevent the service from starting again on system reboot and the last one stops the active service.</p><h3>3. Removing the audit module</h3><p>You would think that this was it&#8230; and what was the reason for this post? to show how you can stop a service? Nope&#8230; there is more. Actually you might see problems on systems even with the auditd daemon not running but with the kernel module still loaded. In this case where we are now, we still have the audit kernel module running and doing &#8216;its work&#8217; <img
src='http://www.ducea.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . You can check this with:</p><pre><code>lsmod | grep audit</code></pre><p>trying to remove the kernel module:</p><pre><code>rmmod audit</code></pre><p>will give a busy error (as the module is still in use)&#8230; Who is using still using it? Well on default rhel3 systems cron and atd are still using it. So in order to remove it we need first to stop those services:</p><pre><code>service crond stop
service atd stop
rmmod audit</code></pre><p>Now the module should no longer be loaded and you can check that out with:</p><pre><code>lsmod | grep audit</code></pre><h3>4. Prevent the audit module from loading again</h3><p>If we don&#8217;t do this step when we start back the cron service we will load back the audit kernel module.</p><pre><code>echo "alias char-major-10-224 off" >> /etc/modules.conf</code></pre><p>This will prevent the module to load again. And now we can restore the services that were running back:</p><pre><code>service crond start
service atd start</code></pre><p>(start only the ones you had running &#8211; most certainly cron, but atd might not be needed on all systems).</p><h3>5. Remove existing audit.d logs</h3><p>You might want to remove the audit logs as this can be a huge amount of useless information:</p><pre><code>rm -Rfv /var/log/audit.d/
rm -fv /var/log/audit </code></pre><h3>List of commands used:</h3><pre><code>service audit status
chkconfig audit off
service audit stop

service crond stop
service atd stop
rmmod audit
lsmod | grep audit

echo "alias char-major-10-224 off" >> /etc/modules.conf
service crond start
service atd start

rm -Rfv /var/log/audit.d/
rm -fv /var/log/audit</code></pre><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2007/05/14/auditd-still-crashing-rhel3centos3-systems/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Evolution: A New Look for CPanel</title><link>http://www.ducea.com/2006/08/11/evolution-a-new-look-for-cpanel/</link> <comments>http://www.ducea.com/2006/08/11/evolution-a-new-look-for-cpanel/#comments</comments> <pubDate>Fri, 11 Aug 2006 07:01:30 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[CPanel]]></category> <category><![CDATA[whm]]></category><guid
isPermaLink="false">http://www.ducea.com/2006/08/11/evolution-a-new-look-for-cpanel/</guid> <description><![CDATA[CPanel is working to change its look. You can already see a new look on their site (www.cpanel.net) that replaces the old spartan site with a more pleasant and modern look. If you ask me, I never understood why they were not presenting a more professional web site, as if you compare their old site [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p><strong>CPanel </strong>is working to change its look. You can already see a new look on their site (<a
target="_blank" href="http://www.cpanel.net/">www.cpanel.net</a>) that replaces the old spartan site with a more pleasant and modern look. If you ask me, I never understood why they were not presenting a more professional web site, as if you compare their old site with <a
target="_blank" href="http://www.swsoft.com/">Plesk website</a> for example, you will see a huge difference. Still the plesk site is much better in my opinion from all points of view but it is nice to see that they are working on this&#8230;</p><p>Now the reason for this post is not to bring attention to the new look of CPanel site, but to announce the changes that we will soon see on the CPanel/WHM interface on our servers. They are working on a <strong>new theme called Evolution</strong> that you can already see it in action on <a
target="_blank" href="http://www.cpanel.net/products/cPanelandWHM/linux/try_cp_whm.htm">CPanel demo site</a>:<br
/> <a
target="_blank" href="http://demo.cpanel.net:2082/login/?user=demo&#038;pass=demo">http://demo.cpanel.net</a><br
/> There are rumors that this will replace the old <strong>cpanel theme X</strong>, and many peoples will not be very happy if X will no longer be available in the next versions of CPanel. We can expect to see Evolution soon take over our CPanel in the next release.</p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2006/08/11/evolution-a-new-look-for-cpanel/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>CPanel: permanent whitelist static IPs/hosts using antirelayd/relayhosts</title><link>http://www.ducea.com/2006/07/28/cpanel-permanent-whitelist-static-ipshosts-using-antirelaydrelayhosts/</link> <comments>http://www.ducea.com/2006/07/28/cpanel-permanent-whitelist-static-ipshosts-using-antirelaydrelayhosts/#comments</comments> <pubDate>Fri, 28 Jul 2006 13:56:40 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[CPanel]]></category><guid
isPermaLink="false">http://www.ducea.com/2006/07/28/cpanel-permanent-whitelist-static-ipshosts-using-antirelaydrelayhosts/</guid> <description><![CDATA[If you are using CPanel you already know that its mail server (exim) uses a mechanism to allow pop-before-smtp relaying for sending outgoing emails. The IPs allowed to relay on the server are added dynamically to the file /etc/relayhosts by the antirelayd daemon. The exim configuration for this: /etc/exim.conf: hostlist relay_hosts = lsearch;/etc/relayhosts : localhost [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>If you are using <strong>CPanel </strong>you already know that its mail server (<strong>exim</strong>) uses a mechanism to allow <strong>pop-before-smtp relaying</strong> for sending outgoing emails. The IPs allowed to relay on the server are added dynamically to the file <strong>/etc/relayhosts</strong> by the <strong>antirelayd </strong>daemon.</p><p><span
id="more-100"></span>The exim configuration for this:</p><pre><code>/etc/exim.conf:
hostlist relay_hosts = lsearch;<strong>/etc/relayhosts</strong> :
localhost</code></pre><p>What is <strong>antirelayd</strong>? <em>antirelayd is a daemon that checks /var/log/maillog for pop3/imap logins and keeps track of valid ones for use with smtp relaying</em>. It manages the <strong>/etc/relayhosts</strong> file automatically so if you are trying to add a static IP in that file it will be cleaned up by antirelayd.<br
/> So how can we whitelist some IP and add it permanently to the allowed hosts to relay mail using the server? Well this is very simple but not documented properly (you can easily see this if you are looking into the file <strong>/usr/sbin/antirelayd</strong> that is just a perl script). So all you have to do is create a file (if no such file exists) called <strong>alwaysrelay </strong>in /etc and add the IPs you always want to be allowed to relay outgoing mails on the server. Normally <strong>/etc/alwaysrelay</strong> will not exist, but if it does just edit the file and append the needed IPs.</p><pre><code><strong>/etc/alwaysrelay</strong>
192.168.0.100
192.168.0.101</code></pre><p>and add each IP on a separate line. After this either restart antirelayd or wait for a little while and it will automatically include these IPs in <strong>/etc/relayhosts</strong> and they will not be cleaned any more (permanent relay).</p><p>The same result can be achieved by creating a different file (for ex. /etc/staticrelay) and including it in the exim configuration (in the relay_hosts config similar to /etc/relayhosts). This file will be manually maintained and not cleaned up by antirelayd so the result is the same. Choose the method that you prefer (either antirelayd or exim.conf)&#8230;</p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2006/07/28/cpanel-permanent-whitelist-static-ipshosts-using-antirelaydrelayhosts/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> </channel> </rss>
<!-- Served from: www.ducea.com @ 2012-02-08 10:15:57 by W3 Total Cache -->
