<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>24x7servermanagement.com</title>
	
	<link>http://24x7servermanagement.com/blog</link>
	<description>P r o f e s s i o n a l -- M a n a g e m e n t -- S o l u t i o n s</description>
	<lastBuildDate>Mon, 27 Feb 2012 10:52:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/24x7servermanagementTechnicalBlog" /><feedburner:info uri="24x7servermanagementtechnicalblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Add ips on Debian server</title>
		<link>http://feedproxy.google.com/~r/24x7servermanagementTechnicalBlog/~3/fJQGrMedmBE/</link>
		<comments>http://24x7servermanagement.com/blog/?p=838#comments</comments>
		<pubDate>Mon, 27 Feb 2012 10:52:30 +0000</pubDate>
		<dc:creator>Sonali</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://24x7servermanagement.com/blog/?p=838</guid>
		<description><![CDATA[How to Add Secondary IP&#8217;s to Debian server :
You can add a second virtual interface (sometimes called an &#8220;alias&#8221;) to the primary network interface. This is configured, like all network interface settings   in /etc/network/interfaces    file.
The  file looks like -
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
debian:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate [...]]]></description>
			<content:encoded><![CDATA[<p>How to Add Secondary IP&#8217;s to Debian server :</p>
<p>You can add a second virtual interface (sometimes called an &#8220;alias&#8221;) to the primary network interface. This is configured, like all network interface settings   in /etc/network/interfaces    file.</p>
<p>The  file looks like -<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
debian:~# cat /etc/network/interfaces<br />
# This file describes the network interfaces available on your system<br />
# and how to activate them. For more information, see interfaces(5).<br />
# The loopback network interface<br />
auto lo<br />
iface lo inet loopback</p>
<p># The primary network interface<br />
auto eth0<br />
iface eth0 inet static<br />
address x.x.x.x<br />
gateway x.x.x.x<br />
netmask y.y.y.y<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>A simple example, assuming your primary network interface is eth0 and has an ip of 192.168.1.1 and need to add secondary ip  192.168.1.5  , then edit /etc/network/interfaces  file as below -</p>
<p>debian:~#  nano -w /etc/network/interfaces</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
# The primary network interface<br />
auto eth0<br />
iface eth0 inet static<br />
address 192.168.1.1<br />
netmask 255.255.255.0<br />
gateway 192.168.1.254</p>
<p>#secondary ips</p>
<p>auto eth0:0<br />
iface eth0:0 inet static<br />
address 192.168.1.5<br />
netmask 255.255.255.0<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Then of course restart networking and verify&#8230;</p>
<p>/etc/init.d/networking restart</p>
<p>and check<br />
ifconfig -a</p>
<p>That&#8217;s it !</p>
<p><span style="font-family: Arial; color: #000000; font-size: x-small;">____________<br />
Regards,<br />
Sonali K.<br />
Level-3 Systems Administrator<br />
<a title="http://24x7servermanagement.com/" href="../../"><span style="font-family: Arial; font-size: x-small;">http://24&#215;7servermanagement.com/</span></a><br />
Email: <a title="mailto:sonali@24x7servermanagement.net" href="mailto:sonali@24x7servermanagement.net">sonali@24&#215;7servermanagement.net</a></span></p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=24x7servermanagement.com&amp;siteurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F&amp;linkname=Add%20ips%20on%20Debian%20server&amp;linkurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F%3Fp%3D838"><img src="http://24x7servermanagement.com/blog/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">
		a2a_linkname="Add ips on Debian server";
		a2a_linkurl="http://24x7servermanagement.com/blog/?p=838";
				    </script>
    <script type="text/javascript" src="http://www.addtoany.com/menu/page.js"></script>

	</p><img src="http://feeds.feedburner.com/~r/24x7servermanagementTechnicalBlog/~4/fJQGrMedmBE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://24x7servermanagement.com/blog/?feed=rss2&amp;p=838</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://24x7servermanagement.com/blog/?p=838</feedburner:origLink></item>
		<item>
		<title>cPanel to DirectAdmin migration conversion tool</title>
		<link>http://feedproxy.google.com/~r/24x7servermanagementTechnicalBlog/~3/FtcCNDsfu9o/</link>
		<comments>http://24x7servermanagement.com/blog/?p=832#comments</comments>
		<pubDate>Fri, 24 Feb 2012 11:54:44 +0000</pubDate>
		<dc:creator>Arun</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[DirectAdmin]]></category>
		<category><![CDATA[Hot Scripts]]></category>

		<guid isPermaLink="false">http://24x7servermanagement.com/blog/?p=832</guid>
		<description><![CDATA[Its now quite easy to migrate accounts from cPanel to DirectAdmin using conversion tool
Before proceed,  First we will need to download conversion tool  and you can download it from here ::
DOWNLOAD HERE 
STEPS TO FOLLOW :: 
 1) Download and extract the version URL (from above) that you wish to use. (wget and tar xzf)
 [...]]]></description>
			<content:encoded><![CDATA[<p>Its now quite easy to migrate accounts from cPanel to DirectAdmin using conversion tool</p>
<p>Before proceed,  First we will need to download conversion tool  and you can download it from here ::</p>
<p><a href="http://24x7servermanagement.com/blog/wp-content/uploads/2012/02/cpanel-convertor.tar.gz">DOWNLOAD HERE </a></p>
<p><strong>STEPS TO FOLLOW :: </strong><br />
<strong> 1)</strong> Download and extract the version URL (from above) that you wish to use. (<span style="font-family: 'courier new';">wget</span> and <span style="font-family: 'courier new';">tar xzf</span>)</p>
<p><strong> 2)</strong> Create import and export directories for the tool to use. (<span style="font-family: 'courier new';">mkdir import export</span>)</p>
<p><strong> 3)</strong> Copy your cPanel user backups into the <span style="font-family: 'courier new';">import</span> directory.</p>
<p><strong> 4)</strong> Edit <span style="font-family: 'courier new';">defaults.conf</span> to match the DA   server you will be restoring to. The only fields you must change are the   IP and name server fields. The tool will not work if you fail to do   this!</p>
<p><strong> 5)</strong> Execute <span style="font-family: 'courier new';">perl da.cpanel.import.pl</span> and follow the on-screen instructions (which will duplicate the steps here to a degree).</p>
<p><strong> 6) </strong>After the tool is finished converting (or as it completes each individual user), move your new DA user backups from the <span style="font-family: 'courier new';">export</span> directory to any DA <span style="font-family: 'courier new';">/home/RESELLER/user_backups</span> directory*</p>
<p><strong> 7)</strong> Restore the DA user backups in DA&#8217;s reseller-level <strong>Manage User Backups</strong> tool.</p>
<p>You are done now <img src='http://24x7servermanagement.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you have any difficulties, please email me here :: arun@24&#215;7servermanagement.net</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Regards,<br />
Arun P.<br />
Level-3 Systems Administrator</p>
<p>http://24&#215;7servermanagement.com/</p>
<p>Email: Arun@24&#215;7servermanagement.net</p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=24x7servermanagement.com&amp;siteurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F&amp;linkname=cPanel%20to%20DirectAdmin%20migration%20conversion%20tool&amp;linkurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F%3Fp%3D832"><img src="http://24x7servermanagement.com/blog/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">
		a2a_linkname="cPanel to DirectAdmin migration conversion tool";
		a2a_linkurl="http://24x7servermanagement.com/blog/?p=832";
				    </script>
    <script type="text/javascript" src="http://www.addtoany.com/menu/page.js"></script>

	</p><img src="http://feeds.feedburner.com/~r/24x7servermanagementTechnicalBlog/~4/FtcCNDsfu9o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://24x7servermanagement.com/blog/?feed=rss2&amp;p=832</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://24x7servermanagement.com/blog/?p=832</feedburner:origLink></item>
		<item>
		<title>FTP Error “530 Valid Hostname is expected”</title>
		<link>http://feedproxy.google.com/~r/24x7servermanagementTechnicalBlog/~3/LGQ50ATdck8/</link>
		<comments>http://24x7servermanagement.com/blog/?p=830#comments</comments>
		<pubDate>Fri, 04 Mar 2011 07:01:37 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Binding FTP site]]></category>
		<category><![CDATA[FTP site]]></category>
		<category><![CDATA[IIS7]]></category>

		<guid isPermaLink="false">http://24x7servermanagement.com/blog/?p=830</guid>
		<description><![CDATA[When connecting to IIS7 using FTP you get the following error.
Response: 530 Valid hostname is expected.
Error: Could not connect to server
Reason
When you set up name-based FTP services IIS7 wants the sitename defined with the username so that IIS7 can associate the username with the site they wish to log in to.
If you are having more [...]]]></description>
			<content:encoded><![CDATA[<p>When connecting to IIS7 using FTP you get the following error.</p>
<p><strong>Response: 530 Valid hostname is expected.<br />
Error: Could not connect to server</strong></p>
<p><span style="text-decoration: underline;">Reason</span></p>
<p>When you set up name-based FTP services IIS7 wants the sitename defined with the username so that IIS7 can associate the username with the site they wish to log in to.</p>
<p>If you are having more than one FTP site on your VPS you will need to access FTP via following method.</p>
<p>Host: Mydomain.com<br />
User: Mydomain.com|Username</p>
<p>Note the &#8220;|&#8221; that seperates the Sitename and the Username.</p>
<p>OR you remove the &#8220;Host Name&#8221; defined in the &#8220;Bindings&#8221; property of the FTP site.</p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=24x7servermanagement.com&amp;siteurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F&amp;linkname=FTP%20Error%20%E2%80%9C530%20Valid%20Hostname%20is%20expected%E2%80%9D&amp;linkurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F%3Fp%3D830"><img src="http://24x7servermanagement.com/blog/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">
		a2a_linkname="FTP Error “530 Valid Hostname is expected”";
		a2a_linkurl="http://24x7servermanagement.com/blog/?p=830";
				    </script>
    <script type="text/javascript" src="http://www.addtoany.com/menu/page.js"></script>

	</p><img src="http://feeds.feedburner.com/~r/24x7servermanagementTechnicalBlog/~4/LGQ50ATdck8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://24x7servermanagement.com/blog/?feed=rss2&amp;p=830</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://24x7servermanagement.com/blog/?p=830</feedburner:origLink></item>
		<item>
		<title>Register 32-bit dynamic-link library (dll) on 64-BIT Windows 2008 server</title>
		<link>http://feedproxy.google.com/~r/24x7servermanagementTechnicalBlog/~3/cMTAvEt-_S4/</link>
		<comments>http://24x7servermanagement.com/blog/?p=827#comments</comments>
		<pubDate>Fri, 03 Dec 2010 06:50:32 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Windows Plesk]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[64-bit windows 2008]]></category>
		<category><![CDATA[DLL file]]></category>
		<category><![CDATA[register DLL file]]></category>
		<category><![CDATA[regsvr32.exe]]></category>

		<guid isPermaLink="false">http://24x7servermanagement.com/blog/?p=827</guid>
		<description><![CDATA[Here is the method on how to register a 32-bit DLL file on a 64-BIT  Windows 2008 server.
When you attempt to run Regsvr32.exe to register a 32-bit dynamic-link library (DLL) on a 64-bit version of Windows via command prompt, you may receive certain error messages, This behavior occurs because the Regsvr32.exe file in the System32 [...]]]></description>
			<content:encoded><![CDATA[<p>Here is the method on how to register a 32-bit DLL file on a 64-BIT  Windows 2008 server.</p>
<p>When you attempt to run Regsvr32.exe to register a 32-bit dynamic-link library (DLL) on a 64-bit version of Windows via command prompt, you may receive certain error messages, This behavior occurs because the Regsvr32.exe file in the System32 folder is a 64-bit version. When you run Regsvr32 to register a DLL, you are using the 64-bit version by default.</p>
<p>So what you need to do is either move the DLL file into C:\Windows\syswow64  then change the path to C:\Windows\syswow64 folder and run the following command</p>
<p><strong>regsvr32.exe filename.dll</strong></p>
<p>OR</p>
<p>run Regsvr32.exe from the %SystemRoot%\Syswow64 folder.  For example, type the following commands to register the DLL:</p>
<p><strong>cd \windows\syswow64</p>
<p>regsvr32 c:\filename.dll </strong></p>
<p>Any of the above methods can work for you, Just make sure you are using the correct regsvr32 file from the specified location. Once again The Syswow64 folder contains the 32-bit versions of Windows program files and DLLs.</p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=24x7servermanagement.com&amp;siteurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F&amp;linkname=Register%2032-bit%20dynamic-link%20library%20%28dll%29%20on%2064-BIT%20Windows%202008%20server&amp;linkurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F%3Fp%3D827"><img src="http://24x7servermanagement.com/blog/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">
		a2a_linkname="Register 32-bit dynamic-link library (dll) on 64-BIT Windows 2008 server";
		a2a_linkurl="http://24x7servermanagement.com/blog/?p=827";
				    </script>
    <script type="text/javascript" src="http://www.addtoany.com/menu/page.js"></script>

	</p><img src="http://feeds.feedburner.com/~r/24x7servermanagementTechnicalBlog/~4/cMTAvEt-_S4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://24x7servermanagement.com/blog/?feed=rss2&amp;p=827</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://24x7servermanagement.com/blog/?p=827</feedburner:origLink></item>
		<item>
		<title>Adding .svc extension with IIS – Windows 2008</title>
		<link>http://feedproxy.google.com/~r/24x7servermanagementTechnicalBlog/~3/0Y9KIahQeGU/</link>
		<comments>http://24x7servermanagement.com/blog/?p=824#comments</comments>
		<pubDate>Sat, 13 Nov 2010 07:02:36 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Windows Plesk]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[aspnet_isapi.dll]]></category>
		<category><![CDATA[handler mappings]]></category>
		<category><![CDATA[IIS Hosted Service]]></category>
		<category><![CDATA[svc]]></category>

		<guid isPermaLink="false">http://24x7servermanagement.com/blog/?p=824</guid>
		<description><![CDATA[To verify that the svc file type is mapped correctly in IIS 7.0
1.      Open a command prompt window and type start inetmgr to open the Internet Information Services (IIS) MMC snap-in.
2.      In the left pane, expand the node with the computer&#8217;s name, then expand the Web Sites node, and then select the Default Web Site.
3.      [...]]]></description>
			<content:encoded><![CDATA[<p>To verify that the svc file type is mapped correctly in IIS 7.0</p>
<p>1.      Open a command prompt window and type start inetmgr to open the Internet Information Services (IIS) MMC snap-in.</p>
<p>2.      In the left pane, expand the node with the computer&#8217;s name, then expand the Web Sites node, and then select the Default Web Site.</p>
<p>3.      Double-click Handler mappings in the Features View.</p>
<p>4.      In the list of application mappings, verify that the .svc file is mapped to the aspnet_isapi.dll. If the file has not been mapped:</p>
<p>1. Click Add Managed Handler.</p>
<p>2. Type *.svc into the Request path:.</p>
<p>3. Type System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 into the Type textbox.</p>
<p>4. Type svc-Integrated into the Name: textbox.</p>
<p>5. Click OK.</p>
<p>6. Click Add Script Map.</p>
<p>7. Type *.svc into the Request path:.</p>
<p>8. Type %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll into the Executable: text box.</p>
<p>9. Type svc-ISAPI-2.0 into the Name: text box.</p>
<p>10. Using the Move Up/Move Down controls, ensure that the managed handler (svc-Integrated) appears before the aspnet_isapi (svc-ISAPI-2.0) handler in the list.</p>
<p>11. Click OK.</p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=24x7servermanagement.com&amp;siteurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F&amp;linkname=Adding%20.svc%20extension%20with%20IIS%20%E2%80%93%20Windows%202008&amp;linkurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F%3Fp%3D824"><img src="http://24x7servermanagement.com/blog/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">
		a2a_linkname="Adding .svc extension with IIS – Windows 2008";
		a2a_linkurl="http://24x7servermanagement.com/blog/?p=824";
				    </script>
    <script type="text/javascript" src="http://www.addtoany.com/menu/page.js"></script>

	</p><img src="http://feeds.feedburner.com/~r/24x7servermanagementTechnicalBlog/~4/0Y9KIahQeGU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://24x7servermanagement.com/blog/?feed=rss2&amp;p=824</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://24x7servermanagement.com/blog/?p=824</feedburner:origLink></item>
		<item>
		<title>PHP Warning: Unknown: POST Content-Length of 28 bytes exceeds the limit of -2147483648 bytes in Unknown on line 0</title>
		<link>http://feedproxy.google.com/~r/24x7servermanagementTechnicalBlog/~3/_GXZ6NMu5xA/</link>
		<comments>http://24x7servermanagement.com/blog/?p=822#comments</comments>
		<pubDate>Tue, 14 Sep 2010 05:39:14 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux Plesk]]></category>
		<category><![CDATA[Linux Server]]></category>
		<category><![CDATA[VPS Cpanel]]></category>
		<category><![CDATA[VPS Plesk]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[post_max_size]]></category>
		<category><![CDATA[restart apache]]></category>

		<guid isPermaLink="false">http://24x7servermanagement.com/blog/?p=822</guid>
		<description><![CDATA[If you are noticing the above error in apache error logs and having problems for login scripts the problem is with post_max_size variable in php.ini
Here is what you need to do, Find out the correct php.ini configuration file.
root@server [/usr]# php -i &#124; grep php.ini
Configuration File (php.ini) Path =&#62; /usr/local/lib
Loaded Configuration File =&#62; /usr/local/lib/php.ini
Edit the loaded [...]]]></description>
			<content:encoded><![CDATA[<p>If you are noticing the above error in apache error logs and having problems for login scripts the problem is with post_max_size variable in php.ini</p>
<p>Here is what you need to do, Find out the correct php.ini configuration file.</p>
<p><span style="color: #008000;">root@server [/usr]# php -i | grep php.ini</span></p>
<p><span style="color: #008000;">Configuration File (php.ini) Path =&gt; /usr/local/lib<br />
Loaded Configuration File =&gt; /usr/local/lib/php.ini</span></p>
<p>Edit the loaded php.ini file and check for post_max_size variable value, Set it to 8M which is best recommended.</p>
<p><span style="color: #008000;">root@server [/usr]# grep post_max /usr/local/lib/php.ini</span></p>
<p><span style="color: #008000;">post_max_size = 8M</span></p>
<p>Then restart apache, That should resolve the problem.</p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=24x7servermanagement.com&amp;siteurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F&amp;linkname=PHP%20Warning%3A%20Unknown%3A%20POST%20Content-Length%20of%2028%20bytes%20exceeds%20the%20limit%20of%20-2147483648%20bytes%20in%20Unknown%20on%20line%200&amp;linkurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F%3Fp%3D822"><img src="http://24x7servermanagement.com/blog/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">
		a2a_linkname="PHP Warning: Unknown: POST Content-Length of 28 bytes exceeds the limit of -2147483648 bytes in Unknown on line 0";
		a2a_linkurl="http://24x7servermanagement.com/blog/?p=822";
				    </script>
    <script type="text/javascript" src="http://www.addtoany.com/menu/page.js"></script>

	</p><img src="http://feeds.feedburner.com/~r/24x7servermanagementTechnicalBlog/~4/_GXZ6NMu5xA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://24x7servermanagement.com/blog/?feed=rss2&amp;p=822</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://24x7servermanagement.com/blog/?p=822</feedburner:origLink></item>
		<item>
		<title>Upgrade Mysql on Plesk CentOS Linux</title>
		<link>http://feedproxy.google.com/~r/24x7servermanagementTechnicalBlog/~3/FM10tNlNBC0/</link>
		<comments>http://24x7servermanagement.com/blog/?p=818#comments</comments>
		<pubDate>Tue, 10 Aug 2010 06:09:06 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Linux Plesk]]></category>
		<category><![CDATA[VPS Plesk]]></category>
		<category><![CDATA[atomic sh]]></category>
		<category><![CDATA[plesk mysql]]></category>
		<category><![CDATA[plesk php]]></category>
		<category><![CDATA[upgrade mysql]]></category>
		<category><![CDATA[upgrade php]]></category>
		<category><![CDATA[yum upgrade php]]></category>

		<guid isPermaLink="false">http://24x7servermanagement.com/blog/?p=818</guid>
		<description><![CDATA[We had successfully upgraded from Mysql 5.0 to Mysql 5.1.47 along with PHP on one of our plesk server. Please use this solution if you notice any package conflicts, or other concerns with using 5.1 in your environment. Like PHP, this will be a full change to the newer packages and the 5.0 series will [...]]]></description>
			<content:encoded><![CDATA[<p>We had successfully upgraded from Mysql 5.0 to Mysql 5.1.47 along with PHP on one of our plesk server. Please use this solution if you notice any package conflicts, or other concerns with using 5.1 in your environment. Like PHP, this will be a full change to the newer packages and the 5.0 series will be retired. The procedure is quite simple</p>
<p><span style="color: #008000;">1.) wget -q -O &#8211; http://www.atomicorp.com/installers/atomic.sh | sh</span></p>
<p><span style="color: #008000;">2.)  To upgrade:</span></p>
<p><span style="color: #008000;">yum &#8211;enablerepo=atomic-testing upgrade mysql</span></p>
<p><span style="color: #008000;">Thats it,  And if you</span><span style="color: #008000;"> simply want to upgrade php run &#8220;yum upgrade php&#8221;</span></p>
<p>With the above methods mysql will be upgraded to latest release without any problems.</p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=24x7servermanagement.com&amp;siteurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F&amp;linkname=Upgrade%20Mysql%20on%20Plesk%20CentOS%20Linux&amp;linkurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F%3Fp%3D818"><img src="http://24x7servermanagement.com/blog/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">
		a2a_linkname="Upgrade Mysql on Plesk CentOS Linux";
		a2a_linkurl="http://24x7servermanagement.com/blog/?p=818";
				    </script>
    <script type="text/javascript" src="http://www.addtoany.com/menu/page.js"></script>

	</p><img src="http://feeds.feedburner.com/~r/24x7servermanagementTechnicalBlog/~4/FM10tNlNBC0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://24x7servermanagement.com/blog/?feed=rss2&amp;p=818</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://24x7servermanagement.com/blog/?p=818</feedburner:origLink></item>
		<item>
		<title>Manual Installation of Nginx in Cpanel Apache in proxy mode</title>
		<link>http://feedproxy.google.com/~r/24x7servermanagementTechnicalBlog/~3/xKh01Yrzhb0/</link>
		<comments>http://24x7servermanagement.com/blog/?p=814#comments</comments>
		<pubDate>Thu, 22 Jul 2010 06:13:26 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[VPS Cpanel]]></category>
		<category><![CDATA[cpanel apache]]></category>
		<category><![CDATA[cpanel install nginx]]></category>
		<category><![CDATA[how to install nginx on cpanel]]></category>
		<category><![CDATA[install nginx]]></category>
		<category><![CDATA[install nginx cpanel]]></category>
		<category><![CDATA[install nginx with cpanel]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[nginx cpanel]]></category>
		<category><![CDATA[nginx mod_rpaf-0.6 cpanel]]></category>
		<category><![CDATA[nginx proxy]]></category>
		<category><![CDATA[nginx reverse proxy cpanel]]></category>
		<category><![CDATA[nginx start]]></category>
		<category><![CDATA[rpaf_module]]></category>

		<guid isPermaLink="false">http://24x7servermanagement.com/blog/?p=814</guid>
		<description><![CDATA[1. In order to get the cPanel server ready for nginx – you must first install an apache module called mod_rpaf
Login as root:
# cd /usr/local/src
# wget http://stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
# tar xvzf mod_rpaf-0.6.tar.gz
# cd mod_rpaf-0.6
# /usr/local/apache/bin/apxs -i -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c

2. Doing so will install the module into the Apache module directory.
Then Go to your  Web Host Manager [...]]]></description>
			<content:encoded><![CDATA[<p>1. In order to get the cPanel server ready for nginx – you must first install an apache module called mod_rpaf</p>
<p>Login as root:<br />
<span style="color: #008000;"><strong># cd /usr/local/src<br />
# wget http://stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz<br />
# tar xvzf mod_rpaf-0.6.tar.gz<br />
# cd mod_rpaf-0.6<br />
# /usr/local/apache/bin/apxs -i -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c</strong><br />
</span><br />
2. Doing so will install the module into the Apache module directory.</p>
<p>Then Go to your  Web Host Manager (WHM) follow the tree here:<br />
Main &gt;&gt; Service Configuration &gt;&gt; Apache Configuration &gt; Include Editor &gt; Pre Main Include and Select the apache version that is running on your cPanel server. and then add following code section there, and replace (place your ips here without the brakets) with the list of IP addresses on your Cpanel server:</p>
<p><strong><span style="color: #008000;">==================================================<br />
LoadModule rpaf_module modules/mod_rpaf-2.0.so</span></strong></p>
<p><span style="color: #008000;"><strong>RPAFenable On<br />
# Enable reverse proxy add forward</strong></span></p>
<p><span style="color: #008000;"><strong>RPAFproxy_ips 127.0.0.1  (place all your ips here without the brakets)</strong></span></p>
<p><span style="color: #008000;"><strong>RPAFsethostname On<br />
# let rpaf update vhost settings allowing to have<br />
# the same hostnames as in the &#8220;actual&#8221; configuration for the<br />
# forwarding apache installation</strong></span></p>
<p><strong><span style="color: #008000;">RPAFheader X-Real-IP<br />
# Allows you to change which header we have mod_rpaf looking for<br />
# when trying to find the ip the that is forwarding our requests</span><br />
===================================================</strong></p>
<p>3. Once this is completed – we are ready to move Apache to another port. To move the apache to another port follow the below:</p>
<p><strong><span style="color: #008000;">Go to your WHM  &gt;&gt; &#8220;tweak settings&#8221;  and change the apache port from 80 to 81 (find 0.0.0.0:80 and change it to 0.0.0.0.:81)</span></strong></p>
<p>4. Do the following</p>
<p><strong><span style="color: #008000;"># /usr/local/cpanel/whostmgr/bin/whostmgr2 &#8211;updatetweaksettings</span></strong></p>
<p>5. Check your &#8220;/usr/local/apache/conf/httpd.conf&#8221;  for any occurrences of port 80,<br />
<span style="color: #008000;"><strong>#  vi /usr/local/apache/conf/httpd.conf</strong></span></p>
<p>Find for port 80 if you found any occurrences of port 80 then rebuild your apache configuration file by running<br />
<span style="color: #008000;"><strong># /scripts/rebuildhttpdconf   and make sure your httpd.conf file is up to date </strong></span></p>
<p>6. Then run<br />
<span style="color: #008000;"><strong># /etc/init.d/httpd restart</strong></span></p>
<p>7. Now install Nginx. You must install pcre library in order to install Nginx on your cPanel server:</p>
<p><span style="color: #008000;"><strong># wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.gz<br />
# tar xvzf pcre-7.9.tar.gz<br />
# cd pcre-7.9<br />
# ./configure<br />
# make<br />
# make install</strong></span></p>
<p>Now Install Nginx</p>
<p><span style="color: #008000;"><strong>#wget http://sysoev.ru/nginx/nginx-0.7.63.tar.gz<br />
# tar xvzf nginx-0.7.63.tar.gz<br />
# cd nginx-0.7.63<br />
# ./configure<br />
# make<br />
# make install </strong></span></p>
<p>9. Create nginx.sh file and put the below code section to the file :</p>
<p><span style="color: #008000;"><strong># vi  nginx.sh</strong></span><br />
===================================================================<br />
<span style="color: #008000;"><strong>#!/bin/sh</strong></span></p>
<p><span style="color: #008000;"><strong>cat &gt; &#8220;/usr/local/nginx/conf/nginx.conf&#8221; &lt;&lt;EOF</strong><strong><br />
user  nobody;<br />
# no need for more workers in the proxy mode<br />
worker_processes  2;</strong></span></p>
<p><span style="color: #008000;"><strong>error_log  logs/error.log info;</strong></span></p>
<p><span style="color: #008000;"><strong>worker_rlimit_nofile  8192;</strong></span></p>
<p><span style="color: #008000;"><strong>events {</strong><strong><br />
worker_connections  1024; # you might need to increase this setting for busy servers<br />
use epoll; #  Linux kernels 2.6.x change to epoll<br />
}</strong></span></p>
<p><span style="color: #008000;"><strong>http {</strong><strong><br />
server_names_hash_max_size 2048;</strong></span></p>
<p><span style="color: #008000;"><strong>include    mime.types;</strong><strong><br />
default_type  application/octet-stream;</strong></span></p>
<p><span style="color: #008000;"><strong>sendfile on;</strong><strong><br />
tcp_nopush on;<br />
tcp_nodelay on;</strong></span></p>
<p><span style="color: #008000;"><strong>keepalive_timeout  10;</strong></span></p>
<p><span style="color: #008000;"><strong>gzip on;</strong><strong><br />
gzip_min_length  1100;<br />
gzip_buffers  4 32k;<br />
gzip_types    text/plain application/x-javascript text/xml text/css;<br />
ignore_invalid_headers on;</strong></span></p>
<p><span style="color: #008000;"><strong>client_header_timeout  3m;</strong><strong><br />
client_body_timeout 3m;<br />
send_timeout     3m;<br />
connection_pool_size  256;<br />
client_header_buffer_size 4k;<br />
large_client_header_buffers 4 32k;<br />
request_pool_size  4k;<br />
output_buffers   4 32k;<br />
postpone_output  1460;</strong></span></p>
<p><span style="color: #008000;"><strong>include &#8220;/usr/local/nginx/conf/vhost.conf&#8221;;</strong><strong><br />
}</strong></span></p>
<p><span style="color: #008000;"><strong>EOF</strong></span></p>
<p><span style="color: #008000;"><strong>/bin/cp /dev/null /usr/local/nginx/conf/vhost.conf</strong></span></p>
<p><span style="color: #008000;"><strong>cd /var/cpanel/users</strong><strong><br />
for USER in *; do<br />
for DOMAIN in `cat $USER | grep ^DNS | cut -d= -f2`; do<br />
IP=`cat $USER|grep ^IP|cut -d= -f2`;<br />
ROOT=`grep ^$USER: /etc/passwd|cut -d: -f6`;<br />
echo &#8220;Converting $DOMAIN for $USER&#8221;;</strong></span></p>
<p><span style="color: #008000;"><strong>cat &gt;&gt; &#8220;/usr/local/nginx/conf/vhost.conf&#8221; &lt;&lt;EOF</strong><strong><br />
server {<br />
access_log off;</strong></span></p>
<p><span style="color: #008000;"><strong>error_log  logs/vhost-error_log warn;</strong><strong><br />
listen    80;<br />
server_name  $DOMAIN www.$DOMAIN;</strong></span></p>
<p><span style="color: #008000;"><strong>location ~* \.(gif|jpg|jpeg|png|ico|wmv|3gp|avi|mpg|mpeg|mp4|flv|mp3|mid|js|css|html|htm|wml)$ {<br />
root   $ROOT/public_html;<br />
}</strong></span></p>
<p><span style="color: #008000;"><strong>location / {</strong><strong><br />
client_max_body_size    10m;<br />
client_body_buffer_size 128k;</strong></span></p>
<p><span style="color: #008000;"><strong>proxy_send_timeout   90;</strong><strong><br />
proxy_read_timeout   90;</strong></span></p>
<p><span style="color: #008000;"><strong>proxy_buffer_size    4k;</strong><strong><br />
# you can increase proxy_buffers here to suppress &#8220;an upstream response<br />
#  is buffered to a temporary file&#8221; warning<br />
proxy_buffers     16 32k;<br />
proxy_busy_buffers_size 64k;<br />
proxy_temp_file_write_size 64k;</strong></span></p>
<p><span style="color: #008000;"><strong>proxy_connect_timeout 30s;</strong></span></p>
<p><span style="color: #008000;"><strong>proxy_redirect  http://www.$DOMAIN:81   http://www.$DOMAIN;</strong><strong><br />
proxy_redirect  http://$DOMAIN:81   http://$DOMAIN;</strong></span></p>
<p><span style="color: #008000;"><strong>proxy_pass   http://$IP:81/;</strong></span></p>
<p><span style="color: #008000;"><strong>proxy_set_header   Host   \$host;</strong></span><strong><span style="color: #008000;"><br />
proxy_set_header   X-Real-IP  \$remote_addr;<br />
proxy_set_header   X-Forwarded-For \$proxy_add_x_forwarded_for;<br />
}<br />
}<br />
EOF<br />
done<br />
done</span><br />
</strong> ===================================================================================</p>
<p>8. Save the file and change the permision and then run :<br />
<span style="color: #008000;"><strong># chmod 755 nginx.sh<br />
# sh nginx.sh</strong></span></p>
<p>9. Now Check the  Nginx configuration<br />
<span style="color: #008000;"><strong>#/usr/local/nginx/sbin/nginx -t</strong></span></p>
<p>=============================<br />
Great install instructions, everything worked fine just some additional info if you get error like  invalid event type “rtsig” when you run this commmand: # /usr/local/nginx/sbin/nginx -t</p>
<p>To correct this error you should do this: vi /usr/local/nginx/conf/nginx.conf<br />
Find line 11 and change “rtsig” to “epoll” .</p>
<p>This error occures in case your server is using kernel 2.4.x<br />
===============================</p>
<p>10. Restart Nginx<br />
<span style="color: #008000;"><strong># /usr/local/nginx/sbin/nginx </strong></span></p>
<p>11. create init script</p>
<p><span style="color: #008000;"><strong># vi /etc/init.d/nginx<br />
And put the below code section to the file:<br />
========================================================================<br />
#!/bin/sh<br />
#<br />
# nginx &#8211; this script starts and stops the nginx daemin<br />
# Taken from http://www.hikaro.com<br />
# chkconfig:   &#8211; 85 15<br />
# description:  Nginx is an HTTP(S) server, HTTP(S) reverse \<br />
#               proxy and IMAP/POP3 proxy server<br />
# processname: nginx<br />
# config:      /usr/local/nginx/conf/nginx.conf<br />
# pidfile:     /usr/local/nginx/logs/nginx.pid</strong></span></p>
<p><span style="color: #008000;"><strong># Source function library.</strong><strong><br />
. /etc/rc.d/init.d/functions</strong></span></p>
<p><span style="color: #008000;"><strong># Source networking configuration.</strong><strong><br />
. /etc/sysconfig/network</strong></span></p>
<p><span style="color: #008000;"><strong># Check that networking is up.</strong><strong><br />
[ "$NETWORKING" = "no" ] &amp;&amp; exit 0</strong></span></p>
<p><span style="color: #008000;"><strong>nginx=&#8221;/usr/local/nginx/sbin/nginx&#8221;</strong><strong><br />
prog=$(basename $nginx)</strong></span></p>
<p><span style="color: #008000;"><strong>NGINX_CONF_FILE=&#8221;/usr/local/nginx/conf/nginx.conf&#8221;</strong></span></p>
<p><span style="color: #008000;"><strong>lockfile=/var/lock/subsys/nginx</strong></span></p>
<p><span style="color: #008000;"><strong>start() {</strong><strong><br />
[ -x $nginx ] || exit 5<br />
[ -f $NGINX_CONF_FILE ] || exit 6<br />
echo -n $&#8221;Starting $prog: &#8221;<br />
daemon $nginx -c $NGINX_CONF_FILE<br />
retval=$?<br />
echo<br />
[ $retval -eq 0 ] &amp;&amp; touch $lockfile<br />
return $retval<br />
}</strong></span></p>
<p><span style="color: #008000;"><strong>stop() {</strong><strong><br />
echo -n $&#8221;Stopping $prog: &#8221;<br />
killproc $prog -QUIT<br />
retval=$?<br />
echo<br />
[ $retval -eq 0 ] &amp;&amp; rm -f $lockfile<br />
return $retval<br />
}</strong></span></p>
<p><span style="color: #008000;"><strong>restart() {</strong><strong><br />
configtest || return $?<br />
stop<br />
start<br />
}</strong></span></p>
<p><span style="color: #008000;"><strong>reload() {</strong><strong><br />
configtest || return $?<br />
echo -n $&#8221;Reloading $prog: &#8221;<br />
killproc $nginx -HUP<br />
RETVAL=$?<br />
echo<br />
}</strong></span></p>
<p><span style="color: #008000;"><strong>force_reload() {</strong><strong><br />
restart<br />
}</strong></span></p>
<p><span style="color: #008000;"><strong>configtest() {</strong><strong><br />
$nginx -t -c $NGINX_CONF_FILE<br />
}</strong></span></p>
<p><span style="color: #008000;"><strong>rh_status() {</strong><strong><br />
status $prog<br />
}</strong></span></p>
<p><span style="color: #008000;"><strong>rh_status_q() {</strong><strong><br />
rh_status &gt;/dev/null 2&gt;&amp;1<br />
}</strong></span></p>
<p><span style="color: #008000;"><strong>case &#8220;$1&#8243; in</strong><strong><br />
start)<br />
rh_status_q &amp;&amp; exit 0<br />
$1<br />
;;<br />
stop)<br />
rh_status_q || exit 0<br />
$1<br />
;;<br />
restart|configtest)<br />
$1<br />
;;<br />
reload)<br />
rh_status_q || exit 7<br />
$1<br />
;;<br />
force-reload)<br />
force_reload<br />
;;<br />
status)<br />
rh_status<br />
;;<br />
condrestart|try-restart)<br />
rh_status_q || exit 0<br />
;;<br />
*)<br />
echo $&#8221;Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload|configtest}&#8221;<br />
exit 2<br />
esac</strong></span><br />
========================================================================================</p>
<p>11. save the code and execute<br />
<span style="color: #008000;"><strong># chmod +x /etc/init.d/nginx</strong></span></p>
<p>12. make it start when the server run<br />
<span style="color: #008000;"><strong># /sbin/chkconfig nginx on</strong></span></p>
<p>13.You can run following command to check if its running:</p>
<p><span style="color: #008000;"><strong># service nginx start<br />
# service nginx stop<br />
# service nginx restart<br />
# service nginx reload<br />
# service nginx configtest<br />
# service nginx status</strong></span></p>
<p>14. To Create an automatic virtualhost entry in nginx virtualhost configuration  (/usr/local/nginx/conf/vhost.conf)  when cPanel account get created on the server follow the below instructions:</p>
<p>Go to the cPanel script that is :</p>
<p><span style="color: #008000;"><strong># vi /scripts/postwwwacct<br />
# chmod 755 /scripts/postwwwacct</strong></span><br />
and put the same code that is used in &#8220;nginx.sh&#8221; in the step 9 and it will create an virtualhost entry to the nginx.</p>
<p>15.To remove virtualhost entry from nginx virtualhost configuration (/usr/local/nginx/conf/vhost.conf)  when cPanel account get terminated from the server follow the below instructions:</p>
<p>Go to the cPanel script that is :</p>
<p><span style="color: #008000;"><strong># vi /scripts/postwkillacct<br />
# chmod 755 /scripts/postwkillacct</strong></span></p>
<p>and put the same code that is used in &#8220;nginx.sh&#8221; in the step 9 and it will create an virtualhost entry to the nginx.</p>
<p>DONE!! Cheers!!!!</p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=24x7servermanagement.com&amp;siteurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F&amp;linkname=Manual%20Installation%20of%20Nginx%20in%20Cpanel%20Apache%20in%20proxy%20mode&amp;linkurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F%3Fp%3D814"><img src="http://24x7servermanagement.com/blog/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">
		a2a_linkname="Manual Installation of Nginx in Cpanel Apache in proxy mode";
		a2a_linkurl="http://24x7servermanagement.com/blog/?p=814";
				    </script>
    <script type="text/javascript" src="http://www.addtoany.com/menu/page.js"></script>

	</p><img src="http://feeds.feedburner.com/~r/24x7servermanagementTechnicalBlog/~4/xKh01Yrzhb0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://24x7servermanagement.com/blog/?feed=rss2&amp;p=814</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://24x7servermanagement.com/blog/?p=814</feedburner:origLink></item>
		<item>
		<title>Domain unable to unsuspend in Plesk 9.5</title>
		<link>http://feedproxy.google.com/~r/24x7servermanagementTechnicalBlog/~3/cPavKt0t1Zs/</link>
		<comments>http://24x7servermanagement.com/blog/?p=809#comments</comments>
		<pubDate>Thu, 22 Jul 2010 05:52:25 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux Plesk]]></category>
		<category><![CDATA[VPS Plesk]]></category>
		<category><![CDATA[plesk binaries]]></category>
		<category><![CDATA[plesk domain]]></category>
		<category><![CDATA[websrvmng]]></category>
		<category><![CDATA[websrvmng --reconfigure-vhost]]></category>

		<guid isPermaLink="false">http://24x7servermanagement.com/blog/?p=809</guid>
		<description><![CDATA[After upgrading plesk to latest release one of our domain on plesk server was unable to unsuspend thus giving the following error.
&#8220;Warning: The domain is still suspended for the following reason: Domain is temporarily suspended for backing up or restoring&#8221; 
Though it appear to be backup issue but backups were not running for the domain [...]]]></description>
			<content:encoded><![CDATA[<p>After upgrading plesk to latest release one of our domain on plesk server was unable to unsuspend thus giving the following error.</p>
<p><strong><em>&#8220;Warning: The domain is still suspended for the following reason: Domain is temporarily suspended for backing up or restoring&#8221; </em></strong></p>
<p>Though it appear to be backup issue but backups were not running for the domain making it quite confusing, So we had the following method to unsuspend the domain.</p>
<p><span style="color: #008000;">Login into shell and ran the following command.</span></p>
<p><span style="color: #008000;">/usr/local/psa/bin/domain -u domain.com -status enabled</span></p>
<p><span style="color: #008000;">Segmentation fault</span></p>
<p>Voila !! So here is the problem plesk binaries is showing segmentation fault so it appears that the plesk upgrade didn&#8217;t go properly.  Plesk itself work on these binaries which here appears to be a problem.  Now Login into plesk and under &#8220;Updates &#8221; select the plesk base package option and re-install the Plesk Base packages to make the plesk binaries working again.  You should receive a email when the updates are completed.<br />
<span style="color: #008000;"><br />
Follow the steps to reconfigure the domain in plesk database.</span></p>
<p><span style="color: #008000;">Reconfigure Domain:</span></p>
<p><span style="color: #008000;">/usr/local/psa/admin/sbin/websrvmng &#8211;reconfigure-vhost &#8211;vhost-name=domain.com</span></p>
<p><span style="color: #008000;">Change the status for domain</span></p>
<p><span style="color: #008000;">/usr/local/psa/bin/domain -u domain.com -status enabled</span></p>
<p>You should get a message the Object successfully enabled, Thats it the domain should be unsuspended in Plesk.</p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=24x7servermanagement.com&amp;siteurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F&amp;linkname=Domain%20unable%20to%20unsuspend%20in%20Plesk%209.5&amp;linkurl=http%3A%2F%2F24x7servermanagement.com%2Fblog%2F%3Fp%3D809"><img src="http://24x7servermanagement.com/blog/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">
		a2a_linkname="Domain unable to unsuspend in Plesk 9.5";
		a2a_linkurl="http://24x7servermanagement.com/blog/?p=809";
				    </script>
    <script type="text/javascript" src="http://www.addtoany.com/menu/page.js"></script>

	</p><img src="http://feeds.feedburner.com/~r/24x7servermanagementTechnicalBlog/~4/cPavKt0t1Zs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://24x7servermanagement.com/blog/?feed=rss2&amp;p=809</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://24x7servermanagement.com/blog/?p=809</feedburner:origLink></item>
	</channel>
</rss>

