<?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>InstaCarma Blog &#187; Quick fixes</title>
	<atom:link href="http://www.instacarma.com/blog/category/technical/fixes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.instacarma.com/blog</link>
	<description>Information Resource for Web Hosting Technical Support and Server Management</description>
	<lastBuildDate>Tue, 24 May 2011 10:01:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>550 Requested action not taken: mailbox unavailable or not local</title>
		<link>http://www.instacarma.com/blog/technical/550-requested-action-not-taken-mailbox-unavailable-or-not-local/</link>
		<comments>http://www.instacarma.com/blog/technical/550-requested-action-not-taken-mailbox-unavailable-or-not-local/#comments</comments>
		<pubDate>Mon, 10 May 2010 18:09:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[pleask]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1203</guid>
		<description><![CDATA[Filed under: email, mail, pleask, windows Issue : Following error appears in the bounce back message while trying to send out an email : 550 Requested action not taken: mailbox unavailable or not local Solution : This issue can be resolved in the following way : 1) Log in to the windows server with RDP( [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/email/'>email</a>, <a href='http://www.instacarma.com/blog/tag/mail/'>mail</a>, <a href='http://www.instacarma.com/blog/tag/pleask/'>pleask</a>, <a href='http://www.instacarma.com/blog/tag/windows/'>windows</a></p>
<p><strong>Issue : </strong></p>
<p>Following error appears in the bounce back message while  trying to send out an email :</p>
<p><em>550 Requested action not taken: mailbox unavailable or not local</em></p>
<p><strong>Solution : </strong></p>
<p>This issue can be resolved in the following way : </p>
<p>1) Log in to the windows server with RDP( Remote desktop)</p>
<p>2) Start-> Run -> cmd</p>
<p>3) cd %plesk_bin%</p>
<p>4) mchk.exe &#8211;domain &#8211;domain-name=</p>
<p><strong>mchk.exe</strong> is an utility which allows you to restore mail server configuration based on the data stored in the Plesk database.</p>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/550-requested-action-not-taken-mailbox-unavailable-or-not-local/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/550-requested-action-not-taken-mailbox-unavailable-or-not-local/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error in Exponent CMS installation : File Uploads Enabled : Failed</title>
		<link>http://www.instacarma.com/blog/technical/error-in-exponent-cms-installation/</link>
		<comments>http://www.instacarma.com/blog/technical/error-in-exponent-cms-installation/#comments</comments>
		<pubDate>Wed, 05 May 2010 19:41:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1196</guid>
		<description><![CDATA[Filed under: CMS, install, upload Issue : While performing the System Requirement Check for the above, following error occurred : File Uploads Enabled : Failed However, in the server file_uploads was On. Fix : To fix this issue, edit the file install/include/sanity.php Replace the following line: $global_i18n[‘check_upload’]=>_sanity_checkTemp(ini_get(‘upload_tmp_dir’)), with $global_i18n[‘check_upload’]=>_sanity_checkTemp(BASE.’tmp’),]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/cms/'>CMS</a>, <a href='http://www.instacarma.com/blog/tag/install/'>install</a>, <a href='http://www.instacarma.com/blog/tag/upload/'>upload</a></p>
<p><strong>Issue : </strong></p>
<p>While performing the System Requirement Check for the above, following error occurred : </p>
<p><em>File Uploads Enabled : Failed</em></p>
<p>However, in the server<em> file_uploads</em> was <em>On</em>.</p>
<p><strong>Fix : </strong></p>
<p>To fix this issue, edit the  file <em>install/include/sanity.php</em></p>
<p>Replace the following line:<br />
<em> $global_i18n[‘check_upload’]=>_sanity_checkTemp(ini_get(‘upload_tmp_dir’)),</em></p>
<p>with<br />
<em>$global_i18n[‘check_upload’]=>_sanity_checkTemp(BASE.’tmp’),</em></p>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/error-in-exponent-cms-installation/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/error-in-exponent-cms-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Last stats WARNING in Nagios</title>
		<link>http://www.instacarma.com/blog/technical/last-stats-warning-in-nagios/</link>
		<comments>http://www.instacarma.com/blog/technical/last-stats-warning-in-nagios/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 19:00:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[stats]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1190</guid>
		<description><![CDATA[Filed under: nagios, stats Issue : Nagios was set up for the server recently and the following warning shows up regularly : =================================================== Server Last Stats WARNING 03-10-2010 19:25:46 0d 7h 17m 53s 3/3 WARNING on /var/cpanel/lastrun/ &#8211; Last updated 161545 seconds ago. =================================================== Solution : First, try running the script /scripts/runstatsonce If that doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/nagios/'>nagios</a>, <a href='http://www.instacarma.com/blog/tag/stats/'>stats</a></p>
<p><strong>Issue : </strong></p>
<p>Nagios was set up for the server recently and the following warning shows up regularly : </p>
<p>===================================================<br />
<em>Server  Last Stats  WARNING       03-10-2010 19:25:46     0d 7h 17m 53s   3/3<br />
WARNING on /var/cpanel/lastrun/ &#8211; Last updated 161545 seconds ago.</em><br />
===================================================</p>
<p><strong>Solution : </strong></p>
<p>First, try running the script <em>/scripts/runstatsonce</em><br />
If that doesn&#8217;t work then go to <em>/var/cpanel/lastrun/</em> &#038; touch the files in the folder.</p>
<blockquote><p>#cd /var/cpanel/lastrun/<br />
#touch *</p></blockquote>
<p>If this does not resolve the issue either then kill <em>cpanellogd</em> &#038; restart it.</p>
<blockquote><p>#pkill cpanellogd<br />
#/usr/local/cpanel/cpanellogd</p></blockquote>
<p>This should fix the issue!</p>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/last-stats-warning-in-nagios/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/last-stats-warning-in-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SpamAssassin : WHM ACL Options : Reject mails with spam score at SMTP time</title>
		<link>http://www.instacarma.com/blog/technical/spamassassin-how-to-change-the-value-of-spam-score-for-rejecting-the-mails/</link>
		<comments>http://www.instacarma.com/blog/technical/spamassassin-how-to-change-the-value-of-spam-score-for-rejecting-the-mails/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 15:46:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[ACL]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[spamassassin]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1186</guid>
		<description><![CDATA[Filed under: ACL, email, exim, mail, SMTP, spam, spamassassin, WHM Issue : It seems that by default, it is set to reject mails with a spam score of more than 20 at SMTP time. How to change the value of spam score for rejecting the mails at SMTP time ? Solution : You can do [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/acl/'>ACL</a>, <a href='http://www.instacarma.com/blog/tag/email/'>email</a>, <a href='http://www.instacarma.com/blog/tag/exim/'>exim</a>, <a href='http://www.instacarma.com/blog/tag/mail/'>mail</a>, <a href='http://www.instacarma.com/blog/tag/smtp/'>SMTP</a>, <a href='http://www.instacarma.com/blog/tag/spam/'>spam</a>, <a href='http://www.instacarma.com/blog/tag/spamassassin/'>spamassassin</a>, <a href='http://www.instacarma.com/blog/tag/whm/'>WHM</a></p>
<p><strong>Issue : </strong></p>
<p>It seems that by default, it is set to reject mails with a spam score of more than 20 at SMTP time. How to change the value of spam score for rejecting the mails at SMTP time ?</p>
<p><strong>Solution : </strong></p>
<p>You can do that by doing the following : </p>
<p>1. Go to WHM >> Main >> Service Configuration >> Exim Configuration Editor<br />
2. Look for the section &#8216;ACL Options&#8217; .<br />
3. The first parameter under that deals with the spam score setting at SMTP time. De-select the check box corresponding to that.<br />
4. When you de-select the check box, it will give you the other available options. Check the box corresponding to the desired value.<br />
5. Click on &#8216;Save&#8217; at the bottom to save the settings.</p>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/spamassassin-how-to-change-the-value-of-spam-score-for-rejecting-the-mails/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/spamassassin-how-to-change-the-value-of-spam-score-for-rejecting-the-mails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change in hostname causing redirection on secure access</title>
		<link>http://www.instacarma.com/blog/technical/change-in-hostname-causing-redirection-on-secure-access/</link>
		<comments>http://www.instacarma.com/blog/technical/change-in-hostname-causing-redirection-on-secure-access/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 18:58:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1184</guid>
		<description><![CDATA[Filed under: SSL, WHM Issue : The server hostname was changed. Ever since that, secure access such as http://servername.new:2087 redirects to https://servername.old:2087 Fix : This happens when the SSL certificate has not been reset for the services. Go to WHM >> Manage Service SSL Certificates. Re-issue all the service certificates. This should resolve the issue!]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/ssl/'>SSL</a>, <a href='http://www.instacarma.com/blog/tag/whm/'>WHM</a></p>
<p><strong>Issue : </strong></p>
<p>The server hostname was changed. Ever since that, secure access such as http://servername.new:2087 redirects to https://servername.old:2087</p>
<p><strong>Fix : </strong></p>
<p>This happens when the SSL certificate has not been reset for the services.<br />
Go to WHM >> Manage Service SSL Certificates.<br />
Re-issue all the service certificates.</p>
<p>This should resolve the issue!</p>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/change-in-hostname-causing-redirection-on-secure-access/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/change-in-hostname-causing-redirection-on-secure-access/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to enable SuPHP ?</title>
		<link>http://www.instacarma.com/blog/technical/how-to-enable-suphp/</link>
		<comments>http://www.instacarma.com/blog/technical/how-to-enable-suphp/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 20:20:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[easyapache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[suexec]]></category>
		<category><![CDATA[suphp]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1182</guid>
		<description><![CDATA[Filed under: apache, cPanel, easyapache, PHP, suexec, suphp, WHM Issue : How to enable SuPHP ? Solution : Login to WHM. Go to &#8220;Service Configuration >> Apache Configuration >> Configure PHP and Suexec&#8221; and check if SuPHP is available in the drop down menu. If it is available then select it and save the configuration [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/apache/'>apache</a>, <a href='http://www.instacarma.com/blog/tag/cpanel/'>cPanel</a>, <a href='http://www.instacarma.com/blog/tag/easyapache/'>easyapache</a>, <a href='http://www.instacarma.com/blog/tag/php/'>PHP</a>, <a href='http://www.instacarma.com/blog/tag/suexec/'>suexec</a>, <a href='http://www.instacarma.com/blog/tag/suphp/'>suphp</a>, <a href='http://www.instacarma.com/blog/tag/whm/'>WHM</a></p>
<p><strong>Issue :</strong></p>
<p>How to enable SuPHP ?</p>
<p><strong>Solution : </strong></p>
<p>Login to WHM.</p>
<p>Go to  &#8220;Service Configuration >> Apache Configuration >> Configure PHP and Suexec&#8221; and check if SuPHP is available in the drop down menu. If it is available then select it and save the configuration after a dry run.<br />
SuExec should also be available in the same drop down with an on/off option. </p>
<p>If SuPHP is not available then you need to run EasyApache via &#8220;WHM >> Software >> EasyApache (Apache Update)&#8221; and select SuPHP in the available options. You can also run EasyApache via console by using the following cPanel scipt : </p>
<blockquote><p>
/scripts/easyapache</p></blockquote>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/how-to-enable-suphp/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/how-to-enable-suphp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change the default email settings ?</title>
		<link>http://www.instacarma.com/blog/technical/how-to-change-the-default-email-settings/</link>
		<comments>http://www.instacarma.com/blog/technical/how-to-change-the-default-email-settings/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 18:04:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1173</guid>
		<description><![CDATA[Filed under: email, mail, WHM Issue : Whenever a new account is created, the server sends out an email notification. Where can this setting be accessed and modified? Fix : Just go to WHM >> Basic cPanel/WHM Setup >> Server Contact Email Address. You can make the required changes there.]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/email/'>email</a>, <a href='http://www.instacarma.com/blog/tag/mail/'>mail</a>, <a href='http://www.instacarma.com/blog/tag/whm/'>WHM</a></p>
<p><strong>Issue : </strong></p>
<p>Whenever a new account is created, the server sends out an email notification. Where can this setting be accessed and modified?</p>
<p><strong>Fix : </strong></p>
<p>Just go to WHM >> Basic cPanel/WHM Setup >> Server Contact Email Address.<br />
You can make the required changes there.</p>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/how-to-change-the-default-email-settings/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/how-to-change-the-default-email-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Turn off bandwidth monitoring</title>
		<link>http://www.instacarma.com/blog/technical/turn-off-bandwidth-monitoring/</link>
		<comments>http://www.instacarma.com/blog/technical/turn-off-bandwidth-monitoring/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 19:33:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1171</guid>
		<description><![CDATA[Filed under: bandwidth, cPanel, WHM Issue : How to turn off the bandwidth monitoring module in cPanel ? Solution : Go to WHM >> Service Configuration >> Service Manager. Look for &#8216;cPBandwd&#8217;. Make sure that the check box besides that is unchecked. Save the settings and that should be it !]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/bandwidth/'>bandwidth</a>, <a href='http://www.instacarma.com/blog/tag/cpanel/'>cPanel</a>, <a href='http://www.instacarma.com/blog/tag/whm/'>WHM</a></p>
<p><strong>Issue : </strong></p>
<p>How to turn off the bandwidth monitoring module in cPanel ?</p>
<p><strong>Solution : </strong></p>
<p>Go to WHM >> Service Configuration >> Service Manager.<br />
Look for &#8216;cPBandwd&#8217;. Make sure that the check box besides that is unchecked.<br />
Save the settings and that should be it !</p>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/turn-off-bandwidth-monitoring/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/turn-off-bandwidth-monitoring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a large file for testing purpose ?</title>
		<link>http://www.instacarma.com/blog/technical/how-to-create-a-large-file-for-testing-purpose/</link>
		<comments>http://www.instacarma.com/blog/technical/how-to-create-a-large-file-for-testing-purpose/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 18:14:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1167</guid>
		<description><![CDATA[Filed under: ssh Issue : How can a large file, say 1GB, for some testing purposes be created? Solution : Use the following command : dd if=/dev/zero of= filename bs=1024 count=1024number of 0&#8242;s Replace &#8216;filename&#8217; with the actual filename. Replace &#8216;number of 0&#8242;s&#8217; with the required number of 0&#8242;s For example, One &#8217;0&#8242; for 10MB [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/ssh/'>ssh</a></p>
<p><strong>Issue : </strong></p>
<p>How can a large file, say 1GB, for some testing purposes be created? </p>
<p><strong>Solution : </strong></p>
<p>Use the following command : </p>
<p>dd if=/dev/zero of= <em>filename</em> bs=1024 count=1024<em>number of 0&#8242;s</em></p>
<p>Replace &#8216;filename&#8217; with the actual filename.<br />
Replace &#8216;number of 0&#8242;s&#8217; with the required number of 0&#8242;s</p>
<p>For example,<br />
One &#8217;0&#8242; for 10MB , two for 100 MB and so on..</p>
<p>For the above scenario (file of size 1GB), use the following command : </p>
<blockquote><p>
dd if=/dev/zero of=file.test bs=1024 count=1024000</p></blockquote>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/how-to-create-a-large-file-for-testing-purpose/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/how-to-create-a-large-file-for-testing-purpose/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find the number of user accounts via shell ?</title>
		<link>http://www.instacarma.com/blog/technical/how-to-find-the-number-of-user-accounts-via-shell/</link>
		<comments>http://www.instacarma.com/blog/technical/how-to-find-the-number-of-user-accounts-via-shell/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 17:37:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[account]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1163</guid>
		<description><![CDATA[Filed under: account, ssh Issue : There is no control panel installed on the server. So, how can the total number of user accounts on the system be determined? Solution: Use the following command to find the total number of accounts on the system : cat /etc/passwd &#124; wc -l Note : This will also [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/account/'>account</a>, <a href='http://www.instacarma.com/blog/tag/ssh/'>ssh</a></p>
<p><strong>Issue : </strong></p>
<p>There is no control panel installed on the server. So, how can the total number of user accounts on the system be determined?<br />
<strong><br />
Solution: </strong></p>
<p>Use the following command to find the<strong> total number of accounts</strong> on the system : </p>
<blockquote><p>cat /etc/passwd | wc -l</p></blockquote>
<p>Note : This will also include system accounts like root, mail etc.</p>
<p>To <strong>list all the accounts</strong> on the system then use the following :</p>
<blockquote><p>cat /etc/passwd | cut -d&#8221;:&#8221; -f1</p></blockquote>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/how-to-find-the-number-of-user-accounts-via-shell/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/how-to-find-the-number-of-user-accounts-via-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problem with yum update</title>
		<link>http://www.instacarma.com/blog/technical/problem-with-yum-update/</link>
		<comments>http://www.instacarma.com/blog/technical/problem-with-yum-update/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 14:49:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1161</guid>
		<description><![CDATA[Filed under: update, yum Issue : Following is the error that occurred : Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile addons &#124; 951 B 00:00 base &#124; 2.1 kB 00:00 extras &#124; 1.1 kB 00:00 updates &#124; 1.9 kB 00:00 Not using downloaded repomd.xml because it is older than what we have: Current [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/update/'>update</a>, <a href='http://www.instacarma.com/blog/tag/yum/'>yum</a></p>
<p><strong>Issue : </strong></p>
<p>Following is the error that occurred : </p>
<blockquote><p>Loaded plugins: fastestmirror<br />
Loading mirror speeds from cached hostfile<br />
addons | 951 B 00:00<br />
base | 2.1 kB 00:00<br />
extras | 1.1 kB 00:00<br />
updates | 1.9 kB 00:00<br />
Not using downloaded repomd.xml because it is older than what we have:<br />
Current : Tue Feb 9 08:57:23 2010<br />
Downloaded: Tue Jan 26 09:27:44 2010<br />
Excluding Packages in global exclude list<br />
Finished<br />
Setting up Update Process<br />
No Packages marked for Update</p></blockquote>
<p><strong>Solution : </strong></p>
<p>Run the following two commands : </p>
<blockquote><p>yum clean all<br />
yum check-update</p></blockquote>
<p>That should fix the issue. </p>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/problem-with-yum-update/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/problem-with-yum-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to hide DNS controls from resellers/users</title>
		<link>http://www.instacarma.com/blog/technical/how-to-hide-dns-controls-from-resellersusers/</link>
		<comments>http://www.instacarma.com/blog/technical/how-to-hide-dns-controls-from-resellersusers/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 19:47:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[featurelist]]></category>
		<category><![CDATA[Package]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1158</guid>
		<description><![CDATA[Filed under: featurelist, Package, WHM Issue : The server is mainly used for serving webpages and FTP. Certain things like DNS functions and email are not required as they are being handled externally. How can these be hidden from resellers/users? Solution : DNS, email or any other functionality can be handled through &#8216;Feature Lists&#8217; in [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/featurelist/'>featurelist</a>, <a href='http://www.instacarma.com/blog/tag/package/'>Package</a>, <a href='http://www.instacarma.com/blog/tag/whm/'>WHM</a></p>
<p><strong>Issue : </strong></p>
<p>The server is mainly used for serving webpages and FTP. Certain things like DNS functions and email are not required as they are being handled externally. How can these be hidden from resellers/users?</p>
<p><strong>Solution : </strong></p>
<p>DNS, email or any other functionality can be handled through &#8216;Feature Lists&#8217; in WHM.  Just go to WHM >> Feature Manager. Edit/create a feature list and enable/disable functions as required. Assign this &#8216;feature list&#8217; to the particular &#8216;package&#8217; which is assigned to the accounts.</p>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/how-to-hide-dns-controls-from-resellersusers/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/how-to-hide-dns-controls-from-resellersusers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>/bin/sh: /usr/local/bandmin/bandmin: is a directory</title>
		<link>http://www.instacarma.com/blog/technical/binsh-usrlocalbandminbandmin-is-a-directory/</link>
		<comments>http://www.instacarma.com/blog/technical/binsh-usrlocalbandminbandmin-is-a-directory/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 19:04:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[bandmin]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[cronjob]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1155</guid>
		<description><![CDATA[Filed under: bandmin, cron, cronjob Issue : The cronjob results in the following error : /bin/sh: /usr/local/bandmin/bandmin: is a directory Solution : This happens when the bandmin directory simply contains another bandmin directory instead of an executable script of the same name. Run the following script and see if the issue persists : # /scripts/bandminup [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/bandmin/'>bandmin</a>, <a href='http://www.instacarma.com/blog/tag/cron/'>cron</a>, <a href='http://www.instacarma.com/blog/tag/cronjob/'>cronjob</a></p>
<p><strong>Issue : </strong></p>
<p>The cronjob results in the following error :<br />
<em>/bin/sh: /usr/local/bandmin/bandmin: is a directory</em></p>
<p><strong>Solution : </strong></p>
<p>This happens when the bandmin directory simply contains another bandmin directory instead of an executable script of the same name.</p>
<p>Run the following script and see if the issue persists :</p>
<blockquote><p># /scripts/bandminup &#8211;force</p></blockquote>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/binsh-usrlocalbandminbandmin-is-a-directory/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/binsh-usrlocalbandminbandmin-is-a-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to block emails from a specific address using Exim</title>
		<link>http://www.instacarma.com/blog/technical/how-to-block-emails-from-a-specific-address-using-exim/</link>
		<comments>http://www.instacarma.com/blog/technical/how-to-block-emails-from-a-specific-address-using-exim/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 15:20:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[block]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1144</guid>
		<description><![CDATA[Filed under: block, email, exim, mail, WHM Issue : How to block emails from a specific address on a cPanel/WHM server using Exim ? Solution : This is fairly easy to achieve with Exim. First you&#8217;ll need to find the system filter file for Exim. This can be found out through WHM >> Main >> [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/block/'>block</a>, <a href='http://www.instacarma.com/blog/tag/email/'>email</a>, <a href='http://www.instacarma.com/blog/tag/exim/'>exim</a>, <a href='http://www.instacarma.com/blog/tag/mail/'>mail</a>, <a href='http://www.instacarma.com/blog/tag/whm/'>WHM</a></p>
<p><strong>Issue : </strong></p>
<p>How to block emails from a specific address on a cPanel/WHM server using Exim ?</p>
<p><strong>Solution : </strong></p>
<p>This is fairly easy to achieve with Exim.<br />
First you&#8217;ll need to find the system filter file for Exim. This can be found out through WHM >> Main >> Service Configuration >> Exim Configuration Editor.<br />
Towards the middle of the page, under the section &#8216;Filters&#8217; , you &#8216;ll find the path to the file.<br />
Open that file via SSH using your favorite editor and add the following to it : </p>
<blockquote><p>if first_delivery<br />
and ( (&#8220;$h_from:&#8221; contains &#8220;emailtoblock@domainname.com&#8221;)<br />
)<br />
then fail<br />
endif</p></blockquote>
<p>If you would like a copy of the email to be sent to you after the message fails, use the following code :</p>
<blockquote><p>if first_delivery<br />
and ( (&#8220;$h_from:&#8221; contains &#8220;emailtoblock@domainname.com&#8221;)<br />
)<br />
then<br />
unseen deliver &#8220;youremail@yourdomainname.com&#8221;<br />
fail<br />
endif</p></blockquote>
<p>Make sure that you substitute the correct email addresses in the above code.</p>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/how-to-block-emails-from-a-specific-address-using-exim/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/how-to-block-emails-from-a-specific-address-using-exim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Not able to login to FTP accounts using root password</title>
		<link>http://www.instacarma.com/blog/technical/not-able-to-login-to-ftp-accounts-using-root-password/</link>
		<comments>http://www.instacarma.com/blog/technical/not-able-to-login-to-ftp-accounts-using-root-password/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 14:49:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1147</guid>
		<description><![CDATA[Filed under: FTP, password, root, WHM Issue : Was able to login to all FTP accounts using the root password earlier but now it doesn&#8217;t seem to work. Where to check that? Fix : Go to WHM >> Main >> Service Configuration >> FTP Server Configuration. At the bottom of the page, you&#8217;ll find an [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/ftp/'>FTP</a>, <a href='http://www.instacarma.com/blog/tag/password/'>password</a>, <a href='http://www.instacarma.com/blog/tag/root/'>root</a>, <a href='http://www.instacarma.com/blog/tag/whm/'>WHM</a></p>
<p><strong>Issue : </strong></p>
<p>Was able to login to all FTP accounts using the root password earlier but now it doesn&#8217;t seem to work. Where to check that?</p>
<p><strong>Fix : </strong></p>
<p>Go to WHM >> Main >> Service Configuration >> FTP Server Configuration.<br />
At the bottom of the page, you&#8217;ll find an option as &#8216;Allow Logins with Root Password&#8217;<br />
Make sure that it is set to &#8216;Yes&#8217; and save the settings.</p>
<p>This should resolve the issue.</p>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/not-able-to-login-to-ftp-accounts-using-root-password/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/not-able-to-login-to-ftp-accounts-using-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

