<?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>SupportSages &#187; cPanel</title>
	<atom:link href="http://www.supportsages.com/blog/tag/cpanel-control-panel/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.supportsages.com/blog</link>
	<description>Technical Support and Server Management : Musings in the fox hole.</description>
	<lastBuildDate>Fri, 16 Jul 2010 02:47:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Prevent your mail/IP from getting marked as SPAM/Blacklisted, A few TIPS!</title>
		<link>http://www.supportsages.com/blog/2010/07/prevent-your-mailip-from-getting-marked-as-spamblacklisted-a-few-tips/</link>
		<comments>http://www.supportsages.com/blog/2010/07/prevent-your-mailip-from-getting-marked-as-spamblacklisted-a-few-tips/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 02:47:40 +0000</pubDate>
		<dc:creator>Fabian</dc:creator>
				<category><![CDATA[Howtos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Webmail]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[DKIM]]></category>
		<category><![CDATA[dkim cpanel]]></category>
		<category><![CDATA[DomainKeys]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[SenderID]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[SPF]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=1031</guid>
		<description><![CDATA["<strong>SPAM</strong>"! A word familiar to all Netizens.

Emails plays a major role in today's business, one must be keen to preserve the authenticity of mails they sent to the users and fail to do so may result in getting your mail server IP blacklisted and mails ends-up in users junk folder and they die!

This post is not a perfect guide to prevent you from getting blacklisted by the spamcops, but a few tips that could save your "Time" and "Reputation".

1) All email is filtered against published blacklists of spam servers. Check whether your mailserver IP is already blacklisted : http://www.mxtoolbox.com/. If ...]]></description>
			<content:encoded><![CDATA[<p>&#8220;<strong>SPAM</strong>&#8220;! A word familiar to all Netizens.</p>
<p>Emails plays a major role in today&#8217;s business, one must be keen to preserve the authenticity of mails they sent to the users and fail to do so may result in getting your mail server IP blacklisted and mails ends-up in users junk folder and they die!</p>
<p>This post is not a perfect guide to prevent you from getting blacklisted by the spamcops, but a few tips that could save your &#8220;Time&#8221; and &#8220;Reputation&#8221;.</p>
<p>1) All email is filtered against published blacklists of spam servers. Check whether your mailserver IP is already blacklisted : http://www.mxtoolbox.com/. If listed, take necessary actions to remove it. You can temporarily switch the mail server IP to get the mails moving until your regular IP is released.</p>
<p>2) All mails will be filtered based on certain rules. It looks for senders email address, mail subject line and words on the message content. Avoid using blank subject line and using common spammers words like &#8220;offer, discount, sale, free etc&#8230; There are a lot more..</p>
<p>3) Maintain a regular time intervals while sending mails to a particular sender. This could be setup on exim configuration file. (Needs admin privileges)</p>
<p>4) <strong>Enable SPF</strong>:<br />
Sender Policy Framework (SPF), is an e-mail validation system designed to prevent e-mail spam by addressing a common vulnerability, source address spoofing. SPF allows administrators to specify which hosts are allowed to send e-mail from a given domain by creating a specific DNS SPF record in the public DNS for that domain. Mail exchangers then use the DNS to check that mail from a given domain is being sent by a host sanctioned by that domain&#8217;s administrators.</p>
<p>If SPF record is enabled for a domain, spammers and phishers are less likely to forge e-mails pretending to be from that domain. Spam filters now check for SPF records and hence eliminate the chance of forged mails, spams. Hence an SPF protected domain is less attractive to spammers and phishers and is less likely to be blacklisted by spam filters and ligitimate mails will go through.</p>
<p>SPF keeps the detail of the machine which is only authorized to send mails for that particular domain. This is done by adding additional a TXT record to their existing DNS records. Mail receivers that checks for SPF records check the domain DNS and finds whether the server is allowed to send mails for that domain.</p>
<p><span id="more-1031"></span></p>
<p>The key issue in SPF is the specification for the new DNS information that domains set and receivers use. Eg is :</p>
<p>example.com. IN SPF &#8220;v=spf1 a mx -all&#8221;</p>
<p>&#8220;v=&#8221; defines the version of SPF used. &#8220;v=&#8221; defines the version of SPF used. The following words provide mechanisms to use to determine if a domain is eligible to send mail. The &#8220;a&#8221; and &#8220;mx&#8221; specify the systems permitted to send messages for the given domain. The &#8220;-all&#8221; at the end specifies that, if the previous mechanisms did not match, the message should be rejected.</p>
<p>On a cPanel server, one can easily enable SPF records.</p>
<p>Login to cPanel account for that particular domain ==&gt; Email Authentication ==&gt; Scroll down to SPF section ==&gt; and Click on Enable.</p>
<p><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/07/spf_disabled.jpg" class="thickbox no_icon" rel="gallery-1031" title="spf_disabled"><img class="aligncenter size-medium wp-image-1033" title="spf_disabled" src="http://www.supportsages.com/blog/wp-content/uploads/2010/07/spf_disabled-260x300.jpg" alt="" width="260" height="300" /></a></p>
<p>Enable SPF :</p>
<p><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/07/spf_enabled.jpg" class="thickbox no_icon" rel="gallery-1031" title="spf_enabled"><img class="aligncenter size-medium wp-image-1034" title="spf_enabled" src="http://www.supportsages.com/blog/wp-content/uploads/2010/07/spf_enabled-300x90.jpg" alt="" width="300" height="90" /></a></p>
<p>SPF record on Domain DNS.</p>
<p><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/07/spf_dns.jpg" class="thickbox no_icon" rel="gallery-1031" title="spf_dns"><img class="aligncenter size-medium wp-image-1035" title="spf_dns" src="http://www.supportsages.com/blog/wp-content/uploads/2010/07/spf_dns-300x12.jpg" alt="" width="300" height="12" /></a></p>
<p>5) <strong>Enable SenderID:</strong></p>
<p>SenderID is also an anti-spoofing method to save emails from Junk. SenderID is heavily based on SPF with a few additions. Like in SPF, DNS entries are used on the domain DNS to ensure the authenticity of emal. But they differ on what rules they apply to what fields contained in the message header.</p>
<p>How SenderID works:</p>
<ul>
<li>Sender sends an e-mail to Receiver.</li>
<li>Receiver’s inbound e-mail server receives e-mail and calls its Sender ID Framework.</li>
<li>The Sender ID Framework looks up the SPF record of the domain that Sender is using for sending the mail.</li>
<li>The receiving Mail Transfer Agent (MTA) determines if the outbound Mail Server IP address matches IP addresses that are authorized to send mail for the user</li>
</ul>
<p>DNS entry for SenderID enabled domain looks like,</p>
<p style="text-align: center;"><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/07/senderid.jpg" class="thickbox no_icon" rel="gallery-1031" title="senderid"><img class="aligncenter size-full wp-image-1090" title="senderid" src="http://www.supportsages.com/blog/wp-content/uploads/2010/07/senderid.jpg" alt="" width="500" height="18" /></a></p>
<p>You can Generate SenderID from here : <a  href="http://www.microsoft.com/mscorp/safety/content/technologies/senderid/wizard/" target="_blank">http://www.microsoft.com/mscorp/safety/content/technologies/senderid/wizard/</a></p>
<p>6) <strong>Enable Domain Keys:</strong></p>
<p>DomainKeys is the branded name created by Yahoo. It has been introduced by Yahoo to fight against spams. DomainKeys is a PGP-like (Pretty Good Privacy) protocol for validating and authenticating an email. This system includes the creation of a public and private key. You keep your private key private and give your public key to your trusties. We encrypt data with our private key and users can decrypt messages with our public key.  This prevents others from seeing our data. Domain Keys takes this idea one step further. Instead of encrypting the email, it encrypts the email headers and creates a hash value from that encryption. The hash value is send/placed in the email header. When a site receives an email, it locates the public key which is located in the DNS server for the user listed in the From: line of the email and encrypts the email once again to compare the hash value.  If the hash values match after the second encryption test, the email passes validation.</p>
<p>DomainKeys is an system that allows for incoming mail to be checked against the server it was sent from to verify that the mail has not been modified and thereby ensures that messages are actually coming from the listed sender and allows abusive messages to be tracked with more ease.</p>
<p>Yahoo check for domankeys  on a domain if they are requested to whitelist the IP. Below are the steps to enable DomanKeys on a cPanel server.</p>
<p><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/07/spfndkenabled.jpg" class="thickbox no_icon" rel="gallery-1031" title="spfndkenabled"><img class="aligncenter size-medium wp-image-1036" title="spfndkenabled" src="http://www.supportsages.com/blog/wp-content/uploads/2010/07/spfndkenabled-300x113.jpg" alt="" width="300" height="113" /></a></p>
<p>DNS entries for DomainKeys and SPF</p>
<p><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/07/domain_keysnspf.jpg" class="thickbox no_icon" rel="gallery-1031" title="domain_keysnspf"><img class="aligncenter size-large wp-image-1039" title="domain_keysnspf" src="http://www.supportsages.com/blog/wp-content/uploads/2010/07/domain_keysnspf-1024x85.jpg" alt="" width="491" height="41" /></a></p>
<p>Once DomainKeys are enabled you can check whether it is setup correctly by sending a test mail addresses set up to  dk@dk.crynwr.com</p>
<p>7) <strong>Enable DKIM</strong> :</p>
<p>DKIM is the result of combining Yahoo’s DomainKeys technology with Identified Internet Mail which was developed at Cisco which is another methodology of PGP-like technique.<br />
DomainKeys and DKIM sounds similar but there are different. DKIM was created to provide a more robust solution that would survive more types of modification to which messages are frequently subjected. DomainKeys Identified Mail (DKIM) lets an organization take responsibility for a message while it is in transit.  The organization is a handler of the message, either as its originator or as an intermediary. Their reputation is the basis for evaluating whether to trust the message for delivery. Technically DKIM provides a method for validating a domain name identity that is associated with a message through cryptographic authentication.</p>
<p>DKIM is not available as a ready-made option in cPanel server till now. If you are running an VPS and know basic administration, you can get it enabled. Login to the server via SSH and check if if exim is compiled with DKIM support enabled.</p>
<pre class="brush: bash;">﻿root@server # /usr/sbin/exim -dd 2&gt;&amp;1 | grep Experimental_DKIM

