<?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; VPS</title>
	<atom:link href="http://www.supportsages.com/blog/tag/vps-virtualization/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>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>How to do : Add or Delete an IP Address in the VPS</title>
		<link>http://www.supportsages.com/blog/2010/05/how-to-do-add-or-delete-an-ip-address-in-the-vps/</link>
		<comments>http://www.supportsages.com/blog/2010/05/how-to-do-add-or-delete-an-ip-address-in-the-vps/#comments</comments>
		<pubDate>Wed, 26 May 2010 00:36:33 +0000</pubDate>
		<dc:creator>vince</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[add ip]]></category>
		<category><![CDATA[add ip to server]]></category>
		<category><![CDATA[assign ip]]></category>
		<category><![CDATA[delete ip]]></category>
		<category><![CDATA[delete ip from server]]></category>
		<category><![CDATA[open vz]]></category>
		<category><![CDATA[virtuozzo]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=813</guid>
		<description><![CDATA[Hello there,

Usually, we need to add or remove an IP address in the VPS. Here we go :

<strong>Prerequisites</strong>

You need Node Server access for these (then only you can manage those VPS), that too SSH root access. The VPS should be either OpenVZ or Virtuozzo.

<strong>Steps</strong>

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.

[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    ...]]></description>
			<content:encoded><![CDATA[<p>Hello there,</p>
<p>Usually, we need to add or remove an IP address in the VPS. Here we go :</p>
<p><strong>Prerequisites</strong></p>
<p>You need Node Server access for these (then only you can manage those VPS), that too SSH root access. The VPS should be either OpenVZ or Virtuozzo.</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  test.example.net
78965   236 running    100.20.77.204  server1.example.com
</pre>
<p>Lets consider the VPS with ID 78965 needs the new IP 100.20.80.200 to be added. So the command will be :</p>
<pre class="brush: bash;">

[root@linuxvps1 ~]# vzctl set 78965 --ipadd 100.20.80.200
Adding IP address(es): 100.20.80.200 WARNING: Settings were not saved. On next start the original values will be applied.
Use --save to save the settings in the configuration file.
</pre>
<p>Save the Settings (this command will do the purpose instead of the above one)</p>
<pre class="brush: bash;">

[root@linuxvps1 ~]# vzctl set 78965 --save --ipadd 100.20.80.200
Adding IP address(es): 100.20.80.200 Saved parameters for Container 78965.
</pre>
<p>Thats it, now login to WHM and access &#8216;Change Site&#8217;s IP Address&#8217;. Select the website and change the IP address from the drop down list.</p>
<p><strong>To remove an IP from the VPS</strong></p>
<pre class="brush: bash;">

[root@linuxvps1 ~]# vzctl set 78965 --save --ipdel 100.20.80.200
Deleting IP address(es): 100.20.80.200 Saved parameters for Container 78965.
</pre>
<p>Mission Accomplished !</p>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=How+to+do+%3A+Add+or+Delete+an+IP+Address+in+the+VPS+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F813" 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+do+%3A+Add+or+Delete+an+IP+Address+in+the+VPS+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F813" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2010/05/how-to-do-add-or-delete-an-ip-address-in-the-vps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenVPN issues on a OpenVZ / Virtuozzo enabled VPS</title>
		<link>http://www.supportsages.com/blog/2009/09/openvpn-issues-on-a-openvz-virtuozzo-enabled-vps/</link>
		<comments>http://www.supportsages.com/blog/2009/09/openvpn-issues-on-a-openvz-virtuozzo-enabled-vps/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 16:00:19 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[OpenVPN]]></category>
		<category><![CDATA[openvz]]></category>
		<category><![CDATA[Tun/TAP]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=560</guid>
		<description><![CDATA[<strong>Error</strong> Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)

Just follow the KB at http://wiki.openvz.org/VPN_via_the_TUN/TAP_device

<strong>Error</strong> <span>Note: Cannot set tx queue length on tun0: Operation not permitted (errno=1) </span>

<span>As mentioned in the same KB URL, just do the steps below and things should be alright again</span>
<blockquote>
<pre>vzctl set 101 --devices c:10:200:rw --save
vzctl set 101 --capability net_admin:on --save</pre>
</blockquote>

Basically the errors are caused by the non-execution of the two commands mentioned above.]]></description>
			<content:encoded><![CDATA[<p><strong>Error</strong> Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)</p>
<p>Just follow the KB at http://wiki.openvz.org/VPN_via_the_TUN/TAP_device</p>
<p><strong>Error</strong> <span>Note: Cannot set tx queue length on tun0: Operation not permitted (errno=1) </span></p>
<p><span>As mentioned in the same KB URL, just do the steps below and things should be alright again</span></p>
<blockquote>
<pre>vzctl set 101 --devices c:10:200:rw --save
vzctl set 101 --capability net_admin:on --save</pre>
</blockquote>
<p>Basically the errors are caused by the non-execution of the two commands mentioned above.</p>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=OpenVPN+issues+on+a+OpenVZ+%2F+Virtuozzo+enabled+VPS+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F560" 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=OpenVPN+issues+on+a+OpenVZ+%2F+Virtuozzo+enabled+VPS+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F560" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/09/openvpn-issues-on-a-openvz-virtuozzo-enabled-vps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>User stats in directadmin admin area &#8211; Solved with a good client&#8217;s help :)</title>
		<link>http://www.supportsages.com/blog/2009/06/user-stats-in-directadmin-admin-area-solved-with-a-good-clients-help/</link>
		<comments>http://www.supportsages.com/blog/2009/06/user-stats-in-directadmin-admin-area-solved-with-a-good-clients-help/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 20:58:46 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[DirectAdmin]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[venet0]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=421</guid>
		<description><![CDATA[When one of our clients, Mr. Xavier opened an issue with us regarding the Usage stats not being shown, we were certain that this is a bug with DirectAdmin in the way how its license are read. We changed the ethernet_dev in directadmin.conf, but that didn't work out.

Client was asking us, 

<blockquote>In Admin Area --> Complete Usage Statistics --> Usage stats for venet0:0 is showing "None"

It's possible to fix this to reflect the traffic of this virtual adapter?</blockquote>

DirectAdmin didn't give a direct solution. Instead provided us with a complete packed files related to DirectAdmin. So the solution was this.

<code>cd /usr/local/directadmin
wget ...]]></description>
			<content:encoded><![CDATA[<p>When one of our clients, Mr. Xavier opened an issue with us regarding the Usage stats not being shown, we were certain that this is a bug with DirectAdmin in the way how its license are read. We changed the ethernet_dev in directadmin.conf, but that didn&#8217;t work out.</p>
<p>Client was asking us, </p>
<blockquote><p>In Admin Area &#8211;> Complete Usage Statistics &#8211;> Usage stats for venet0:0 is showing &#8220;None&#8221;</p>
<p>It&#8217;s possible to fix this to reflect the traffic of this virtual adapter?</p></blockquote>
<p>DirectAdmin didn&#8217;t give a direct solution. Instead provided us with a complete packed files related to DirectAdmin. So the solution was this.</p>
<p><code>cd /usr/local/directadmin<br />
wget -O new.tar.gz http://files.directadmin.com/7694310/packed_es50.tar.gz<br />
tar xvzf new.tar.gz<br />
./directadmin p<br />
killall -9 directadmin<br />
./directadmin d<br />
/etc/init.d/directadmin restart<br />
</code></p>
<p>For anyone facing this issue. I didn&#8217;t check more deeper into what changed, but must be related to htmls in data page on how device gets read.</p>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=User+stats+in+directadmin+admin+area+-+Solved+with+a+good+client%27s+help+%3A%29+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F421" 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=User+stats+in+directadmin+admin+area+-+Solved+with+a+good+client%27s+help+%3A%29+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F421" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/06/user-stats-in-directadmin-admin-area-solved-with-a-good-clients-help/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>How do I reset the root mysql pass, lxadmin created ?</title>
		<link>http://www.supportsages.com/blog/2009/04/how-do-i-reset-the-root-mysql-pass-lxadmin-created/</link>
		<comments>http://www.supportsages.com/blog/2009/04/how-do-i-reset-the-root-mysql-pass-lxadmin-created/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 06:47:51 +0000</pubDate>
		<dc:creator>Fabian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[forgot pass]]></category>
		<category><![CDATA[hypervm]]></category>
		<category><![CDATA[lxadmin]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=116</guid>
		<description><![CDATA[Oh, do it from the GUI lxadmin gives you OR else, do it console based way.
<blockquote># cd /usr/local/lxlabs/lxadmin/httpdocs/
# lphp.exe ../bin/common/misc/reset-mysql-root-password.phps</blockquote>]]></description>
			<content:encoded><![CDATA[<p>Oh, do it from the GUI lxadmin gives you OR else, do it console based way.</p>
<blockquote><p># cd /usr/local/lxlabs/lxadmin/httpdocs/<br />
# lphp.exe ../bin/common/misc/reset-mysql-root-password.phps</p></blockquote>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=How+do+I+reset+the+root+mysql+pass%2C+lxadmin+created+%3F+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F116" 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+do+I+reset+the+root+mysql+pass%2C+lxadmin+created+%3F+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F116" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/04/how-do-i-reset-the-root-mysql-pass-lxadmin-created/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server refused to allocate pty in a VPS &amp; CentOS 5.3</title>
		<link>http://www.supportsages.com/blog/2009/04/server-refused-to-allocate-pty-in-a-vps-centos-53/</link>
		<comments>http://www.supportsages.com/blog/2009/04/server-refused-to-allocate-pty-in-a-vps-centos-53/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 01:51:04 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[openvz]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=47</guid>
		<description><![CDATA[With CentOS 5.3 released on 1st April of this year, more udev related issues crops in. I don't know when OpenVZ will get better in its thinking. Issue is there in every VPS who has got the udev upgraded as a result of no excludes in yum.conf entries. Two solutions exists as per <a href="http://wiki.openvz.org/Container_enter_failed">http://wiki.openvz.org/Container_enter_failed</a>

Editing the rc.sysinit is the solution which will work here. But when I explained to one of our customers that we edited rc.sysinit, he thought it is /etc/rc.sysinit in the node. <span style="color: #ff0000;">Be warned : Don't do that! </span>Instead from the node edit the etc/sysinit ...]]></description>
			<content:encoded><![CDATA[<p>With CentOS 5.3 released on 1st April of this year, more udev related issues crops in. I don&#8217;t know when OpenVZ will get better in its thinking. Issue is there in every VPS who has got the udev upgraded as a result of no excludes in yum.conf entries. Two solutions exists as per <a  href="http://wiki.openvz.org/Container_enter_failed">http://wiki.openvz.org/Container_enter_failed</a></p>
<p>Editing the rc.sysinit is the solution which will work here. But when I explained to one of our customers that we edited rc.sysinit, he thought it is /etc/rc.sysinit in the node. <span style="color: #ff0000;">Be warned : Don&#8217;t do that! </span>Instead from the node edit the etc/sysinit of the VPS, like vi /vz/private/VPSID/etc/rc.sysinit.</p>
<p>However the proper solution, we believe is to</p>
<p>yum remove udev</p>
<p>go ahead with yes to remove dependencies as well. It will also remove ImageMagick, which you have to later install it manually from source. Follow the how to for the installation of ImageMagick below, since the yum based installation of ImageMagick has dependency on hal and udev packages.</p>
<p>/me wonders why are they dependent though..</p>
<blockquote><p>
yum install ghostscript<br />
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz<br />
tar xvzf ImageMagick.tar.gz<br />
rm -rf ImageMagick.tar.gz<br />
cd ImageMagick*<br />
./configure &#8211;enable-shared &#8211;with-modules  &#8211;with-freetype=yes &#8211;with-gs-font-dir=default &#8211;with-perl=yes &#8211;with-xml=yes &#8211;with-zlib=yes &#8211;with-jpeg=yes &#8211;with-png=yes &#8211;without-x<br />
make<br />
make install</p></blockquote>
<p>After the udev is removed, edit the /etc/yum.conf and make sure that the exclude= line has udev*  mkinitrd module-init-tools and kernel*  added to it. cPanel usually adds kernel*, but I guess its our responsibility to add udev* in a VPS, till cPanel&#8217;s upcp does it for us in a VPS <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=Server+refused+to+allocate+pty+in+a+VPS+%26+CentOS+5.3+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F47" 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=Server+refused+to+allocate+pty+in+a+VPS+%26+CentOS+5.3+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F47" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/04/server-refused-to-allocate-pty-in-a-vps-centos-53/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
