<?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>Linux Windows System Administrator Help &#187; Cpanel Server</title>
	<atom:link href="http://linuxwindowsmaster.com/category/cpanel-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxwindowsmaster.com</link>
	<description></description>
	<lastBuildDate>Wed, 15 Feb 2012 17:58:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>tailwatchd &#8211; chkservd on server status: hang</title>
		<link>http://linuxwindowsmaster.com/tailwatchd-chkservd-on-server-status-hang/</link>
		<comments>http://linuxwindowsmaster.com/tailwatchd-chkservd-on-server-status-hang/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 17:58:11 +0000</pubDate>
		<dc:creator>Alex P</dc:creator>
				<category><![CDATA[Cpanel Server]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=399</guid>
		<description><![CDATA[Hello, This notification is sent out when &#8220;tailwatchd::chkservd&#8221; hangs. I have seen a few instances where this has happened as a result of the &#8220;update_sa_rules&#8221; command hanging due to a SpamAssassin RPM installed on the system. Please check to see if you have a SpamAssassin RPM installed on your system: Code: # rpm -qa&#124;grep -i [...]]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p>This notification is sent out when &#8220;tailwatchd::chkservd&#8221; hangs. I have seen a few instances where this has happened as a result of the &#8220;update_sa_rules&#8221; command hanging due to a SpamAssassin RPM installed on the system. Please check to see if you have a SpamAssassin RPM installed on your system:</p>
<p>Code:</p>
<p># rpm -qa|grep -i spam</p>
<p>If you do, I advise removing it, and reinstalling SpamAssassin via:</p>
<p>Code:</p>
<p># /scripts/installspam</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/tailwatchd-chkservd-on-server-status-hang/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install Oracle Instant Client and PHP OCI8 module</title>
		<link>http://linuxwindowsmaster.com/how-to-install-oracle-instant-client-and-php-oci8-module/</link>
		<comments>http://linuxwindowsmaster.com/how-to-install-oracle-instant-client-and-php-oci8-module/#comments</comments>
		<pubDate>Sun, 12 Feb 2012 20:19:43 +0000</pubDate>
		<dc:creator>AlexP</dc:creator>
				<category><![CDATA[Cpanel Server]]></category>
		<category><![CDATA[Dedicated Server]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=392</guid>
		<description><![CDATA[First download the  oracle instant client basic and devel files from oracle website : http://www.oracle.com/technetwork/topics/linuxsoft-082809.html oracle-instantclient11.2-basic-11.2.0.3.0-1.i386.rpm and oracle-instantclient11.2-devel-11.2.0.3.0-1.i386.rpm from the oracle website and install them: # rpm -ivh oracle-instantclient11.2-basic-11.2.0.3.0-1.i386.rpm # rpm -ivh oracle-instantclient11.2-devel-11.2.0.3.0-1.i386.rpm Installing OCI8 from PECL The OCI8 extension can be added to an existing PHP installation either automatically or manually from » http://pecl.php.net/. Information for [...]]]></description>
			<content:encoded><![CDATA[<p>First download the  oracle instant client basic and devel files from oracle website : http://www.oracle.com/technetwork/topics/linuxsoft-082809.html</p>
<p>oracle-instantclient11.2-basic-11.2.0.3.0-1.i386.rpm and<br />
oracle-instantclient11.2-devel-11.2.0.3.0-1.i386.rpm</p>
<p>from the oracle website and install them:</p>
<pre># rpm -ivh oracle-instantclient11.2-basic-11.2.0.3.0-1.i386.rpm
# rpm -ivh oracle-instantclient11.2-devel-11.2.0.3.0-1.i386.rpm</pre>
<h2>Installing OCI8 from PECL</h2>
<p>The OCI8 extension can be added to an existing PHP installation either automatically or manually from <a href="http://pecl.php.net/">» http://pecl.php.net/</a>. Information for installing this PECL extension may be found in the manual chapter titled <a href="http://www.php.net/manual/en/install.pecl.php">Installation of PECL extensions</a>. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: <a href="http://pecl.php.net/package/oci8">» http://pecl.php.net/package/oci8</a>.</p>
<p>For an automated install follow these steps:</p>
<p>If you are behind a firewall, set PEAR&#8217;s proxy, for example:</p>
<ul>
<li>
<div>
<div>
<div>
<pre>pear config-set http_proxy http://my-proxy.example.com:80/</pre>
</div>
</div>
</div>
</li>
<li>Run
<div>
<div>
<div>
<pre>pecl install oci8</pre>
</div>
</div>
</div>
<p>When prompted, enter either the value of <em>$ORACLE_HOME</em>, or <em>instantclient,/path/to/instant/client/lib</em>.</p>
<p>Note: Do not enter the variable <em>$ORACLE_HOME</em> because it will not be expanded. Instead, enter the actual path of the Oracle home directory.</li>
</ul>
<p>For a manual install, download the PECL OCI8 package, e.g. <var>oci8-1.3.5.tgz</var>.</p>
<p>&nbsp;</p>
<ul>
<li>Extract the package:
<div>
<div>
<div>
<pre>tar -zxf oci8-1.3.5.tgz
cd oci8-1.3.5</pre>
</div>
</div>
</div>
</li>
<li>Prepare the package:
<div>
<div>
<div>
<pre>phpize</pre>
</div>
</div>
</div>
</li>
<li>Configure the package, either using <em>$ORACLE_HOME</em>or Instant Client
<div>
<div>
<div>
<pre>./configure -with-oci8=shared,$ORACLE_HOME</pre>
</div>
</div>
</div>
<p>or</p>
<p>./configure &#8211;with-oci8=shared,instantclient,/usr/lib/oracle/11.2/client/lib/</li>
<li>
<div>
<div>
<div>
<p>if you get this error: <strong>checking Oracle Instant Client SDK header directory&#8230; configure: error: Oracle Instant Client SDK header files not found</strong> it means your oracle devel package didnt install correctly.</p>
<p>then run</p>
</div>
</div>
</div>
</li>
<li>Install the package:
<div>
<div>
<div>
<pre>make install</pre>
</div>
</div>
</div>
</li>
</ul>
<p>After either an automatic or manual install, edit your <var>php.ini</var> file and add the line:</p>
<blockquote><p>extension=oci8.so</p></blockquote>
<p>If you are having issues using oci_pconnect (causing apache segmentation faults) then you will need to use <strong>&#8211;with-oci8=shared,instantclient,/usr/lib/oracle/11.2/client/lib</strong> and install the 1.3.0 version of the OCI client from <a href="http://pecl.php.net/package/oci8" target="_blank">http://pecl.php.net/package/oci8</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/how-to-install-oracle-instant-client-and-php-oci8-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Agent is not in recovery mode but recovery mode is required</title>
		<link>http://linuxwindowsmaster.com/agent-is-not-in-recovery-mode-but-recovery-mode-is-required/</link>
		<comments>http://linuxwindowsmaster.com/agent-is-not-in-recovery-mode-but-recovery-mode-is-required/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 19:54:25 +0000</pubDate>
		<dc:creator>Alex P</dc:creator>
				<category><![CDATA[Cpanel Server]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=389</guid>
		<description><![CDATA[I have seen &#8216; Agent is not in recovery mode but recovery mode is required&#8217; error while restoring complete backup of one partition so can try below steps to fixed it. Linux Installations 1. Start a remote SSH session or access a GUI terminal window (Konsole in KDE, Gnome Terminal in Gnome, etc.) 2. Use [...]]]></description>
			<content:encoded><![CDATA[<p>I have seen &#8216;  Agent is not in recovery mode but recovery mode is required&#8217; error while restoring complete backup of one partition so can try below steps to fixed it.</p>
<p>Linux Installations</p>
<p>1. Start a remote SSH session or access a GUI terminal window (Konsole in KDE, Gnome Terminal in Gnome, etc.)</p>
<p>2. Use one of the following commands to stop the buagent service:</p>
<p># /etc/init.d/cdp-agent stop</p>
<p>or</p>
<p># service cdp-agent stop</p>
<p>3. Create the empty file /usr/sbin/r1soft/.recovery-mode:touch /usr/sbin/r1soft/.recovery-mode<br />
as shown:</p>
<p>4. And last, save the /etc/init.d/buagent file, and restart the agent service.</p>
<p>/etc/init.d/cdp-agent start</p>
<p>or</p>
<p>service cdp-agent start</p>
<p>This will successfully place the Linux R1Soft Agent into recovery mode.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/agent-is-not-in-recovery-mode-but-recovery-mode-is-required/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cPanel : UPCP error : Undefined subroutine &amp;Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273</title>
		<link>http://linuxwindowsmaster.com/cpanel-upcp-error-undefined-subroutine-cpanelupdateautomatic_updates_enabled-called-at-scriptsupcp-line-273/</link>
		<comments>http://linuxwindowsmaster.com/cpanel-upcp-error-undefined-subroutine-cpanelupdateautomatic_updates_enabled-called-at-scriptsupcp-line-273/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 11:43:07 +0000</pubDate>
		<dc:creator>AlexP</dc:creator>
				<category><![CDATA[Cpanel Server]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=387</guid>
		<description><![CDATA[I have seen recent cPanel upgrade from old version 11.24 to 11.30 and got the following error. # /scripts/upcp /scripts/upcp syntax OK Running Futex Check/Fix……Done Undefined subroutine &#38;Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273. This can be fixed using below : wget -O /root/updatenow.static http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/updatenow.static &#38;&#38; perl /root/updatenow.static --manual Upgrade the cPanel : /scripts/upcp --force it [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>I have seen recent cPanel upgrade from old version 11.24 to 11.30 and got the following error.</p>
<p><em># /scripts/upcp<br />
/scripts/upcp syntax OK<br />
Running Futex Check/Fix……Done<br />
Undefined subroutine &amp;Cpanel::Update::automatic_updates_enabled  called at /scripts/upcp line 273.<br />
</em><br />
This can be fixed using below :</p>
<p><code>wget -O /root/updatenow.static   http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/updatenow.static   &amp;&amp; perl /root/updatenow.static --manual</code></p>
<p>Upgrade the cPanel :</p>
<p><code>/scripts/upcp --force</code></p>
<p>it should be work perfect.</p>
<p>Regards</p>
<p>Alex P</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/cpanel-upcp-error-undefined-subroutine-cpanelupdateautomatic_updates_enabled-called-at-scriptsupcp-line-273/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpMyAdmin Error &#8211; Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly</title>
		<link>http://linuxwindowsmaster.com/phpmyadmin-error-cannot-start-session-without-errors-please-check-errors-given-in-your-php-andor-webserver-log-file-and-configure-your-php-installation-properly/</link>
		<comments>http://linuxwindowsmaster.com/phpmyadmin-error-cannot-start-session-without-errors-please-check-errors-given-in-your-php-andor-webserver-log-file-and-configure-your-php-installation-properly/#comments</comments>
		<pubDate>Sun, 16 May 2010 12:00:58 +0000</pubDate>
		<dc:creator>AlexP</dc:creator>
				<category><![CDATA[Cpanel Server]]></category>
		<category><![CDATA[Cannot start session without errors]]></category>
		<category><![CDATA[cpanelphpmyadmin]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=358</guid>
		<description><![CDATA[Last night I had migrated one our client accounts from old cpanel server to new cpanel server , customers reported their phpMyAdmin install was showing the error message &#8220;Cannot start session without errors&#8221;  and they were unable to even get to the phpMyAdmin login page on the new server. This post looks at what caused [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I had migrated one our client accounts from old cpanel server to new cpanel server , customers reported their phpMyAdmin install was showing the error  message &#8220;Cannot start session without errors&#8221;  and they were unable to  even get to the phpMyAdmin login page on the new server.</p>
<p><strong>This post looks at what caused  the issue and how to fix it.</strong></p>
<p>Clearly there&#8217;s something wrong with the way phpmyadmin sessions are being used. Cpanel work with is own internal PHP and store the application session files in different folder for security reason.</p>
<p>On Cpanel server, every application as his own php configuration setting like phpmyadmin , php configuration file is /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini , roundcube (/usr/local/cpanel/3rdparty/etc/roundcube/php.ini)</p>
<p><strong>PHPmyAdmin</strong> session files are store in <strong>/var/cpanel/userhomes/cpanelphpmyadmin/</strong> folder.  The <strong>/var/cpanel/userhomes/cpanelphpmyadmin/</strong> folder ownership should be <strong>cpanelphpmyadmin.cpanelphpmyadmin</strong>n  /var/cpanel/userhomes/cpanelphpmyadmin/ in order to get phpmyadmin work perfect.</p>
<p><strong>root@server [/var/cpanel/userhomes]# chown cpanelphpmyadmin.cpanelphpmyadmin cpanelphpmyadmin/ -R </strong></p>
<p>If session folder owned by any other username rather than cpanelphpmyadmin then you will get &#8220;Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly&#8221; error.</p>
<pre>root@server [/var/cpanel/userhomes]# ll
drwxr-xr-x  4 cpanel           cpanel            4096 Dec 11 23:04 cpanel/
drwx--x--x  4 cpanelhorde      cpanelhorde       4096 Sep 24  2009 cpanelhorde/
drwx--x--x  4 cpanelphpmyadmin cpanelphpmyadmin  4096 Sep 24  2009 cpanelphpmyadmin/
drwx--x--x  4 cpanelphppgadmin cpanelphppgadmin  4096 Sep 24  2009 cpanelphppgadmin/
drwx--x--x  4 cpanelroundcube  cpanelroundcube   4096 Sep 24  2009 cpanelroundcube/
root@server [/var/cpanel/userhomes]#</pre>
<p>Regards</p>
<p>Alex P</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/phpmyadmin-error-cannot-start-session-without-errors-please-check-errors-given-in-your-php-andor-webserver-log-file-and-configure-your-php-installation-properly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix HTTP Error on WordPress 2.6 Flash Uploader</title>
		<link>http://linuxwindowsmaster.com/http-error-on-wordpress-flash-uploader/</link>
		<comments>http://linuxwindowsmaster.com/http-error-on-wordpress-flash-uploader/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 01:24:31 +0000</pubDate>
		<dc:creator>Alex P</dc:creator>
				<category><![CDATA[Cpanel Server]]></category>
		<category><![CDATA[Flash Uploader]]></category>
		<category><![CDATA[HTTP Error]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=312</guid>
		<description><![CDATA[Whenever you are trying to upload an image using the flash uploader in WordPress and received a “HTTP error”? and uploading images status stuck in crunching …….. Here solutions:: The problem has something to do with mod_security, which is basically a web application firewall that protects your website from a range of attacks. So you [...]]]></description>
			<content:encoded><![CDATA[<p><!--[endif]--></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Georgia&quot;,&quot;serif&quot;;">Whenever you are trying to upload an image using the flash uploader in WordPress <span> </span><span> </span>and received a “HTTP error”? and uploading images status stuck in crunching ……..</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Georgia&quot;,&quot;serif&quot;;"><span> </span><strong>Here solutions::</strong></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Georgia&quot;,&quot;serif&quot;;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Georgia&quot;,&quot;serif&quot;;">The problem has something to do with mod_security, <span> </span>which is basically a web application firewall that protects your website from a range of attacks. So you shouldn’t turn off this module as it protects your site from such <span> </span>malicious attack , You can add a special rule in .htaccess file which can be found in the root folder of your WordPress installation<span> </span>to get work <span> </span>the flash uploader.</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Georgia&quot;,&quot;serif&quot;;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Georgia&quot;,&quot;serif&quot;;">Open the <strong><span style="font-family: &quot;Georgia&quot;,&quot;serif&quot;;">.htaccess</span></strong> file in your website document root and add the following lines:</span></p>
<ul>
<li><span style="font-size: 10pt; font-family: &quot;Georgia&quot;,&quot;serif&quot;;"> <strong>For Apache 1.X<br />
</strong></p>
<pre>&lt;IfModule mod_security.c&gt;
&lt;Files async-upload.php&gt;
SecFilterEngine Off
SecFilterScanPOST Off
&lt;/Files&gt;
&lt;/IfModule&gt;</pre>
<p></span></li>
<li><span style="font-size: 10pt; font-family: &quot;Georgia&quot;,&quot;serif&quot;;"><strong>For Apache 2.X<br />
</strong></p>
<pre>&lt;IfModule mod_security2.c&gt;
&lt;Files async-upload.php&gt;
SecRuleEngine Off
SecAuditEngine Off
&lt;/Files&gt;
&lt;/IfModule&gt;</pre>
<p></span></li>
</ul>
<p><strong><span style="font-family: &quot;Georgia&quot;,&quot;serif&quot;; color: black;"> </span></strong><span style="font-family: &quot;Georgia&quot;,&quot;serif&quot;; color: black;">Then try to upload the images it should be work like charm D:</span></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/http-error-on-wordpress-flash-uploader/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to update/install latest RoundCube on cPanel</title>
		<link>http://linuxwindowsmaster.com/how-to-update-install-latest-roundcube-on-cpanel/</link>
		<comments>http://linuxwindowsmaster.com/how-to-update-install-latest-roundcube-on-cpanel/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 19:57:34 +0000</pubDate>
		<dc:creator>Alex P</dc:creator>
				<category><![CDATA[Cpanel Server]]></category>
		<category><![CDATA[install RoundCube]]></category>
		<category><![CDATA[RoundCube]]></category>
		<category><![CDATA[update  RoundCube]]></category>
		<category><![CDATA[upgrade roundcube]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=258</guid>
		<description><![CDATA[Update/install latest RoundCube on cPanel First you will have to uninstall/remove exiting RoundCube files/folder/database on your server, Uninstall/remove exiting RoundCube cd /usr/local/cpanel/base rm -rf roundcube* mysql -e 'drop database roundcube'; /scripts/upcp Now follow the following steps to  update/install latest roundcube  version ,we need to get Roundcube before we can use it. The easiest way to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update/install latest RoundCube on cPanel</strong></p>
<p>First you will have to uninstall/remove exiting RoundCube files/folder/database on your server,</p>
<ul>
<li><strong>Uninstall/remove exiting RoundCube </strong></li>
</ul>
<pre><strong>cd /usr/local/cpanel/base
rm -rf roundcube*
mysql -e 'drop database roundcube';
/scripts/upcp</strong></pre>
<p>Now follow the following steps to  update/install latest roundcube  version ,we need to get Roundcube before we can use it. The easiest way to get it is to visit http://www.roundcube.net and click on &#8220;Downloads&#8221; or just go to http://roundcube.net/downloads. Wait for it to download and then unzip (using WinZip or ZipGenius or tar -xzf roundcubemail-0.1.tar.gz) in the current directory.</p>
<ul>
<li><strong>update/install latest roundcube</strong></li>
</ul>
<pre><strong>cd /usr/local/cpanel/base
wget -O roundcube.tar.gz http://nchc.dl.sourceforge.net/sourceforge/
roundcubemail/roundcubemail-0.2.1.tar.gz
rm -rf roundcube.tar.gz
mv -f roundcubemail-0.2.1/ roundcube
cd roundcube
chmod -R 777 temp
chmod -R 777 logs
</strong></pre>
<ul>
<li><strong>Database Configuration</strong></li>
</ul>
<p>Create the database, database user and install the intial sql file. The following commands will do this for you.</p>
<pre><strong>mysql -e "CREATE DATABASE roundcube;"
mysql -e "GRANT ALL PRIVILEGES ON roundcube.* TO roundcube@localhost IDENTIFIED BY
'DATABASEPASSWORD';"
mysql -e "FLUSH PRIVILEGES;"
mysql -e "use roundcube; source SQL/mysql.initial.sql;"
</strong></pre>
<p>You will have to replace the roundcube password with &#8216;DATABASEPASSWORD&#8217; field.</p>
<ul>
<li><strong>Configuring RoundCube</strong></li>
</ul>
<pre><strong>cd config
mv db.inc.php.dist db.inc.php
mv main.inc.php.dist main.inc.php
</strong></pre>
<p>then open database configruation file  db.inc.php in your favroite editor like vi or pico or nano<br />
vi db.inc.php<br />
Find following line</p>
<pre><strong>$rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
</strong></pre>
<p>Replace it with</p>
<pre><strong>$rcmail_config['db_dsnw'] = 'mysql://roundcube:DATABASEPASSWORD@localhost/roundcube';
</strong></pre>
<p>Now Open main.inc.php</p>
<p>vi main.inc.php</p>
<p>Find</p>
<pre><strong>$rcmail_config['default_host'] = '';
</strong></pre>
<p>Replace with</p>
<pre><strong>$rcmail_config['default_host'] = 'localhost';
</strong></pre>
<p>Last steps , restart the mysql, cpanel services on your server. That&#8217;s it ,Have fun with your new Roundcube installation!!</p>
<p>Regards</p>
<p>AlexP</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/how-to-update-install-latest-roundcube-on-cpanel/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to install memcache on linux server?</title>
		<link>http://linuxwindowsmaster.com/how-to-install-memcache-on-linux-server/</link>
		<comments>http://linuxwindowsmaster.com/how-to-install-memcache-on-linux-server/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 21:02:03 +0000</pubDate>
		<dc:creator>Alex P</dc:creator>
				<category><![CDATA[ASP.NET, IIS, MS SQL]]></category>
		<category><![CDATA[Cpanel Server]]></category>
		<category><![CDATA[Dedicated Server]]></category>
		<category><![CDATA[PHP, MySQL, Apache]]></category>
		<category><![CDATA[Libevent]]></category>
		<category><![CDATA[memcache.so]]></category>
		<category><![CDATA[memcached]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=224</guid>
		<description><![CDATA[memcached is a high-performance memory object caching system intended to speed up dynamic web applications by alleviating database load. memcached is meant to work in concert with something like the MySQL query cache, not replace it. The two implementations excel at vastly different things: memcached is an object cache, while MySQL provides a query cache. [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--> <!--[if gte mso 10]><br />
<mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman";} --></p>
<p><!--[endif]--></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"><strong>memcached</strong> is a high-performance memory object caching system intended to speed up dynamic web applications by alleviating database load. </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"><strong>memcached</strong> is meant to work in concert with something like the MySQL query cache, not replace it. The two implementations excel at vastly different things: <strong>memcached</strong> is an object cache, while MySQL provides a query cache.</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"><strong>memcached</strong> is extremely fast. It uses <strong>libevent</strong>, which provides a mechanism to execute a callback function when a specific event occurs on a file descriptor, to scale to any number of open connections. On a modern Linux system memcached utilizes epoll, is completely non-blocking for network I/O, ensures memory never gets fragmented, and uses its own slab allocator and hash table to achieve 0(1) virtual memory allocation.</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><strong><span style="font-size: 10pt; font-family: Georgia;">How it install it on Linux server ?</span></strong></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<ul>
<li><span style="font-size: 10pt; font-family: Georgia;">Install dependency software (Libevent)</span></li>
</ul>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;">#curl -O http://monkey.org/~provos/libevent-1.4.9-stable.tar.gz
#tar -xzvf libevent-1.4.9-stable.tar.gz
#cd libevent*
#./configure
#make
#make install</span></strong></pre>
<p><strong></strong></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<ul>
<li><span style="font-size: 10pt; font-family: Georgia;">Now let’s download the newest Memcached source</span></li>
</ul>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<pre><strong>#curl -O http://www.danga.com/memcached/dist/memcached-1.3.0.tar.gz
#tar zxf memcached-1.3.0.tar.gz
#cd memcached-1.3.0
#./configure
#make
#make install</strong></pre>
<ul>
<li><span style="font-size: 10pt; font-family: Georgia;">Then add /usr/local/lib to LD_LIBRARY_PATH in your .bash_profile</span></li>
</ul>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<pre><strong>LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH</strong></pre>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><strong><span style="font-size: 10pt; font-family: Georgia;">How it Works</span></strong></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;">First, you start up the memcached daemon on as many spare machines as you have. The daemon has no configuration file, just a few command line options, only 3 or 4 of which you’ll likely use:</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;">Run Memcached as a daemon (d = daemon, m = memory, u = user, l = IP to listen to, p = port)</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;">#memcached -d -m 1024 -u root -l 127.0.0.1 -p 11211 –u nobody</span></strong></pre>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;">This starts memcached as a <strong>daemon (-d)</strong> on the<strong> IP addres</strong>s and <strong>port</strong> specified with<strong> -l </strong>and <strong>-p</strong>, respectively, running as the <strong>user nobody (-u),</strong> allocating<strong> 1024  for object storage (-m)</strong>. You should adjust the amount of storage to suit your needs; many memcached installs run with 4 GB. Once you are comfortable with your startup options, add the appropriate command to your startup scripts.</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;">Create a <strong>/etc/init.d/memcached</strong> file and add above line to start memcached when the server boots</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;">With memcached installed and running, it’s time to get PHP talking to the object cache. While multiple PHP API exists, the one in the PECL repository is recommended. If you are running a newer version of PHP, installation is as simple as:</span></p>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;"># pecl install memcache</span></strong></pre>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;">Or you can use following steps to install PECL memcache manually.</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<pre><strong>#cd /usr/local/src
#curl -O http://pecl.php.net/get/memcache
#tar zxvf memcache*
#cd memcache-*
#phpize
#./configure
#make &amp;&amp; make install</strong></pre>
<p class="MsoNormal" style="text-align: justify;"><strong><span style="font-size: 10pt; font-family: Georgia;"> </span></strong></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;">Now we have to make sure PHP loads the newly built memcache.so library by adding the following line to php.ini:</span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><strong><span style="font-size: 10pt;">extension=memcache.so</span></strong></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p><span style="font-size: 10pt; font-family: Georgia;">Now restart Apache:</span></p>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;">Service httpd restart</span></strong></pre>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"><span> </span>Once it sucussfully install you can create<span> </span>phpinfo() on your webserver should now confirm that memcache is installed.</span></p>
<p class="MsoNormal" style="text-align: center;"><span style="font-size: 10pt; font-family: Georgia;"><a href="http://linuxwindowsmaster.com/how-to-install-memcache/"><img class="aligncenter size-full wp-image-225" title="memcache" src="http://linuxwindowsmaster.com/wp-content/uploads/2009/04/memcache.jpg" alt="memcache How to install memcache on linux server?" width="733" height="393" /></a><br />
</span></p>
<p>Regards<br />
AlexP</p>
<p class="MsoNormal" style="text-align: justify;"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/how-to-install-memcache-on-linux-server/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to install subversion client on Linux server?</title>
		<link>http://linuxwindowsmaster.com/how-to-install-subversion-client-on-linux-server/</link>
		<comments>http://linuxwindowsmaster.com/how-to-install-subversion-client-on-linux-server/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 23:30:50 +0000</pubDate>
		<dc:creator>Alex P</dc:creator>
				<category><![CDATA[Cpanel Server]]></category>
		<category><![CDATA[Dedicated Server]]></category>
		<category><![CDATA[error: missing dependency: perl(uri)]]></category>
		<category><![CDATA[Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion]]></category>
		<category><![CDATA[perl-URI]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[yum install subversion]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=216</guid>
		<description><![CDATA[Svn(subversion) is used to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used Concurrent Versions System (CVS). It is very easy to install subversion client on linux OS using yum. You can us following command to install [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--> <!--[if gte mso 10]><br />
<mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman";} --></p>
<p><!--[endif]--></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;"><strong>Svn(subversion)</strong> <span> </span>is used to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used Concurrent Versions System (CVS).</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;">It is very easy to install subversion client on<strong> linux OS</strong> using <strong>yum</strong>. You can us following command to install subversion client.</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;">root@server [~]# yum install subversion</span></strong></pre>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;">while installing subversion if you are getting following error  then it seem sot be </span><span style="font-size: 10pt; font-family: Georgia;">perl-URI package is not installed on your server so </span><span style="font-size: 10pt; font-family: Georgia;">you will have to install first before installing subversion client.</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;">Please follow the following steps to install </span><span style="font-size: 10pt; font-family: Georgia;">perl-URI package</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;">You&#8217;ll login via SSH as root and run this command:</span></p>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;">root@server [~]# yum install subversion</span></strong></pre>
<p class="MsoNormal">
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;">and then you may get this error:</span></p>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;">Error: Missing Dependency: perl(URI) &gt;= 1.17 is needed by package subversion</span></strong></pre>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;">Here&#8217;s what you do next (copy/paste):</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;">root@server [~]# wget  ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/
fedora/linux/releases/7/Everything/i386/os/Fedora/
perl-URI-1.35-3.noarch.rpm </span></strong>

<strong><span style="font-size: 10pt; font-family: Georgia;">root@server [~]# rpm -i perl-URI-1.35-3.noarch.rpm</span></strong>

<strong><span style="font-size: 10pt; font-family: Georgia;">root@server [~]# yum install subversion</span></strong>

<span style="font-size: 10pt; font-family: Georgia;" lang="FR">Installed: subversion.x86_64 0:1.4.2-4.el5 subversion.i386 0:1.4.2-4.el5</span>

<span style="font-size: 10pt; font-family: Georgia;">Dependency Installed: neon.x86_64 0:0.25.5-10.el5 neon.i386 0:0.25.5-10.el5</span>

<span style="font-size: 10pt; font-family: Georgia;">Complete!</span></pre>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;">That’s it subversion client is successfully installed on your server you can check it using following command.</span></p>
<pre><strong><span style="font-size: 10pt; font-family: Georgia;">root@server [~]#</span><span style="font-size: 10pt; font-family: Georgia;">svn --version
svn, version 1.1.4 (r13838)
compiled Aug 21 2005, 20:56:55</span>

Copyright (C) 2000-2004 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' schema
- handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
- handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' schema</strong></pre>
<p>Regards</p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;">Alex P<br />
</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Georgia;"> </span></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/how-to-install-subversion-client-on-linux-server/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to Enable PHP function for a one account ?</title>
		<link>http://linuxwindowsmaster.com/how-to-enable-php-function-for-one-account/</link>
		<comments>http://linuxwindowsmaster.com/how-to-enable-php-function-for-one-account/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 22:32:45 +0000</pubDate>
		<dc:creator>Alex P</dc:creator>
				<category><![CDATA[Cpanel Server]]></category>
		<category><![CDATA[Dedicated Server]]></category>
		<category><![CDATA[PHP, MySQL, Apache]]></category>
		<category><![CDATA[PHP function]]></category>
		<category><![CDATA[shell_exec]]></category>
		<category><![CDATA[suhosin]]></category>
		<category><![CDATA[suhosin.executor.func.blacklist]]></category>
		<category><![CDATA[VirtualHost]]></category>

		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=205</guid>
		<description><![CDATA[IF you disable PHP function in php.ini file and if you want to enable any particular function only one account .Then You can however use suhosin to enable a function for one domain only. How can you do that ? After installing suhosin, remove all functions from disable_functions in php.ini and add in php.ini suhosin.executor.func.blacklist [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><strong><span style="font-weight: normal;">IF you disable <strong>PHP function </strong>in php.ini file and if you want to enable any particular function only one account .Then </span></strong>You can however use suhosin to enable a function for one domain only.</p>
<p class="MsoNormal"><strong>How can you do that ?</strong></p>
<p class="MsoNormal">After installing suhosin, remove all functions from disable_functions in php.ini and add in <strong>php.ini</strong> <strong>suhosin.executor.func.blacklist = “exec,passthru,shell_exec”</strong> and all the functions that you want to disable globally.</p>
<p class="MsoNormal">After that for each domain in the virtual host section you can add <strong>suhosin.executor.func.blacklist</strong> again but without the function that you need to enable. And so you will enable that function only for one domain.</p>
<p class="MsoNormal">Example:</p>
<pre><strong>&lt;VirtualHost 127.0.0.1&gt;
………..
………..
&lt;IfModule mod_php4.c&gt;
php_admin_value open_basedir “/usr/lib/php”
&lt;/IfModule&gt;
&lt;IfModule mod_php5.c&gt;
php_admin_value open_basedir “/usr/lib/php”
php_admin_value suhosin.executor.func.blacklist = “passthru,shell_exec”
&lt;/IfModule&gt;
…….
……
&lt;/VirtualHost&gt;
</strong></pre>
<p>In this example exec has been enabled for the VirtualHost. This way it will be better as you do not neet to modify all the virtual hosts only the ones that you need to enable one or more functions.</p>
<p class="MsoNormal">Regard’s</p>
<p class="MsoNormal">Alex P</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxwindowsmaster.com/how-to-enable-php-function-for-one-account/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