Support for: crypteq iconv() IPv6 PAM Perl OpenSSL Content_Scanning Old_Demime Experimental_SPF Experimental_SRS
Experimental_DomainKeys Experimental_DKIM</pre>
<p>Generate the SSL keys</p>
<pre class="brush: bash;">cd /usr/local/cpanel/etc/exim</pre>
<pre class="brush: bash;">openssl genrsa -out dkim.key 1024</pre>
<pre class="brush: bash;">openssl rsa -in dkim.key -out dkim.public -pubout -outform PEM</pre>
<p>You will find two keys, dkim.key &amp; dkim.public</p>
<p>Open dkim.public and copy the contents excluding the –Begin– and –End– section. This is your DKIM key.  Now open exim configuration file and append the below entries under the section ‘remote_smtp’</p>
<p>Sample file:<br />
vi /etc/exim.conf</p>
<pre class="brush: plain;">remote_smtp
driver = smtp
dkim_domain=your_domain_name.com
dkim_selector=mail
dkim_private_key=/usr/local/cpanel/etc/exim/dkim.key #path to the dkim.key key.
interface = ${if exists {/etc/mailips}{${lookup{$sender_address_domain}lsearch*{/etc/mailips}{$value}{}}}{}}
helo_data = ${if exists {/etc/mailhelo}{${lookup{$sender_address_domain}lsearch*{/etc/mailhelo}{$value}{$primary_hostname}}}
{$primary_hostname}}</pre>
<p>Now on WHM, open DNS editor for the particular domain and add the TXT entry with DKIM key like below.</p>
<pre class="brush: plain;">mail._domainkey.example.com. IN TXT &quot;v=DKIM1;g=*;k=rsa; p=GIGmGA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDv4PSEG9PcxlI2tRojAUQ9hpRQ0Zj/XG4SK08/DrhG/CaspJAKZm9rZDAw18TrmuXeRgsGWAdS2vJ4Oa/kXqX0NG2eBJcGasu4GeNXANGXvC1uGz+8GC6rEPlE/Ucau4tGAHOZL0HJ9IDd/PIxoTkeTG3GjGeqvKBLbdvVIDXbcQIDAQAB&quot;</pre>
<p>Here p=the_key_you_have_copied_from_dkim.public</p>
<p>Restart exim and named services.</p>
<pre class="brush: bash;">/scripts/restartsrv exim</pre>
<pre class="brush: bash;">/scripts/restartsrv named</pre>
<p>To check whether DKIM is setup properly, send a mail to dkimtest@atmail.org , if setup properly, you will get a reply like below ,else a failure message.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Subject:    AutoReply from dkimtest@atmail.org<br />
From:    spftest@example.com<br />
Date:    Fri, Jul 9, 2010 10:27 pm<br />
To:    spftest@example.com<br />
*** DKIM TEST SUCCESSFUL ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>8 ) <strong>Join JMRP : </strong></p>
<p>JMRP/Junk Mail Report Program is a free service to provide reports on junk e-mail issues reported by  Windows Live Hotmail users. You can use this free service to which is developed commercial mailers and e-mail administrators to identify/fix issues in sending mails to hotmails ID&#8217;s. JMRP returns the full message with headers of any e-mail marked as “junk” or “phishing” by a recipient.  Provides senders an opportunity to clean their e-mail lists and improve the quality of their content and helps identify potential problems with your marketing practices and content and also improves sender reputation by removing unwanted subscribers from lists.</p>
<p>You can join LMRP from here : <a  href="https://support.msn.com/default.aspx?st=1&#038;website=msn&#038;tenant=oss&#038;brand=msn&#038;as=1&#038;timestmp=634147865953276556&#038;acty=ProductList&#038;ctl=oss%2fcontent%2fmsn_support_home&#038;wf=OSS&#038;trl=OSS~ProductList&#038;c=oss_msn&#038;ln=en-us&#038;productKey=edfsjmrpp&#038;sub=free" target="_blank">http://bit.ly/JMRP</a></p>
<p>N:B :- Mail server mentioned here is cPanel Exim, you may replace this with any other mail server.</p>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=Prevent+your+mail%2FIP+from+getting+marked+as+SPAM%2FBlacklisted%2C+A+few+TIPS%21+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F1031" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=Prevent+your+mail%2FIP+from+getting+marked+as+SPAM%2FBlacklisted%2C+A+few+TIPS%21+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F1031" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2010/07/prevent-your-mailip-from-getting-marked-as-spamblacklisted-a-few-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to resolve : Internal Server Error when accessing cpanel/WHM/Webmail</title>
		<link>http://www.supportsages.com/blog/2010/06/how-to-resolve-internal-server-error-when-accessing-cpanelwhmwebmail/</link>
		<comments>http://www.supportsages.com/blog/2010/06/how-to-resolve-internal-server-error-when-accessing-cpanelwhmwebmail/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 19:13:12 +0000</pubDate>
		<dc:creator>vince</dc:creator>
				<category><![CDATA[Howtos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Specials]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[inode issue]]></category>
		<category><![CDATA[inodes]]></category>
		<category><![CDATA[internal server error]]></category>
		<category><![CDATA[more than 400 attempts to make a session failed]]></category>
		<category><![CDATA[Webmail]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=927</guid>
		<description><![CDATA[Imagine you are accessing your Website WHM or cPanel or Webmail hosted (in your VPS) and what if you see this

<a href="http://www.supportsages.com/blog/wp-content/uploads/2010/06/cpanel-inode-full-issue.png"><img class="alignnone size-medium wp-image-929" title="cpanel inode full issue" src="http://www.supportsages.com/blog/wp-content/uploads/2010/06/cpanel-inode-full-issue-300x63.png" alt="Image showing the issue" width="300" height="63" /></a><span style="text-decoration: underline;"><strong> </strong></span>

<span style="text-decoration: underline;"><strong>How to solve this</strong></span>

Pre-Requisites : You should have Shell access (as root) to the Node server.

Mostly this happens due to inode issue. The inodes allocated to the server maybe full. <strong>inode</strong> is a data structure on a traditional Unix-style file system such as UFS. An inode stores basic information about a regular file, directory, or other file system object.

<strong>Steps</strong>

Say ...]]></description>
			<content:encoded><![CDATA[<p>Imagine you are accessing your Website WHM or cPanel or Webmail hosted (in your VPS) and what if you see this</p>
<p><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/06/cpanel-inode-full-issue.png" class="thickbox no_icon" rel="gallery-927" title="cpanel inode full issue"><img class="alignnone size-medium wp-image-929" title="cpanel inode full issue" src="http://www.supportsages.com/blog/wp-content/uploads/2010/06/cpanel-inode-full-issue-300x63.png" alt="Image showing the issue" width="300" height="63" /></a><span style="text-decoration: underline;"><strong> </strong></span></p>
<p><span style="text-decoration: underline;"><strong>How to solve this</strong></span></p>
<p>Pre-Requisites : You should have Shell access (as root) to the Node server.</p>
<p>Mostly this happens due to inode issue. The inodes allocated to the server maybe full. <strong>inode</strong> is a data structure on a traditional Unix-style file system such as UFS. An inode stores basic information about a regular file, directory, or other file system object.</p>
<p><strong>Steps</strong></p>
<p>Say we are logged into the Node Server. There we are going to list all the Containers existing on the Hardware Node. By default, only running Containers are shown.</p>
<pre class="brush: bash;">
[root@linuxvps1 ~]# vzlist -a
CTID    NPROC STATUS   IP_ADDR        HOSTNAME
100     18  running    100.20.11.111  WEB.EXAMPLE.COM
101     63  running    100.20.12.203  -
102     169 running    100.20.92.182  server2.example.com
103     81  running    100.20.56.169  example.net
78965   236 running    100.20.77.204  server1.example.com
</pre>
<p>Assume your container is 103. So simply enter into 103 by this command</p>
<pre class="brush: bash;">
[root@linuxvps1 ~]# vzctl enter 103
</pre>
<p>Check if the inodes are full in the container</p>
<pre class="brush: bash;">
[root@linuxvps1 ~]# df -i
</pre>
<p>Most Probably it should display something like this :</p>
<pre class="brush: bash;">
Filesystem      Inodes      IUsed        IFree     IUse%      Mounted on
/dev/vzfs       200000      200000       0         100%       /
none            65536       95           65441     1%         /dev
</pre>
<p>Bang ! The inodes on /dev/vzfs mounted on / are full. You&#8217;ve to go nowhere else to see why that error was delivered. A simple solution will work out, you&#8217;ve to increase the inode limit. You&#8217;ve two options, either through Shell or through the Node Control Panel (like Parallels Infrastructure Manager)</p>
<p>First we will go through Shell mode with this command :</p>
<pre class="brush: bash;">$ vzctl set veid --diskinodes softlimit:hardlimit </pre>
<p>Where &#8216;veid&#8217; is the VPS ID</p>
<pre class="brush: bash;">root@linuxvps1 ~]# vzctl set 103 --diskinodes 7680100:7680200</pre>
<p>Second we are going for Node Control Panel. In the infrastructure, you will see your VPS with a ! sign. That indicates your VPS is having some sort of issue.</p>
<p><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/06/cp12.png" class="thickbox no_icon" rel="gallery-927" title="cp1"><img class="alignnone size-full wp-image-934" title="cp1" src="http://www.supportsages.com/blog/wp-content/uploads/2010/06/cp12.png" alt="" width="195" height="159" /></a></p>
<p>So you&#8217;ve seen the Alert. Next access the VPS, go to Resources tab. I&#8217;m sorry to tell you that I grabbed this screenshot after resolving the issue, but it will help you anyway</p>
<p><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/06/cp2.png" class="thickbox no_icon" rel="gallery-927" title="cp2"><img class="alignnone size-full wp-image-935" title="cp2" src="http://www.supportsages.com/blog/wp-content/uploads/2010/06/cp2.png" alt="" width="616" height="408" /></a></p>
<p>You should see the &#8216;Disk Inodes&#8217; is full under &#8216;Disk Usage&#8217; category (Here it is not !). Next Click Configure to settle this one</p>
<p><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/06/cp41.png" class="thickbox no_icon" rel="gallery-927" title="cp4"><img class="alignnone size-full wp-image-937" title="cp4" src="http://www.supportsages.com/blog/wp-content/uploads/2010/06/cp41.png" alt="" width="1192" height="394" /></a>See the Highlighted part, the inodes should be limited to some size. Increase it or remove the check mark to make it unlimited.  Make sure you save the changes. Now try again accessing cpanel/WHM/Webmail. It should load with out any issues.That makes a smile in your face, isn&#8217;t it ? <img src='http://www.supportsages.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=How+to+resolve+%3A+Internal+Server+Error+when+accessing+cpanel%2FWHM%2FWebmail+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F927" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=How+to+resolve+%3A+Internal+Server+Error+when+accessing+cpanel%2FWHM%2FWebmail+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F927" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2010/06/how-to-resolve-internal-server-error-when-accessing-cpanelwhmwebmail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cPanel, postgresql and a default database issue with 8.4.x versions of postgres</title>
		<link>http://www.supportsages.com/blog/2010/05/cpanel-postgresql-and-a-default-database-issues-with-8-4-x-versions-of-postgres/</link>
		<comments>http://www.supportsages.com/blog/2010/05/cpanel-postgresql-and-a-default-database-issues-with-8-4-x-versions-of-postgres/#comments</comments>
		<pubDate>Sun, 23 May 2010 20:18:01 +0000</pubDate>
		<dc:creator>arnold</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[default database]]></category>
		<category><![CDATA[template1]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=614</guid>
		<description><![CDATA[The issue was there, because customer wanted a latest version of Postgresql, latest than what cPanel support by default.

<strong>Issue reported in the phppGAdmin page was</strong>

[plain]
FATAL:  password authentication failed for user &#34;cPanel_username&#34;
FATAL:  permission denied for database &#34;template1&#34;
DETAIL:  User does not have CONNECT privilege.
[/plain]

<span id="more-614"></span>

<strong>Solution</strong>

[bash]
# su - postgres
-bash-3.2$ psql
psql (8.4.2)
Type &#34;help&#34; for help.

postgres=# alter user cPanel_username with password 'password_here';
ALTER ROLE
postgres=# alter user cPanelusername_username with password 'password_here';
[/bash]

Check for issues in /var/lib/pgsql/pgstartup.log . That is where postgreSQL throws out errors which will be helpful in debugging the issues.

In prior releases, template1 was used both as a default connection for utilities like ...]]></description>
			<content:encoded><![CDATA[<p>The issue was there, because customer wanted a latest version of Postgresql, latest than what cPanel support by default.</p>
<p><strong>Issue reported in the phppGAdmin page was</strong></p>
<pre class="brush: plain;">
FATAL:  password authentication failed for user &quot;cPanel_username&quot;
FATAL:  permission denied for database &quot;template1&quot;
DETAIL:  User does not have CONNECT privilege.
</pre>
<p><span id="more-614"></span></p>
<p><strong>Solution</strong></p>
<pre class="brush: bash;">
# su - postgres
-bash-3.2$ psql
psql (8.4.2)
Type &quot;help&quot; for help.

postgres=# alter user cPanel_username with password 'password_here';
ALTER ROLE
postgres=# alter user cPanelusername_username with password 'password_here';
</pre>
<p>Check for issues in /var/lib/pgsql/pgstartup.log . That is where postgreSQL throws out errors which will be helpful in debugging the issues.</p>
<p>In prior releases, template1 was used both as a default connection for utilities like createuser, and as a template for new  databases.  This caused CREATE DATABASE to sometimes fail, because a new database cannot be created if anyone else is in the template database. With this change, the default connection database is now postgres, meaning it is much  less likely someone will be using template1 during CREATE DATABASE.</p>
<p>Also, do change the postgresql configuration file of cPanel installation,  /usr/local/cpanel/base/3rdparty/phpPgAdmin/conf/config.inc.php</p>
<p>Look for</p>
<pre class="brush: plain;">
$conf['servers'][0]['defaultdb'] = 'template1';
</pre>
<p>and change it to</p>
<pre class="brush: plain;">
$conf['servers'][0]['defaultdb'] = 'postgres';
</pre>
<p>Don&#8217;t forget to chattr also. BTW now a days, cPanel is intelligent enough to detect and remove the chattrs also <img src='http://www.supportsages.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .</p>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=cPanel%2C+postgresql+and+a+default+database+issue+with+8.4.x+versions+of+postgres++http%3A%2F%2Fwww.supportsages.com%2Fblog%2F614" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=cPanel%2C+postgresql+and+a+default+database+issue+with+8.4.x+versions+of+postgres++http%3A%2F%2Fwww.supportsages.com%2Fblog%2F614" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2010/05/cpanel-postgresql-and-a-default-database-issues-with-8-4-x-versions-of-postgres/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postgresql issues with a cPanel server</title>
		<link>http://www.supportsages.com/blog/2010/01/postgresql-issues-with-a-cpanel-server/</link>
		<comments>http://www.supportsages.com/blog/2010/01/postgresql-issues-with-a-cpanel-server/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 02:30:34 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[error]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=612</guid>
		<description><![CDATA[Recently with a cPanel server, we had this issue of not being able to create postgresql database even after the postgresql package is installed and database server is running. Fixing of one issue lead to another there by needing to fix all the errors.

<blockquote>Cpanel::AdminBin::adminrun(postgres) set error in context postgres
[2010-01-16 12:24:18 -0500] warn [postgres::listdbs] Encountered error in postgres::listdbs: Error from postgres wrapper: PostgreSQL has not been configured by the administrator. Unable to locate pgpass file.</blockquote>

This was fixed by doing these,

<strong>Login to WHM => SQL Services => Postgres Config => Click on “Install Config”.
Login to WHM => SQL Services => Postgres Config ...]]></description>
			<content:encoded><![CDATA[<p>Recently with a cPanel server, we had this issue of not being able to create postgresql database even after the postgresql package is installed and database server is running. Fixing of one issue lead to another there by needing to fix all the errors.</p>
<blockquote><p>Cpanel::AdminBin::adminrun(postgres) set error in context postgres<br />
[2010-01-16 12:24:18 -0500] warn [postgres::listdbs] Encountered error in postgres::listdbs: Error from postgres wrapper: PostgreSQL has not been configured by the administrator. Unable to locate pgpass file.</p></blockquote>
<p>This was fixed by doing these,</p>
<p><strong>Login to WHM => SQL Services => Postgres Config => Click on “Install Config”.<br />
Login to WHM => SQL Services => Postgres Config => &#8220;Set a Postgresql password also&#8221;</strong></p>
<p>No error in cPanel after doing above. However that followed by an issue of created DBs not being appeared in the List DB page of Postgresql databases. Went to shell. Logged in as root . Switched to postgres. &#8220;su &#8211; postgres&#8221; . Ran the command &#8220;psql&#8221; and then</p>
<p><code>-bash-3.2$ psql<br />
Welcome to psql 8.1.18, the PostgreSQL interactive terminal.</p>
<p>Type:  \copyright for distribution terms<br />
       \h for help with SQL commands<br />
       \? for help with psql commands<br />
       \g or terminate with semicolon to execute query<br />
       \q to quit</p>
<p>postgres=# \l<br />
        List of databases<br />
   Name    |  Owner   | Encoding<br />
-----------+----------+----------<br />
 postgres  | postgres | UTF8<br />
 template0 | postgres | UTF8<br />
 template1 | postgres | UTF8<br />
(3 rows)</p>
<p>postgres=# \q</code></p>
<p>No DB was created. Checked the logs /usr/local/cpanel/logs/error_log and it had entries like <strong>ERROR:  role &#8220;username&#8221; does not exist</strong> which meant, no roles to create the database.</p>
<p><code>cd /var/cpanel/users &#038;&#038; for x in *; do su -c "createuser -S -D -R $x" postgres; done</code></p>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=Postgresql+issues+with+a+cPanel+server+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F612" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=Postgresql+issues+with+a+cPanel+server+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F612" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2010/01/postgresql-issues-with-a-cpanel-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cPanel or Lxadmin &#8211; Roundcube issues &#8211;  SERVICE CURRENTLY NOT AVAILABLE!  Error No. [0x01F4]</title>
		<link>http://www.supportsages.com/blog/2009/06/cpanel-or-lxadmin-roundcube-issues-service-currently-not-available-error-no-0x01f4/</link>
		<comments>http://www.supportsages.com/blog/2009/06/cpanel-or-lxadmin-roundcube-issues-service-currently-not-available-error-no-0x01f4/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 12:21:55 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Webmail]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[lxadmin]]></category>
		<category><![CDATA[Roundcube]]></category>
		<category><![CDATA[Service Not available]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=419</guid>
		<description><![CDATA[<blockquote>SERVICE CURRENTLY NOT AVAILABLE!</blockquote>
<blockquote><strong> Error No. [0x01F4]</strong></blockquote>

That is what you will see on logging to the Roundcube. How to fix it ?

on cPanel, just update roundcube :)

<code> /usr/local/cpanel/bin/update-roundcube --force</code>

On Lxadmin, just re-install

<code>rm /var/cache/lxadmin/lxwebmail*
lphp.exe ../bin/misc/installRoundCube.php
/script/upcp</code>
]]></description>
			<content:encoded><![CDATA[<blockquote><p>SERVICE CURRENTLY NOT AVAILABLE!</p></blockquote>
<blockquote><p><strong> Error No. [0x01F4]</strong></p></blockquote>
<p>That is what you will see on logging to the Roundcube. How to fix it ?</p>
<p>on cPanel, just update roundcube <img src='http://www.supportsages.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><code> /usr/local/cpanel/bin/update-roundcube --force</code></p>
<p>On Lxadmin, just re-install</p>
<p><code>rm /var/cache/lxadmin/lxwebmail*<br />
lphp.exe ../bin/misc/installRoundCube.php<br />
/script/upcp</code></p>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=cPanel+or+Lxadmin+-+Roundcube+issues+-++SERVICE+CURRENTLY+NOT+AVAILABLE%21++Error+No.+%5B0x01F4%5D+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F419" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=cPanel+or+Lxadmin+-+Roundcube+issues+-++SERVICE+CURRENTLY+NOT+AVAILABLE%21++Error+No.+%5B0x01F4%5D+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F419" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/06/cpanel-or-lxadmin-roundcube-issues-service-currently-not-available-error-no-0x01f4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding packages from WHM or editing the reseller privileges is not working on a x86_64 architecture</title>
		<link>http://www.supportsages.com/blog/2009/05/adding-packages-from-whm-or-editing-the-reseller-privileges-is-not-working-on-a-x86_64-architecture/</link>
		<comments>http://www.supportsages.com/blog/2009/05/adding-packages-from-whm-or-editing-the-reseller-privileges-is-not-working-on-a-x86_64-architecture/#comments</comments>
		<pubDate>Sat, 23 May 2009 16:04:53 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[500 Internal Server Error]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[memory limit]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=387</guid>
		<description><![CDATA[As usual, start by checking the error log of cPanel at <code>/usr/local/cpanel/logs/error_log</code>

<blockquote>2009-05-23 15:44:24 info [whostmgr2] [28346] Waiting for lock on /var/cpanel/package-limits.yaml held by /usr/local/cpanel/whostmgr/bin/whostmgr2 - locking /var/cpanel/package-limits.yaml with pid 25968
2009-05-23 15:44:25 info [whostmgr2] [28346] Removing expired lock file /var/cpanel/package-limits.yaml.lock
(internal warning while parsing [stdin]) Sat May 23 23:41:28 2009 [25968] warn: Attempt to free unreferenced scalar.</blockquote>

While the error (internal warning while parsing [stdin]) Sat May 23 23:41:28 2009 [25968] warn: Attempt to free unreferenced scalar floods the error log

Permissions were all right, but suddenly this started happening, but only x86_64 architectures only. Reason being the cPanel is killing the process, since ...]]></description>
			<content:encoded><![CDATA[<p>As usual, start by checking the error log of cPanel at <code>/usr/local/cpanel/logs/error_log</code></p>
<blockquote><p>2009-05-23 15:44:24 info [whostmgr2] [28346] Waiting for lock on /var/cpanel/package-limits.yaml held by /usr/local/cpanel/whostmgr/bin/whostmgr2 &#8211; locking /var/cpanel/package-limits.yaml with pid 25968<br />
2009-05-23 15:44:25 info [whostmgr2] [28346] Removing expired lock file /var/cpanel/package-limits.yaml.lock<br />
(internal warning while parsing [stdin]) Sat May 23 23:41:28 2009 [25968] warn: Attempt to free unreferenced scalar.</p></blockquote>
<p>While the error (internal warning while parsing [stdin]) Sat May 23 23:41:28 2009 [25968] warn: Attempt to free unreferenced scalar floods the error log</p>
<p>Permissions were all right, but suddenly this started happening, but only x86_64 architectures only. Reason being the cPanel is killing the process, since it exceeded the memory usage allowed by cPanel.</p>
<p>Solution would be to increase the memory limit of cPanel by following the instructions below.</p>
<p><strong>WHM</strong> -> <strong>Server Configuration</strong> -> <strong>Tweak Settings</strong> Choose the setting for:</p>
<p>The maximum memory a cPanel process can use before it is killed off (in megabytes). Values less than 128 megabytes can not be specified. A value of &#8220;0&#8243; will disable the memory limits.</p>
<p>The settings had 256M there, and increasing the value to 1024 M helped. Server had 8G RAM, so the value of 1024M was fine here. </p>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=Adding+packages+from+WHM+or+editing+the+reseller+privileges+is+not+working+on+a+x86_64+architecture+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F387" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=Adding+packages+from+WHM+or+editing+the+reseller+privileges+is+not+working+on+a+x86_64+architecture+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F387" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/05/adding-packages-from-whm-or-editing-the-reseller-privileges-is-not-working-on-a-x86_64-architecture/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Howto enable access to whm, cpanel subdomains (proxy subdomains) in cPanel</title>
		<link>http://www.supportsages.com/blog/2009/05/howto-enable-access-to-whm-cpanel-subdomains-proxy-subdomains-in-cpanel/</link>
		<comments>http://www.supportsages.com/blog/2009/05/howto-enable-access-to-whm-cpanel-subdomains-proxy-subdomains-in-cpanel/#comments</comments>
		<pubDate>Sun, 17 May 2009 04:31:37 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Howtos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[proxy subdomains]]></category>
		<category><![CDATA[subdomains]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=359</guid>
		<description><![CDATA[With cPanel 11, this has become very easy. Assuming that you have mod_proxy and mod_rewrite installed on your apache,

Go to <strong>WHM</strong> --> <strong>Tweak Settings</strong> --> <strong>Check the following settings</strong>

<code>
Add proxy VirtualHost to httpd.conf to automatically redirect unconfigured cpanel, webmail, webdisk and whm subdomains to the correct port (requires mod_rewrite and mod_proxy)</code>

<code>Automatically create cpanel, webmail, webdisk and whm proxy subdomain DNS entries for new accounts. When this is initially enabled it will add appropriate proxy subdomain DNS entries to all existing accounts. (Use /scripts/proxydomains to reconfigure the DNS entries manually)</code>

Once enabled let the /scripts/proxydomains run and it will be enabled for ...]]></description>
			<content:encoded><![CDATA[<p>With cPanel 11, this has become very easy. Assuming that you have mod_proxy and mod_rewrite installed on your apache,</p>
<p>Go to <strong>WHM</strong> &#8211;> <strong>Tweak Settings</strong> &#8211;> <strong>Check the following settings</strong></p>
<p><code><br />
Add proxy VirtualHost to httpd.conf to automatically redirect unconfigured cpanel, webmail, webdisk and whm subdomains to the correct port (requires mod_rewrite and mod_proxy)</code></p>
<p><code>Automatically create cpanel, webmail, webdisk and whm proxy subdomain DNS entries for new accounts. When this is initially enabled it will add appropriate proxy subdomain DNS entries to all existing accounts. (Use /scripts/proxydomains to reconfigure the DNS entries manually)</code></p>
<p>Once enabled let the /scripts/proxydomains run and it will be enabled for all existing domains and new ones to be created. For a server with DNS cluster enabled, please refrain from enabling this, as it requires reload of those many zones of domains in the shared server at your DNS server.</p>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=Howto+enable+access+to+whm%2C+cpanel+subdomains+%28proxy+subdomains%29+in+cPanel+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F359" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=Howto+enable+access+to+whm%2C+cpanel+subdomains+%28proxy+subdomains%29+in+cPanel+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F359" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/05/howto-enable-access-to-whm-cpanel-subdomains-proxy-subdomains-in-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto move horde specific settings especially calendar, address box, notepad settings etc when moved from one cPanel server to another</title>
		<link>http://www.supportsages.com/blog/2009/05/howto-move-horde-specific-settings-especially-calendar-address-box-notepad-settings-etc-when-moved-from-one-cpanel-server-to-another/</link>
		<comments>http://www.supportsages.com/blog/2009/05/howto-move-horde-specific-settings-especially-calendar-address-box-notepad-settings-etc-when-moved-from-one-cpanel-server-to-another/#comments</comments>
		<pubDate>Sat, 16 May 2009 16:25:05 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Howtos]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[horde]]></category>
		<category><![CDATA[horde sql settings transfer]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=355</guid>
		<description><![CDATA[How often you, as a sysadmin or LII support had this issue where a customer complains that his horde settings were not transferred from his old server to new one ? We had this issue many times.

Ben Thomas from cPanel has a script written for it, which I am sharing here. Weird fact is that you won't see this anywhere in a cPanel server, not even in /scripts folder. So why wait ? download the file below and help your customers next time, the easy way :)

<a href="http://www.supportsages.com/blog/wp-content/uploads/2009/05/horde_settings_transferpl.gz">http://www.supportsages.com/blog/wp-content/uploads/2009/05/horde_settings_transferpl.gz</a>

Usage is as below,

<code>./horde_sql_transfer.pl -u &#60;username&#62; -d &#60;data dir&#62; -o &#60;archive &#124; restore&#62;</code>]]></description>
			<content:encoded><![CDATA[<p>How often you, as a sysadmin or LII support had this issue where a customer complains that his horde settings were not transferred from his old server to new one ? We had this issue many times.</p>
<p>Ben Thomas from cPanel has a script written for it, which I am sharing here. Weird fact is that you won&#8217;t see this anywhere in a cPanel server, not even in /scripts folder. So why wait ? download the file below and help your customers next time, the easy way <img src='http://www.supportsages.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a  href="http://www.supportsages.com/blog/wp-content/uploads/2009/05/horde_settings_transferpl.gz">http://www.supportsages.com/blog/wp-content/uploads/2009/05/horde_settings_transferpl.gz</a></p>
<p>Usage is as below,</p>
<p><code>./horde_sql_transfer.pl -u &lt;username&gt; -d &lt;data dir&gt; -o &lt;archive | restore&gt;</code></p>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=Howto+move+horde+specific+settings+especially+calendar%2C+address+box%2C+notepad+settings+etc+when+moved+from+one+cPanel+server+to+another+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F355" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=Howto+move+horde+specific+settings+especially+calendar%2C+address+box%2C+notepad+settings+etc+when+moved+from+one+cPanel+server+to+another+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F355" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/05/howto-move-horde-specific-settings-especially-calendar-address-box-notepad-settings-etc-when-moved-from-one-cpanel-server-to-another/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtfs dir for shell enabled user is not removed on termination of account or removal of shell</title>
		<link>http://www.supportsages.com/blog/2009/05/virtfs-dir-for-shell-enabled-user-is-not-removed-on-termination-of-account-or-removal-of-shell/</link>
		<comments>http://www.supportsages.com/blog/2009/05/virtfs-dir-for-shell-enabled-user-is-not-removed-on-termination-of-account-or-removal-of-shell/#comments</comments>
		<pubDate>Sat, 16 May 2009 15:59:30 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Howtos]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[bash shell]]></category>
		<category><![CDATA[jailshell]]></category>
		<category><![CDATA[quota]]></category>
		<category><![CDATA[shell account]]></category>
		<category><![CDATA[termination of account]]></category>
		<category><![CDATA[virtfs]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=353</guid>
		<description><![CDATA[Virtfs dir for a jailshell enabled user is not removed on termination of account or removal of shell from his account. This often happens when you enable jailshell only and not normal bash shell. This issue has been there, since I started with hosting industry since 2005 and there is only advice which I want to provide you all.

<strong>DON"T EVER DELETE /home/virtfs/user DIRECTORY</strong>

Here is one solution which worked for me around 80% of time, which forces the unmount of virtfs of the user. Command is below,

<code>cat /proc/mounts &#124; grep virtfs &#124; grep username &#124;cut -d ' ' -f2 &#124; xargs ...]]></description>
			<content:encoded><![CDATA[<p>Virtfs dir for a jailshell enabled user is not removed on termination of account or removal of shell from his account. This often happens when you enable jailshell only and not normal bash shell. This issue has been there, since I started with hosting industry since 2005 and there is only advice which I want to provide you all.</p>
<p><strong>DON&#8221;T EVER DELETE /home/virtfs/user DIRECTORY</strong></p>
<p>Here is one solution which worked for me around 80% of time, which forces the unmount of virtfs of the user. Command is below,</p>
<p><code>cat /proc/mounts | grep virtfs | grep username |cut -d ' ' -f2 | xargs umount </code></p>
<p>Good luck!!!</p>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=Virtfs+dir+for+shell+enabled+user+is+not+removed+on+termination+of+account+or+removal+of+shell+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F353" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=Virtfs+dir+for+shell+enabled+user+is+not+removed+on+termination+of+account+or+removal+of+shell+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F353" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/05/virtfs-dir-for-shell-enabled-user-is-not-removed-on-termination-of-account-or-removal-of-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>In cPanel, howto make exceptions in the email sending limit, per domain ?</title>
		<link>http://www.supportsages.com/blog/2009/05/in-cpanel-how-do-imake-exceptions-in-the-email-sending-limit-per-domain/</link>
		<comments>http://www.supportsages.com/blog/2009/05/in-cpanel-how-do-imake-exceptions-in-the-email-sending-limit-per-domain/#comments</comments>
		<pubDate>Sat, 16 May 2009 12:17:33 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Howtos]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[email sending limit]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[per domain limit]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=351</guid>
		<description><![CDATA[You may have already know about the following option: Main --&#62; Server Configuration --&#62; Tweak Settings --&#62; The maximum each domain can send out per hour

We recommend you to set it as low as possible. And then make per domain restrictions as below, to increase the numbers.
<ol>
	<li>Login to your server</li>
	<li>Edit /var/cPanel/maxemails</li>
	<li>Add a new line saying "domain.com = increased_number" (eg: supportsages.com = 800)</li>
	<li>Save the file.</li>
	<li>And finally run /scripts/build_maxemails_config</li>
</ol>

And you are done!!!]]></description>
			<content:encoded><![CDATA[<p>You may have already know about the following option: Main &#8211;&gt; Server Configuration &#8211;&gt; Tweak Settings &#8211;&gt; The maximum each domain can send out per hour</p>
<p>We recommend you to set it as low as possible. And then make per domain restrictions as below, to increase the numbers.</p>
<ol>
<li>Login to your server</li>
<li>Edit /var/cPanel/maxemails</li>
<li>Add a new line saying &#8220;domain.com = increased_number&#8221; (eg: supportsages.com = 800)</li>
<li>Save the file.</li>
<li>And finally run /scripts/build_maxemails_config</li>
</ol>
<p>And you are done!!!</p>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=In+cPanel%2C+howto+make+exceptions+in+the+email+sending+limit%2C+per+domain+%3F+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F351" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=In+cPanel%2C+howto+make+exceptions+in+the+email+sending+limit%2C+per+domain+%3F+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F351" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/05/in-cpanel-how-do-imake-exceptions-in-the-email-sending-limit-per-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
