<?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; Webmail</title>
	<atom:link href="http://www.supportsages.com/blog/tag/webmail/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>Thu, 05 Jan 2012 03:05:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<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; title: ; notranslate">
[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; title: ; notranslate">
[root@linuxvps1 ~]# vzctl enter 103
</pre>
<p>Check if the inodes are full in the container</p>
<pre class="brush: bash; title: ; notranslate">
[root@linuxvps1 ~]# df -i
</pre>
<p>Most Probably it should display something like this :</p>
<pre class="brush: bash; title: ; notranslate">
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; title: ; notranslate">$ vzctl set veid --diskinodes softlimit:hardlimit </pre>
<p>Where &#8216;veid&#8217; is the VPS ID</p>
<pre class="brush: bash; title: ; notranslate">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>
<div class="tweetthis" style="text-align:left;"><p> <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/en/twitter/tt-twitter3.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></div>]]></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 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[cPanel]]></category>
		<category><![CDATA[Webmail]]></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>
<div class="tweetthis" style="text-align:left;"><p> <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/en/twitter/tt-twitter3.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></div>]]></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>1</slash:comments>
		</item>
		<item>
		<title>Horde errors &#8211; Fatal error: Cannot use string offset as an array in /usr/local/cpanel/base/horde/lib/Horde/Block/Layout/Manager.php on line 389</title>
		<link>http://www.supportsages.com/blog/2009/04/horde-errors-fatal-error-cannot-use-string-offset-as-an-array-in-usrlocalcpanelbasehordelibhordeblocklayoutmanagerphp-on-line-389/</link>
		<comments>http://www.supportsages.com/blog/2009/04/horde-errors-fatal-error-cannot-use-string-offset-as-an-array-in-usrlocalcpanelbasehordelibhordeblocklayoutmanagerphp-on-line-389/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 07:35:08 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Webmail]]></category>
		<category><![CDATA[horde]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=33</guid>
		<description><![CDATA[A bug reported in Horde http://bugs.horde.org/ticket/?id=4070 decided to hit one of our customer's client accounts. Customer had old cPanel version and don't want to upgrade due to internal reasons. Client said, he was exploring the Horde's vast options (Horde is a web Outlook - can't complain :D) and while messing up with the Layout options in Horde he hit the bug,
<blockquote>Fatal error: Cannot use string offset as an array in /usr/local/cpanel/base/horde/lib/Horde/Block/Layout/Manager.php on line 389</blockquote>

Not sure what caused the issue and it is not happening with IE, and only in FF. However a simple layout reset fixed the issue. Good Luck. ...]]></description>
			<content:encoded><![CDATA[<p>A bug reported in Horde http://bugs.horde.org/ticket/?id=4070 decided to hit one of our customer&#8217;s client accounts. Customer had old cPanel version and don&#8217;t want to upgrade due to internal reasons. Client said, he was exploring the Horde&#8217;s vast options (Horde is a web Outlook &#8211; can&#8217;t complain <img src='http://www.supportsages.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ) and while messing up with the Layout options in Horde he hit the bug,</p>
<blockquote><p>Fatal error: Cannot use string offset as an array in /usr/local/cpanel/base/horde/lib/Horde/Block/Layout/Manager.php on line 389</p></blockquote>
<p>Not sure what caused the issue and it is not happening with IE, and only in FF. However a simple layout reset fixed the issue. Good Luck. Still, we need to find the real cause.</p>
<div class="tweetthis" style="text-align:left;"><p> <a  class="tt" href="http://twitter.com/home/?status=Horde+errors+-+Fatal+error%3A+Cannot+use+string+offset+as+an+array+in+%2Fusr%2Flocal%2Fcpanel%2Fbase%2Fhorde%2Flib%2FHorde%2FBlock%2FLayout%2FManager.php+on+line+389+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F33" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter3.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=Horde+errors+-+Fatal+error%3A+Cannot+use+string+offset+as+an+array+in+%2Fusr%2Flocal%2Fcpanel%2Fbase%2Fhorde%2Flib%2FHorde%2FBlock%2FLayout%2FManager.php+on+line+389+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F33" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/04/horde-errors-fatal-error-cannot-use-string-offset-as-an-array-in-usrlocalcpanelbasehordelibhordeblocklayoutmanagerphp-on-line-389/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When trying to log in to Plesk horde, the login page reloads and does not log in into webmail.</title>
		<link>http://www.supportsages.com/blog/2009/04/when-trying-to-log-in-to-plesk-horde-the-login-page-reloads-and-does-not-log-in-into-webmail/</link>
		<comments>http://www.supportsages.com/blog/2009/04/when-trying-to-log-in-to-plesk-horde-the-login-page-reloads-and-does-not-log-in-into-webmail/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 15:58:20 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Webmail]]></category>
		<category><![CDATA[horde]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=26</guid>
		<description><![CDATA[Operating System was Linux

No one was able to login to Plesk's default webmail, horde. Enabled error reporting in php.ini and got the error message as below in the "<strong>/etc/httpd/logs/error_log</strong>" and/or "<strong>/var/log/psa-horde/psa-horde.log</strong>"
<blockquote>PHP Warning:  Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/usr/local/psa/admin/sessions) in Unknown on line 0, referer: http://webmail.supportsages.com/test.php?mode=unregister</blockquote>
Here the solution was to edit the php.ini to use /tmp as the  session.save_path or even "/var/lib/php/session"

Other solution, for similar issue (not this exact error though) is to set,

session.auto_start = 0 in php.ini
Making sure that localhost entry is in /etc/hosts and resolves. ...]]></description>
			<content:encoded><![CDATA[<p>Operating System was Linux</p>
<p>No one was able to login to Plesk&#8217;s default webmail, horde. Enabled error reporting in php.ini and got the error message as below in the &#8220;<strong>/etc/httpd/logs/error_log</strong>&#8221; and/or &#8220;<strong>/var/log/psa-horde/psa-horde.log</strong>&#8221;</p>
<blockquote><p>PHP Warning:  Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/usr/local/psa/admin/sessions) in Unknown on line 0, referer: http://webmail.supportsages.com/test.php?mode=unregister</p></blockquote>
<p>Here the solution was to edit the php.ini to use /tmp as the  session.save_path or even &#8220;/var/lib/php/session&#8221;</p>
<p>Other solution, for similar issue (not this exact error though) is to set,</p>
<p>session.auto_start = 0 in php.ini<br />
Making sure that localhost entry is in /etc/hosts and resolves. For that do a <strong>telnet localhost 143 </strong> and if you get &#8220;Connected to&#8221; message, its not that issue <img src='http://www.supportsages.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' />  check <strong>/etc/hosts</strong> file. It must have permissions <strong>-rw-r&#8211;r&#8211;</strong> (644) on a ls -l<br />
Whatever be the session.save_path setting in the php.ini, it should have the permission of 1777<br />
Run IMP test to check the problem at: http://webmail.DOMAIN.COM/horde/imp/test.php and make sure that you get the <strong><span style="color: #008000;">green</span></strong> words for all the tests.<br />
This problem may occur if the domain&#8217;s web content is hosted on another server and the MX DNS record doesn&#8217;t exist or points not to the Plesk server. IMP tries to check mail on whatever server the domain name resolves to. In order to prevent this from happening the domain name or MX record (if it exists) must be resolved locally to the server.</p>
<p>References : <a  href="http://kb.parallels.com/article_41_260_en.html">http://kb.parallels.com/article_41_260_en.html</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a  class="tt" href="http://twitter.com/home/?status=When+trying+to+log+in+to+Plesk+horde%2C+the+login+page+reloads+and+does+not+log+in+into+webmail.+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F26" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter3.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=When+trying+to+log+in+to+Plesk+horde%2C+the+login+page+reloads+and+does+not+log+in+into+webmail.+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F26" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/04/when-trying-to-log-in-to-plesk-horde-the-login-page-reloads-and-does-not-log-in-into-webmail/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

