<?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>ThinkSupport.net - Outsourced Web Hosting Support, Cheap Server Management, Cheap Fully Managed Dedicated Servers, Software Development, Website Designing and SEO services, Vision Helpdesk Software &#187; VPS</title>
	<atom:link href="http://www.thinksupport.net/blog/category/vps/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thinksupport.net/blog</link>
	<description>Outsourced Web Hosting and Software Development</description>
	<lastBuildDate>Wed, 27 Jan 2010 15:47:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How do I safely remove the /home/virtfs directory?</title>
		<link>http://www.thinksupport.net/blog/how-do-i-safely-remove-the-homevirtfs-directory.html</link>
		<comments>http://www.thinksupport.net/blog/how-do-i-safely-remove-the-homevirtfs-directory.html#comments</comments>
		<pubDate>Wed, 18 Nov 2009 17:26:27 +0000</pubDate>
		<dc:creator>Sunil</dc:creator>
				<category><![CDATA[VPS]]></category>
		<category><![CDATA[Virtuozzo]]></category>
		<category><![CDATA[WHM/cPanel]]></category>

		<guid isPermaLink="false">http://www.thinksupport.net/blog/?p=303</guid>
		<description><![CDATA[The virtfs directory contains hard links to all the system binaries to help with security via jailshelled accounts.
If you remove the virtfs system without unmounting the directories under it, you will completely break the system.
The procedure you need to do is the following:
cd /home/virtfs
find . -regex &#8216;^.*[How do I safely remove the virtfs directory?^.]&#8216; -type [...]]]></description>
			<content:encoded><![CDATA[<p>The virtfs directory contains hard links to all the system binaries to help with security via jailshelled accounts.</p>
<p>If you remove the virtfs system without unmounting the directories under it, you will completely break the system.</p>
<p>The procedure you need to do is the following:</p>
<p><strong>cd /home/virtfs<br />
find . -regex &#8216;^.*[How do I safely remove the virtfs directory?^.]&#8216; -type d &gt; t1<br />
for i in $(cat t1); do umount $i; done</strong></p>
<p>After this is ran, you can safely recursively remove the /home/virtfs directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/how-do-i-safely-remove-the-homevirtfs-directory.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Send Email from a PHP Script</title>
		<link>http://www.thinksupport.net/blog/how-to-send-email-from-a-php-script.html</link>
		<comments>http://www.thinksupport.net/blog/how-to-send-email-from-a-php-script.html#comments</comments>
		<pubDate>Sat, 12 Jan 2008 06:22:43 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Direct Admin]]></category>
		<category><![CDATA[Ensim]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[HSP]]></category>
		<category><![CDATA[HSphere]]></category>
		<category><![CDATA[Helm]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP / Mysql]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[WHM/cPanel]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/how-to-send-email-from-a-php-script.html</guid>
		<description><![CDATA[Using  php mail() function to send emails from php script.
Send Email from a PHP Script Example :
The first argument to this function is the recipient, the second specifies the message&#8217;s subject and the third one should contain the body. So to send a simple sample message, we could use:

]]></description>
			<content:encoded><![CDATA[<p>Using  php mail() function to send emails from php script.</p>
<p>Send Email from a PHP Script Example :</p>
<p>The first argument to this function is the recipient, the second specifies the message&#8217;s subject and the third one should contain the body. So to send a simple sample message, we could use:</p>
<blockquote><p>
<? php<br />
    $to = "recipient@example.com";<br />
    $subject = "Hi!";<br />
    $body = "Hi,\n\nHow are you?";<br />
    if (mail($to, $subject, $body)) {<br />
      echo("
<p>Message successfully sent!</p>
<p>&#8220;);<br />
     } else {<br />
      echo(&#8221;
<p>Message delivery failed&#8230;</p>
<p>&#8220;);<br />
     }<br />
    ?>
</p></blockquote>
<p>Save this file as mail.php and browse from url http://yourdomain/mail.php </p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/how-to-send-email-from-a-php-script.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>what ports are listening on my server?</title>
		<link>http://www.thinksupport.net/blog/what-ports-are-listening-on-my-server.html</link>
		<comments>http://www.thinksupport.net/blog/what-ports-are-listening-on-my-server.html#comments</comments>
		<pubDate>Sun, 29 Jul 2007 10:50:05 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Ensim]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/what-ports-are-listening-on-my-server.html</guid>
		<description><![CDATA[You can use this commands &#8211;
lsof -i
Or 
netstat &#8211;listen
]]></description>
			<content:encoded><![CDATA[<p>You can use this commands &#8211;</p>
<p>lsof -i</p>
<p>Or </p>
<p>netstat &#8211;listen</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/what-ports-are-listening-on-my-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Timeout error occurred trying to start MySQL Daemon.</title>
		<link>http://www.thinksupport.net/blog/timeout-error-occurred-trying-to-start-mysql-daemon.html</link>
		<comments>http://www.thinksupport.net/blog/timeout-error-occurred-trying-to-start-mysql-daemon.html#comments</comments>
		<pubDate>Fri, 18 May 2007 08:18:13 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP / Mysql]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/?p=201</guid>
		<description><![CDATA[I came across mysql error &#8212; &#8220;Timeout error occurred trying to start MySQL Daemon.&#8221;
Mysql will not restart &#8212; 
[root@vps init.d]# ./mysqld restart
Stopping MySQL:                                 [...]]]></description>
			<content:encoded><![CDATA[<p>I came across mysql error &#8212; &#8220;Timeout error occurred trying to start MySQL Daemon.&#8221;</p>
<p>Mysql will not restart &#8212; </p>
<p>[root@vps init.d]# ./mysqld restart<br />
Stopping MySQL:                                            [FAILED]<br />
Timeout error occurred trying to start MySQL Daemon.<br />
Starting MySQL:                                             [FAILED]</p>
<p>Server Details :<br />
Linux VPS &#8212; Plesk Installed.<br />
Mysql Version : 4.1</p>
<p>&#8212;&#8212;</p>
<p>Solution : Add this line in /etc/my.cnf</p>
<p><strong>skip-innodb</strong> under socket=/var/lib/mysql/mysql.sock</p>
<p>vi /etc/my.cnf<br />
&#8212;&#8212;&#8211;</p>
<p>[mysqld]<br />
datadir=/var/lib/mysql<br />
socket=/var/lib/mysql/mysql.sock<br />
<strong>skip-innodb</strong><br />
# Default to using old password format for compatibility with mysql 3.x<br />
# clients (those using the mysqlclient10 compatibility package).<br />
old_passwords=1<br />
&#8212;&#8212;&#8212;</p>
<p>Thanks,<br />
Sachin<br />
<a href="http://thinksupport.net">ThinkSupport.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/timeout-error-occurred-trying-to-start-mysql-daemon.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CGI is down on the server!</title>
		<link>http://www.thinksupport.net/blog/cgi-is-down-on-the-server.html</link>
		<comments>http://www.thinksupport.net/blog/cgi-is-down-on-the-server.html#comments</comments>
		<pubDate>Sat, 12 May 2007 12:39:45 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Direct Admin]]></category>
		<category><![CDATA[Ensim]]></category>
		<category><![CDATA[HSphere]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[WHM/cPanel]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/?p=190</guid>
		<description><![CDATA[First check the Apache error logs.
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
[Sat Mar 31 21:24:19 2007] [error] [client 65.254.32.50] Premature end of script headers: /home/youngerb/public_html/cgi-bin/at3/admin.cgi
admin.cgi: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
[Sat Mar 31 21:24:29 2007] [error] [client 59.95.36.168] Premature end of script headers: /home/youngerb/public_html/cgi-bin/at3/admin.cgi
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
It seems shared libraries libstdc++.so.5 is missing or [...]]]></description>
			<content:encoded><![CDATA[<p>First check the Apache error logs.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[Sat Mar 31 21:24:19 2007] [error] [client 65.254.32.50] Premature end of script headers: /home/youngerb/public_html/cgi-bin/at3/admin.cgi<br />
admin.cgi: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory<br />
[Sat Mar 31 21:24:29 2007] [error] [client 59.95.36.168] Premature end of script headers: /home/youngerb/public_html/cgi-bin/at3/admin.cgi<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>It seems shared libraries libstdc++.so.5 is missing or courrpted on the server.</p>
<p>Just do this</p>
<p>yum install compat-lib*</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/cgi-is-down-on-the-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Memory Test tool</title>
		<link>http://www.thinksupport.net/blog/windows-memory-test-tool.html</link>
		<comments>http://www.thinksupport.net/blog/windows-memory-test-tool.html#comments</comments>
		<pubDate>Sun, 29 Apr 2007 09:01:37 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[VPS]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/?p=150</guid>
		<description><![CDATA[Windows Memory test tool &#8211;
AleGr-MEMTEST-Download
Cheers..
]]></description>
			<content:encoded><![CDATA[<p>Windows Memory test tool &#8211;</p>
<p><a href="http://www.softpedia.com/progDownload/AleGr-MEMTEST-Download-1035.html">AleGr-MEMTEST-Download</a></p>
<p>Cheers..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/windows-memory-test-tool.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cgi files generate Internal Server Error</title>
		<link>http://www.thinksupport.net/blog/cgi-files-generate-internal-server-error.html</link>
		<comments>http://www.thinksupport.net/blog/cgi-files-generate-internal-server-error.html#comments</comments>
		<pubDate>Sun, 22 Apr 2007 08:40:49 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Direct Admin]]></category>
		<category><![CDATA[Ensim]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[WHM/cPanel]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/?p=104</guid>
		<description><![CDATA[This means that the cgi script did not execute properly. There are several causes that can generate this error so a few things would need to be checked.
1) check the /var/log/httpd/suexec_log. It contains any errors that would be as a result of not having correct permissions on the file. The file needs to be in [...]]]></description>
			<content:encoded><![CDATA[<p>This means that the cgi script did not execute properly. There are several causes that can generate this error so a few things would need to be checked.</p>
<p>1) check the /var/log/httpd/suexec_log. It contains any errors that would be as a result of not having correct permissions on the file. The file needs to be in a cgi-bin and must have the owner/group as the username who owns the site. If it&#8217;s owned by anyone else, it will not run. Also, the script must have execute permission. The most common chmod permission is 755. Go through all directories from the public_html down to the directory the script is in, and make sure they&#8217;re all set to 755 (public_html can be 750 *only* if it has a group of apache).</p>
<p>If the suexec_log only shows the script being run, then the cause may be with the script code itself. The easiest way to figure out script coding problems is to first run the script manually from an ssh prompt.</p>
<p>cd /home/username/domains/domain.com/public_html/cgi-bin<br />
./script.cgi<br />
One common error is to use an incorrect interpreter. The 2 most common interpreters are:</p>
<p>#!/usr/bin/perl<br />
and</p>
<p>#!/usr/local/bin/php<br />
This code must appear on the first line of the script. Somtimes a file is uploaded in windows format so the trailing newline (return) character is formed incorrectly and the file would need to be reuploaded in a different format.</p>
<p>Other errors that would be generated when running the script manually from ssh would be missing perl modules, in which case you&#8217;ll need to install them yourself. Cpan is the easiest method to install new perl modules, eg:</p>
<p>perl -e shell -MCPAN<br />
install Bundle::DBD::mysql</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/cgi-files-generate-internal-server-error.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Increase the max upload filesize in apache/php</title>
		<link>http://www.thinksupport.net/blog/increase-the-max-upload-filesize-in-apachephp.html</link>
		<comments>http://www.thinksupport.net/blog/increase-the-max-upload-filesize-in-apachephp.html#comments</comments>
		<pubDate>Sun, 22 Apr 2007 08:37:09 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Direct Admin]]></category>
		<category><![CDATA[Ensim]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[WHM/cPanel]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/?p=103</guid>
		<description><![CDATA[edit: php.ini file on server 
You can locate php.ini file using  &#8212; php -i &#124; grep php.ini 
/usr/local/lib/php.ini
Search for
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
Change the 2M to whatever new value you want, then restart apache.
]]></description>
			<content:encoded><![CDATA[<p>edit: php.ini file on server </p>
<p>You can locate php.ini file using  &#8212; php -i | grep php.ini </p>
<p>/usr/local/lib/php.ini</p>
<p>Search for</p>
<p>; Maximum allowed size for uploaded files.<br />
upload_max_filesize = 2M<br />
Change the 2M to whatever new value you want, then restart apache.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/increase-the-max-upload-filesize-in-apachephp.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running CGI script from any directory or via /~username/cgi-bin</title>
		<link>http://www.thinksupport.net/blog/running-cgi-script-from-any-directory-or-via-usernamecgi-bin.html</link>
		<comments>http://www.thinksupport.net/blog/running-cgi-script-from-any-directory-or-via-usernamecgi-bin.html#comments</comments>
		<pubDate>Sun, 22 Apr 2007 08:34:51 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Articles -- Webhosting]]></category>
		<category><![CDATA[Direct Admin]]></category>
		<category><![CDATA[Ensim]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[WHM/cPanel]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/?p=102</guid>
		<description><![CDATA[In order to force apache to allow cgi script to run, simply create a file called .htaccess inside the directory in which you wish to run the scripts. Inser this text into the file:
Options +ExecCGI
AddHandler cgi-script .cgi .pl
]]></description>
			<content:encoded><![CDATA[<p>In order to force apache to allow cgi script to run, simply create a file called .htaccess inside the directory in which you wish to run the scripts. Inser this text into the file:</p>
<p>Options +ExecCGI<br />
AddHandler cgi-script .cgi .pl</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/running-cgi-script-from-any-directory-or-via-usernamecgi-bin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Ioncube Loaders on your server..</title>
		<link>http://www.thinksupport.net/blog/installing-ioncube-loaders-on-your-server.html</link>
		<comments>http://www.thinksupport.net/blog/installing-ioncube-loaders-on-your-server.html#comments</comments>
		<pubDate>Sat, 21 Apr 2007 06:18:42 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Articles -- Webhosting]]></category>
		<category><![CDATA[Direct Admin]]></category>
		<category><![CDATA[Ensim]]></category>
		<category><![CDATA[ModernBill]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[WHM/cPanel]]></category>
		<category><![CDATA[WHMCS]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/?p=86</guid>
		<description><![CDATA[You WILL require root access to the server in order to do this.
   1. Download the latest loaders to your computer from http://www.ioncube.com/loaders.php and upload them to your webspace
   2. Move the ioncube folder to a permanent location by entering:
      mv ioncube /usr/local
   3. [...]]]></description>
			<content:encoded><![CDATA[<p>You WILL require root access to the server in order to do this.</p>
<p>   1. Download the latest loaders to your computer from http://www.ioncube.com/loaders.php and upload them to your webspace<br />
   2. Move the ioncube folder to a permanent location by entering:<br />
      mv ioncube /usr/local<br />
   3. Next, you need to locate the php.ini file, to do this enter:<br />
      locate php.ini<br />
   4. You should find it is in /usr/local/lib/php.ini.  Now that you know the location of php.ini you need to edit it.<br />
      pico /usr/local/lib/php.ini<br />
   5. Now find where other zend extentions are in the file.<br />
      ctrl + w: zend_extension<br />
   6. Paste in your new line for ioncube loader<br />
      zend_extension = /usr/local/ioncube/ioncube_loader_lin_x.so (Replace x with your version of PHP eg. 4.4)<br />
   7. Save the changes<br />
      ctrl + X then Y and enter<br />
   8. Restart the web server to take effect.<br />
      /etc/init.d/httpd restart </p>
<p>That&#8217;s it!  Ioncube is now installed on your server!  You should now see a section in your PHP Info page that says:</p>
<p>Additional Modules<br />
Module Name ionCube Loader </p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/installing-ioncube-loaders-on-your-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
