<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>$P&#039;s_Blog$</title>
	<atom:link href="http://pswebsolutions.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://pswebsolutions.wordpress.com</link>
	<description>JUst to SHare</description>
	<lastBuildDate>Wed, 04 May 2011 13:28:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='pswebsolutions.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>$P&#039;s_Blog$</title>
		<link>http://pswebsolutions.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://pswebsolutions.wordpress.com/osd.xml" title="$P&#039;s_Blog$" />
	<atom:link rel='hub' href='http://pswebsolutions.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to install or upgrade to PHP 5.2.x</title>
		<link>http://pswebsolutions.wordpress.com/2009/10/07/how-to-install-or-upgrade-to-php-5-2-x/</link>
		<comments>http://pswebsolutions.wordpress.com/2009/10/07/how-to-install-or-upgrade-to-php-5-2-x/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 15:36:42 +0000</pubDate>
		<dc:creator>ServerTechs</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[How to install or upgrade to PHP 5.2.x]]></category>

		<guid isPermaLink="false">http://pswebsolutions.wordpress.com/?p=356</guid>
		<description><![CDATA[To upgrade to PHP 5.2.x on CentOS/RHEL/Fedora: Step 1) Set up the atomic channel: wget -q -O - http://www.atomicorp.com/installers/atomic.sh &#124; sh Step 2) Upgrade to PHP 5.2.x: yum upgrade Step 3) Replace the PHP 4 php.ini with PHP 5.2.x&#8217;s (if applicable): mv /etc/php.ini.rpmnew /etc/php.ini Step 4) Replace the php.conf with the PHP 5.2.x php.conf (if [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=356&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="line-height:1.5em;margin:.4em 0 .5em;">To upgrade to PHP 5.2.x on CentOS/RHEL/Fedora:</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Step 1) Set up the atomic channel:</p>
<pre style="color:black;background-color:#f9f9f9;line-height:1.1em;border:1px dashed #2f6fab;padding:1em;">wget -q -O - <a style="text-decoration:none;color:#3366bb;background-image:url('http://atomicorp.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;background-position:100% 50%;padding:0 13px 0 0;" title="http://www.atomicorp.com/installers/atomic.sh" rel="nofollow" href="http://www.atomicorp.com/installers/atomic.sh">http://www.atomicorp.com/installers/atomic.sh</a> | sh</pre>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Step 2) Upgrade to PHP 5.2.x:</p>
<pre style="color:black;background-color:#f9f9f9;line-height:1.1em;border:1px dashed #2f6fab;padding:1em;">yum upgrade</pre>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Step 3) Replace the PHP 4 php.ini with PHP 5.2.x&#8217;s (if applicable):</p>
<pre style="color:black;background-color:#f9f9f9;line-height:1.1em;border:1px dashed #2f6fab;padding:1em;">mv /etc/php.ini.rpmnew /etc/php.ini</pre>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Step 4) Replace the php.conf with the PHP 5.2.x php.conf (if applicable):</p>
<pre style="color:black;background-color:#f9f9f9;line-height:1.1em;border:1px dashed #2f6fab;padding:1em;">mv /etc/httpd/conf.d/php.conf.rpmnew /etc/httpd/conf.d/php.conf</pre>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Step 5) Restart the webserver</p>
<pre style="color:black;background-color:#f9f9f9;line-height:1.1em;border:1px dashed #2f6fab;padding:1em;">service httpd restart
(or)
/etc/init.d/httpd restart</pre>
<p style="line-height:1.5em;margin:.4em 0 .5em;"><strong>Checklist</strong></p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">1) Source code installations of extensions, like Ioncube loader, or other extensions that have to be updated. Ive created php-ioncube-loader, php-zend-optimizer, and php-eaccelerator packages to fix this for you automatically.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">2) php.ini settings, like memory_limit</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">3) execstack -c on any extensions that claim to need an executible stack (ASL users only).</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;"><strong>Known Issues</strong></p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">1) VPS and RHEL users, If you dont use the atomic installer, you&#8217;re going to miss some dependencies, like sqlite3. Have fun with that!</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">2) RHEL4 users (and possibly others) can resolve the sqlite3 dependencies by grabbing rpms from the CentOS repositories. The atomic installer fixes this for you automatically. If you dont use it&#8230; have fun with that!</p>
<pre style="color:black;background-color:#f9f9f9;line-height:1.1em;border:1px dashed #2f6fab;padding:1em;">rpm -Uvh <a style="text-decoration:none;color:#3366bb;background-image:url('http://atomicorp.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;background-position:100% 50%;padding:0 13px 0 0;" title="http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm" rel="nofollow" href="http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm">http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm</a> <a style="text-decoration:none;color:#3366bb;background-image:url('http://atomicorp.com/wiki/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;background-position:100% 50%;padding:0 13px 0 0;" title="http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-devel-3.3.6-2.i386.rpm" rel="nofollow" href="http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-devel-3.3.6-2.i386.rpm">http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-devel-3.3.6-2.i386.rpm</a></pre>
<pre style="color:black;background-color:#f9f9f9;line-height:1.1em;border:1px dashed #2f6fab;padding:1em;">up2date php</pre>
<p style="line-height:1.5em;margin:.4em 0 .5em;">OR</p>
<pre style="color:black;background-color:#f9f9f9;line-height:1.1em;border:1px dashed #2f6fab;padding:1em;">yum update php</pre>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Works like a charm</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">3) PHP 5.2.5 causes problems with Horde and Apache configuration files on PSA 8.2.1 and lower. <strong>PSA 8.3.0 has fixed this problem</strong>, so the easiest way to fix these issues is to upgrade to PSA 8.3.0 or higher. Otherwise, you&#8217;ll need to perform the following extra steps:</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">3a) Modify /etc/httpd/conf.d/zz010_psa_httpd.conf</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Change this:</p>
<pre style="color:black;background-color:#f9f9f9;line-height:1.1em;border:1px dashed #2f6fab;padding:1em;">php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."</pre>
<p style="line-height:1.5em;margin:.4em 0 .5em;">to</p>
<pre style="color:black;background-color:#f9f9f9;line-height:1.1em;border:1px dashed #2f6fab;padding:1em;">php_admin_value include_path "/usr/share/psa-horde/lib:/usr/share/psa-horde:/usr/share/psa-horde/pear:."</pre>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Note this file is changed every time plesk is updated, so you&#8217;ll need to go back and fix this when it does.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">This also fixes the <strong>PHP Fatal error: Can&#8217;t load Horde/SessionObjects.php, open_basedir restriction</strong> problem.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">3b) General issues with php_admin_value:</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">The fix for now is to replace the use of php_admin_value with php_value. I have only tested this as far as the domains on this server. You will find this used all over the place in zz010_psa_httpd.conf, domain level httpd.includes, and most likely in your own customizations. The biggest problems Ive had are with register_globals and include_path, I have not run into any issues with PSA httpd.include files and open_basedir.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">
4)<span style="text-decoration:line-through;"> Plesk Sitebuilder is not compatible with 5.2.x on systems that did not come with it natively. Either remove it, with yum remove sb-publish, or you *might* be able to get it to work by using the php-sqlite2 from the Fedora 8 plesk repo.</span> php-sqlite2 was added to the atomic repo to handle sitebuilder integration.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">
<p style="line-height:1.5em;margin:.4em 0 .5em;"><strong>Problems with MySQL databases and PLESK 9 after upgrade.</strong></p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">If you get the following error after upgrading when you try to log into PLESK then you need to upgrade your database tables:</p>
<pre style="color:black;background-color:#f9f9f9;line-height:1.1em;border:1px dashed #2f6fab;padding:1em;">ERROR: PleskFatalException
bad column in table: `backup_time` time NOT NULL default '00:00:00',
[...]</pre>
<p style="line-height:1.5em;margin:.4em 0 .5em;">
Issue the following command from the shell:</p>
<pre style="color:black;background-color:#f9f9f9;line-height:1.1em;border:1px dashed #2f6fab;padding:1em;">mysqlcheck --check-upgrade --all-databases --auto-repair -uadmin -p<em>youradminpassword</em></pre>
<p style="line-height:1.5em;margin:.4em 0 .5em;">followed by:</p>
<p>cat /usr/share/mysql/mysql_fix_privilege_tables.sql | /usr/bin/mysql &#8211;no-defaults &#8211;force &#8211;user=admin &#8211;password=<em>youradminpassword</em> &#8212;-host=localhost &#8211;database=mysql &#8211;host=localhost &#8211;database=mysql</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pswebsolutions.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pswebsolutions.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pswebsolutions.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pswebsolutions.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pswebsolutions.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pswebsolutions.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pswebsolutions.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pswebsolutions.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pswebsolutions.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pswebsolutions.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pswebsolutions.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pswebsolutions.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pswebsolutions.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pswebsolutions.wordpress.com/356/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=356&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pswebsolutions.wordpress.com/2009/10/07/how-to-install-or-upgrade-to-php-5-2-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10163caa5b9e88bf95c48c28662b0196?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Push</media:title>
		</media:content>
	</item>
		<item>
		<title>Logging server load to /var/log/messages</title>
		<link>http://pswebsolutions.wordpress.com/2009/09/06/logging-server-load-to-varlogmessages/</link>
		<comments>http://pswebsolutions.wordpress.com/2009/09/06/logging-server-load-to-varlogmessages/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 23:03:40 +0000</pubDate>
		<dc:creator>ServerTechs</dc:creator>
				<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://pswebsolutions.wordpress.com/?p=349</guid>
		<description><![CDATA[There can be issues when the server goes offline and you can’t find any related log entries in the server. One of the issue that can cause is high load in the server. But we wont be able to conclude whether the load was the exact issue after the server reboot. The better solution to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=349&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There can be issues when the server goes offline and you can’t find any related log entries in the server. One of the issue that can cause is high load in the server. But we wont be able to conclude whether the load was the exact issue after the server reboot.</p>
<p>The better solution to find the load is set a cronjob to enter the load in the server to /var/log/messages for a particular amount of time. A sample cron is shown below which will log the server load every 10 minutes to /var/log/messages.</p>
<div style="font-weight:normal;background-image:initial;background-repeat:initial;background-attachment:initial;background-color:transparent;color:#000000;padding-left:5px;background-position:initial initial;"></div>
<div style="font-weight:normal;background-image:initial;background-repeat:initial;background-attachment:initial;background-color:transparent;color:#000000;padding-left:5px;background-position:initial initial;">*/10 * * * * uptime | logger -t “SERVER LOAD”</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">Now you will be able to get the load from /var/log/messages</div>
<p>Now you will be able to get the load from /var/log/messages</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pswebsolutions.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pswebsolutions.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pswebsolutions.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pswebsolutions.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pswebsolutions.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pswebsolutions.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pswebsolutions.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pswebsolutions.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pswebsolutions.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pswebsolutions.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pswebsolutions.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pswebsolutions.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pswebsolutions.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pswebsolutions.wordpress.com/349/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=349&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pswebsolutions.wordpress.com/2009/09/06/logging-server-load-to-varlogmessages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10163caa5b9e88bf95c48c28662b0196?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Push</media:title>
		</media:content>
	</item>
		<item>
		<title>MySQLTuner</title>
		<link>http://pswebsolutions.wordpress.com/2009/09/06/mysqltuner/</link>
		<comments>http://pswebsolutions.wordpress.com/2009/09/06/mysqltuner/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 20:10:12 +0000</pubDate>
		<dc:creator>ServerTechs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://pswebsolutions.wordpress.com/?p=346</guid>
		<description><![CDATA[Installation and Requirements: The script is a basic Perl script that has no additional requirements. At this time, MySQLTuner is compatible with Linux/Unix based operating systems with Perl 5.6 or later. MySQL versions 3.23 and later are supported by the script. To get started, simply download MySQLTuner and make it executable: # wget http://mysqltuner.com/mysqltuner.pl # [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=346&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Installation and Requirements:</p>
<p style="margin-bottom:14px;">The script is a basic Perl script that has no additional requirements. At this time, MySQLTuner is compatible with Linux/Unix based operating systems with Perl 5.6 or later. MySQL versions 3.23 and later are supported by the script.</p>
<p style="margin-bottom:14px;">To get started, simply download MySQLTuner and make it executable:</p>
<div style="font-family:'Courier New', Courier, monospace;background-color:#f0f0f0;color:#0000bb;border:1px dotted #a0a0a0;">
<div style="font-weight:normal;background-image:initial;background-repeat:initial;background-attachment:initial;background-color:transparent;color:#000000;padding-left:5px;background-position:initial initial;"># wget http://mysqltuner.com/mysqltuner.pl<br />
# chmod +x mysqltuner.pl<br />
# ./mysqltuner.pl</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pswebsolutions.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pswebsolutions.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pswebsolutions.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pswebsolutions.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pswebsolutions.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pswebsolutions.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pswebsolutions.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pswebsolutions.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pswebsolutions.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pswebsolutions.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pswebsolutions.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pswebsolutions.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pswebsolutions.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pswebsolutions.wordpress.com/346/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=346&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pswebsolutions.wordpress.com/2009/09/06/mysqltuner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10163caa5b9e88bf95c48c28662b0196?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Push</media:title>
		</media:content>
	</item>
		<item>
		<title>How to update the exim.conf</title>
		<link>http://pswebsolutions.wordpress.com/2009/08/29/how-to-update-the-exim-conf/</link>
		<comments>http://pswebsolutions.wordpress.com/2009/08/29/how-to-update-the-exim-conf/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 02:02:16 +0000</pubDate>
		<dc:creator>ServerTechs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Exim]]></category>

		<guid isPermaLink="false">http://pswebsolutions.wordpress.com/?p=344</guid>
		<description><![CDATA[To make use of the newest exim settings and enhancements, you can update the exim.conf by running the following as root:: wget -O /etc/exim.conf http://files.directadmin.com/services/exim.conf wget -O /etc/exim.pl http://files.directadmin.com/services/exim.pl chmod 755 /etc/exim.pl cd /etc/virtual touch blacklist_domains whitelist_from use_rbl_domains bad_sender_hosts blacklist_senders whitelist_domains whitelist_hosts whitelist_senders echo 0 &#62; limit mkdir usage chown mail:mail blacklist_domains whitelist_from use_rbl_domains bad_sender_hosts [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=344&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To make use of the newest exim settings and enhancements, you can update the exim.conf by running the following as root::</p>
<p><span style="color:#000000;">wget -O /etc/exim.conf http://files.directadmin.com/services/exim.conf<br />
wget -O /etc/exim.pl http://files.directadmin.com/services/exim.pl<br />
chmod 755 /etc/exim.pl<br />
cd /etc/virtual<br />
touch blacklist_domains whitelist_from use_rbl_domains bad_sender_hosts blacklist_senders whitelist_domains whitelist_hosts whitelist_senders<br />
echo 0 &gt; limit<br />
mkdir usage<br />
chown mail:mail blacklist_domains whitelist_from use_rbl_domains bad_sender_hosts blacklist_senders whitelist_domains whitelist_hosts whitelist_senders limit usage</span></p>
<p><span style="color:#000000;">If you are running dovecot, you will need to re-patch your exim.conf:</span></p>
<p>patch -p0 &lt; /usr/local/directadmin/customapache/exim.conf.dovecot.patch<br />
patch -p0 &lt; /usr/local/directadmin/custombuild/exim.conf.dovecot.patch</p>
<p>one thing you need to note that you only need to run the patch appropriate to the build system you have. If you have custombuild, run the 2nd one. If you don&#8217;t know what you have, then run them both, as it won&#8217;t hurt anything if you patch twice.</p>
<p>Restart the Exim now :</p>
<p>/etc/init.d/exim restart</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pswebsolutions.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pswebsolutions.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pswebsolutions.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pswebsolutions.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pswebsolutions.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pswebsolutions.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pswebsolutions.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pswebsolutions.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pswebsolutions.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pswebsolutions.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pswebsolutions.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pswebsolutions.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pswebsolutions.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pswebsolutions.wordpress.com/344/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=344&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pswebsolutions.wordpress.com/2009/08/29/how-to-update-the-exim-conf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10163caa5b9e88bf95c48c28662b0196?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Push</media:title>
		</media:content>
	</item>
		<item>
		<title>How to install memcache on linux server?</title>
		<link>http://pswebsolutions.wordpress.com/2009/08/26/how-to-install-memcache-on-linux-server/</link>
		<comments>http://pswebsolutions.wordpress.com/2009/08/26/how-to-install-memcache-on-linux-server/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 21:12:48 +0000</pubDate>
		<dc:creator>ServerTechs</dc:creator>
				<category><![CDATA[24483671]]></category>
		<category><![CDATA[ApacheTags: Libevent]]></category>
		<category><![CDATA[Categories: ASP.NET]]></category>
		<category><![CDATA[Cpanel Server]]></category>
		<category><![CDATA[Dedicated Server]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[memcache.so]]></category>
		<category><![CDATA[MS SQL]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[memcached]]></category>

		<guid isPermaLink="false">http://pswebsolutions.wordpress.com/?p=339</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. memcached [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=339&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>memcached</strong> is a high-performance memory object caching system intended to speed up dynamic web applications by alleviating database load.</p>
<p><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.</p>
<p><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.</p>
<p><strong><span style="color:#666699;">How it install it on Linux server ?</span></strong></p>
<p>Install dependency software (Libevent)</p>
<pre><strong>#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 style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-weight:normal;line-height:19px;white-space:normal;font-size:13px;"> </span></strong></pre>
<ul>
<li>Now let’s download the newest Memcached source</li>
</ul>
<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>Then add /usr/local/lib to LD_LIBRARY_PATH in your .bash_profile</li>
</ul>
<pre><strong>LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH</strong></pre>
<p><strong>How it Works</strong></p>
<p>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:</p>
<p>Run Memcached as a daemon (d = daemon, m = memory, u = user, l = IP to listen to, p = port)</p>
<pre><strong>#memcached -d -m 1024 -u root -l 127.0.0.1 -p 11211 –u nobody</strong></pre>
<p>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.</p>
<p>Create a <strong>/etc/init.d/memcached</strong> file and add above line to start memcached when the server boots</p>
<p>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:</p>
<pre><strong># pecl install memcache</strong></pre>
<p>Or you can use following steps to install PECL memcache manually.</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><strong> </strong></p>
<p>Now we have to make sure PHP loads the newly built memcache.so library by adding the following line to php.ini:</p>
<p><strong>extension=memcache.so</strong></p>
<p>Now restart Apache:</p>
<pre><strong>Service httpd restart</strong></pre>
<p>Once it sucussfully install you can create phpinfo() on your webserver should now confirm that memcache is installed.</p>
<p><img class="aligncenter" src="http://linuxwindowsmaster.com/wp-content/uploads/2009/04/memcache.jpg" alt="" width="733" height="393" /></p>
<p><a href="http://linuxwindowsmaster.com/how-to-install-memcache/"></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pswebsolutions.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pswebsolutions.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pswebsolutions.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pswebsolutions.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pswebsolutions.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pswebsolutions.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pswebsolutions.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pswebsolutions.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pswebsolutions.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pswebsolutions.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pswebsolutions.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pswebsolutions.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pswebsolutions.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pswebsolutions.wordpress.com/339/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=339&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pswebsolutions.wordpress.com/2009/08/26/how-to-install-memcache-on-linux-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10163caa5b9e88bf95c48c28662b0196?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Push</media:title>
		</media:content>

		<media:content url="http://linuxwindowsmaster.com/wp-content/uploads/2009/04/memcache.jpg" medium="image" />
	</item>
		<item>
		<title>I can not send outgoing email (Error Number: 0x800CCC0B)</title>
		<link>http://pswebsolutions.wordpress.com/2009/08/26/i-can-not-send-outgoing-email-error-number-0x800ccc0b/</link>
		<comments>http://pswebsolutions.wordpress.com/2009/08/26/i-can-not-send-outgoing-email-error-number-0x800ccc0b/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 20:39:53 +0000</pubDate>
		<dc:creator>ServerTechs</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Mail]]></category>

		<guid isPermaLink="false">http://pswebsolutions.wordpress.com/?p=336</guid>
		<description><![CDATA[If you can not send email using mail.yourdomainname.com as your SMTP server, it may be because your ISP is blocking port 25 on their network, used for sending outoing mail via the SMTP protocol. In this instance, we recommend using your ISPs outgoing mail server, which can be obtained from your ISP. This practice has [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=336&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><br style="outline-style:none;outline-width:initial;outline-color:initial;margin:0;padding:0;" /><strong>If you can not send email using mail.yourdomainname.com as your SMTP server, it may be because your ISP is blocking port 25 on their network, used for sending outoing mail via the SMTP protocol.</strong> In this instance, we recommend using your ISPs outgoing mail server, which can be obtained from your ISP. This practice has been put in place in an effort to stop spam.<br style="outline-style:none;outline-width:initial;outline-color:initial;margin:0;padding:0;" /><br style="outline-style:none;outline-width:initial;outline-color:initial;margin:0;padding:0;" /><strong>Please check with your ISP for their outgoing mail server settings (SMTP) and adjust in your email program under email account setup.</strong> Relaying mail through your ISP will not change the look and appearance of email you send. It will simply use your ISPs outgoing mail server to relay your message, which will appear from your email address, etc.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pswebsolutions.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pswebsolutions.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pswebsolutions.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pswebsolutions.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pswebsolutions.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pswebsolutions.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pswebsolutions.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pswebsolutions.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pswebsolutions.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pswebsolutions.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pswebsolutions.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pswebsolutions.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pswebsolutions.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pswebsolutions.wordpress.com/336/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=336&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pswebsolutions.wordpress.com/2009/08/26/i-can-not-send-outgoing-email-error-number-0x800ccc0b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10163caa5b9e88bf95c48c28662b0196?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Push</media:title>
		</media:content>
	</item>
		<item>
		<title>What is APF (Advanced Policy Firewall)? APF Firewall</title>
		<link>http://pswebsolutions.wordpress.com/2009/08/23/what-is-apf-advanced-policy-firewall-apf-firewall/</link>
		<comments>http://pswebsolutions.wordpress.com/2009/08/23/what-is-apf-advanced-policy-firewall-apf-firewall/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 02:18:31 +0000</pubDate>
		<dc:creator>ServerTechs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://servertechs.co.cc/?p=33</guid>
		<description><![CDATA[APF is a policy based iptables firewall system designed for ease of use and configuration. It employs a subset of features to satisfy the veteran Linux user and the novice alike. Packaged in tar.gz format and RPM formats, make APF ideal for deployment in many server environments based on Linux. APF is developed and maintained [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=786&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>APF is a policy based iptables firewall system designed for ease of use and configuration. It employs a subset of features to satisfy the veteran Linux user and the novice alike. Packaged in tar.gz format and RPM formats, make APF ideal for deployment in many server environments based on Linux. APF is developed and maintained by R-fx Networks: R-fx Networks &#8211; Internet Security Solutions &#8211; Projects <span style="font-weight:bold;">» APF</span></p>
<p><span style="color:#003300;"><em><em><strong>Go_GrEen^<span style="color:#00ff00;">ThiNk_GReeN~</span><span style="color:#008000;">LoVE_GreEn -<span style="color:#25b033;"> </span></span></strong><span style="color:#683a55;">Pushkar</span></em></em></span></p>
<p><span style="color:#003300;"> </span></p>
<pre>
<span style="color:#003300;"><em><em><strong><span style="color:#993366;">Go_GrEen^ThiNk_GReeN~LoVE_GreEn</span> -<span style="color:#ff6600;"> </span></strong><span style="color:#ff6600;">Pushkar</span></em></em></span></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pswebsolutions.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pswebsolutions.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pswebsolutions.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pswebsolutions.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pswebsolutions.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pswebsolutions.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pswebsolutions.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pswebsolutions.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pswebsolutions.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pswebsolutions.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pswebsolutions.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pswebsolutions.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pswebsolutions.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pswebsolutions.wordpress.com/786/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=786&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pswebsolutions.wordpress.com/2009/08/23/what-is-apf-advanced-policy-firewall-apf-firewall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10163caa5b9e88bf95c48c28662b0196?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Push</media:title>
		</media:content>
	</item>
		<item>
		<title>Server Load monitoring</title>
		<link>http://pswebsolutions.wordpress.com/2009/08/23/server-load-monitoring/</link>
		<comments>http://pswebsolutions.wordpress.com/2009/08/23/server-load-monitoring/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 02:16:04 +0000</pubDate>
		<dc:creator>ServerTechs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://servertechs.co.cc/?p=31</guid>
		<description><![CDATA[Load monitoring and controlling #top #ps -aufx &#124; grep nobody #ps -aufx &#124; grep pkgacct #ps -aufx &#124; grep mysql ==================== YOU CAN KILL NOBODY PROCESSESS #kill -9 pid #kill -9 $(pgrep -u nobody) #kill -9 `ps -u nobody -o &#8220;pid=&#8221;` #/etc/init.d/restart httpd ====================== EXIM to delete frozen mails #exim -bpr &#124; grep frozen &#124; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=785&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Load monitoring and controlling<br />
<span style="color:#993300;"><strong>#top<br />
#ps -aufx | grep nobody<br />
#ps -aufx | grep pkgacct<br />
#ps -aufx | grep mysql</strong></span><br />
====================<br />
YOU CAN KILL NOBODY PROCESSESS</p>
<p><strong><span style="color:#993300;">#kill -9 pid<br />
#kill -9 $(pgrep -u nobody)<br />
#kill -9 `ps -u nobody -o &#8220;pid=&#8221;`<br />
#/etc/init.d/restart httpd</span></strong><br />
======================<br />
EXIM<br />
to delete frozen mails<br />
<span style="color:#993300;"><strong>#exim -bpr | grep frozen | awk {&#8216;print $3&#8242;} | xargs exim -Mrm</strong></span><br />
=====================<br />
MYSQL:</p>
<p>To kill mysql process found in mysqladmin processlist<br />
<strong><span style="color:#993300;">#mysqladmin kill process id</span></strong><br />
====================<br />
How to Monitor the services that is using up most of the cpu and memory on a server.</p>
<p><span style="color:#993300;"><strong>#ps auxfw|sort -nr|grep -v 0.0</strong></span></p>
<pre><span style="color:#808000;"><em><em><strong>Go_GrEen^ThiNk_GReeN~LoVE_GreEn - </strong>Pushkar</em></em></span></pre>
<p><span style="color:#003300;"><em><em><strong>Go_Gr<span style="color:#008000;">Een^ThiNk_<span style="color:#008080;">GReeN~LoVE_Gre</span>En -<span style="color:#800080;"> </span></span></strong><span style="color:#800080;">Pushkar</span></em></em></span></p>
<p><span style="color:#003300;"> </span></p>
<pre><span style="color:#003300;"><em><em><strong><span style="color:#993366;">
</span></strong><span style="color:#ff6600;"> </span></em></em></span></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pswebsolutions.wordpress.com/785/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pswebsolutions.wordpress.com/785/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pswebsolutions.wordpress.com/785/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pswebsolutions.wordpress.com/785/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pswebsolutions.wordpress.com/785/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pswebsolutions.wordpress.com/785/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pswebsolutions.wordpress.com/785/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pswebsolutions.wordpress.com/785/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pswebsolutions.wordpress.com/785/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pswebsolutions.wordpress.com/785/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pswebsolutions.wordpress.com/785/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pswebsolutions.wordpress.com/785/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pswebsolutions.wordpress.com/785/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pswebsolutions.wordpress.com/785/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=785&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pswebsolutions.wordpress.com/2009/08/23/server-load-monitoring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10163caa5b9e88bf95c48c28662b0196?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Push</media:title>
		</media:content>
	</item>
		<item>
		<title>Basic Commands for Hardware Node(vz-commands)</title>
		<link>http://pswebsolutions.wordpress.com/2009/08/23/basic-commands-for-hardware-nodevz-commands/</link>
		<comments>http://pswebsolutions.wordpress.com/2009/08/23/basic-commands-for-hardware-nodevz-commands/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 02:12:44 +0000</pubDate>
		<dc:creator>ServerTechs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://servertechs.co.cc/?p=29</guid>
		<description><![CDATA[These are the commands that can used while working on a Hardware Node. * To check all the VPS’s hosted on a Node you need the following command: vzlist -a * To start a VPS: vzctl start VPS_ID * To Shutdown or Stop a VPS: vzctl stop VPS_ID * To check the Status of a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=784&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>These are the commands that can used while working on a Hardware Node.</p>
<p><span style="color:#993300;"><strong>* To check all the VPS’s hosted on a Node you need the following command: vzlist -a<br />
* To start a VPS: vzctl start VPS_ID<br />
* To Shutdown or Stop a VPS: vzctl stop VPS_ID<br />
* To check the Status of a VPS: vzctl status VPS_ID<br />
* To stop the VPS Forcefully or Quickly: vzctl stop VPS_ID fast<br />
* To enter a Particular VPS: vzctl enter VPS_ID</strong></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pswebsolutions.wordpress.com/784/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pswebsolutions.wordpress.com/784/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pswebsolutions.wordpress.com/784/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pswebsolutions.wordpress.com/784/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pswebsolutions.wordpress.com/784/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pswebsolutions.wordpress.com/784/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pswebsolutions.wordpress.com/784/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pswebsolutions.wordpress.com/784/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pswebsolutions.wordpress.com/784/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pswebsolutions.wordpress.com/784/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pswebsolutions.wordpress.com/784/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pswebsolutions.wordpress.com/784/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pswebsolutions.wordpress.com/784/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pswebsolutions.wordpress.com/784/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=784&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pswebsolutions.wordpress.com/2009/08/23/basic-commands-for-hardware-nodevz-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10163caa5b9e88bf95c48c28662b0196?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Push</media:title>
		</media:content>
	</item>
		<item>
		<title>#2002 &#8211; The server is not responding (or local MySQL server’s socket is not correctly configured)</title>
		<link>http://pswebsolutions.wordpress.com/2009/08/23/2002-the-server-is-not-responding-or-local-mysql-server%e2%80%99s-socket-is-not-correctly-configured/</link>
		<comments>http://pswebsolutions.wordpress.com/2009/08/23/2002-the-server-is-not-responding-or-local-mysql-server%e2%80%99s-socket-is-not-correctly-configured/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 02:09:55 +0000</pubDate>
		<dc:creator>ServerTechs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://servertechs.co.cc/?p=27</guid>
		<description><![CDATA[Issue : - While accessing PhpMyAdmin getting the following error. ERROR #2002 &#8211; The server is not responding (or local MySQL server’s socket is not correctly configured). Reason :- The mysql socket file is missing from the /tmp directory Fix :- 1. Create a symbolic link from the original mysql socket file to /tmp [root@test [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=783&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Issue : -</strong></p>
<p>While accessing PhpMyAdmin getting the following error.</p>
<p><span style="font-weight:bold;">ERROR<br />
#2002 &#8211; The server is not responding (or local MySQL server’s socket is not correctly configured).</span><br />
<span style="font-weight:bold;"><br />
Reason :-</span></p>
<p>The mysql socket file is missing from the /tmp directory</p>
<p><span style="font-weight:bold;">Fix :-</span></p>
<p>1. Create a symbolic link from the original mysql socket file to /tmp</p>
<p>[root@test ~]<span style="color:#993300;"><strong># ln -s /var/lib/mysql/mysql.sock /tmp</strong></span></p>
<p>OR</p>
<p>2. Restart MySQL service from WHM</p>
<p><strong>WHM Login &gt;&gt;</strong><span style="color:#993300;"><strong> Main &gt;&gt; Restart Services &gt;&gt;SQL Server (MySQL)</strong></span></p>
<p>OR</p>
<p>3. Edit the PhpMyAdmin configuration file to use the original MySQL socket file.</p>
<p><span style="color:#993300;"><strong>#  vi /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php</strong></span></p>
<p>Make sure, the correct mysql socket file is mentioned there.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
<span style="color:#993300;"><strong>$cfg['Servers'][$i]['socket'] = ‘/var/lib/mysql/mysql.sock’;<br />
$cfg['Servers'][$i]['connect_type'] = ’socket’;</strong></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pswebsolutions.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pswebsolutions.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pswebsolutions.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pswebsolutions.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pswebsolutions.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pswebsolutions.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pswebsolutions.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pswebsolutions.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pswebsolutions.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pswebsolutions.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pswebsolutions.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pswebsolutions.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pswebsolutions.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pswebsolutions.wordpress.com/783/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pswebsolutions.wordpress.com&amp;blog=8642891&amp;post=783&amp;subd=pswebsolutions&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pswebsolutions.wordpress.com/2009/08/23/2002-the-server-is-not-responding-or-local-mysql-server%e2%80%99s-socket-is-not-correctly-configured/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10163caa5b9e88bf95c48c28662b0196?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Push</media:title>
		</media:content>
	</item>
	</channel>
</rss>
