<?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>Compdigitec Labs &#187; 2009 &#187; May</title>
	<atom:link href="http://www.compdigitec.com/labs/2009/05/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.compdigitec.com/labs</link>
	<description>The place for interesting things</description>
	<lastBuildDate>Sun, 05 Feb 2012 03:44:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Solving &#8220;XAMPP:  Couldn&#8217;t start MySQL!&#8221;</title>
		<link>http://www.compdigitec.com/labs/2009/05/30/solving-xampp-couldnt-start-mysql/</link>
		<comments>http://www.compdigitec.com/labs/2009/05/30/solving-xampp-couldnt-start-mysql/#comments</comments>
		<pubDate>Sun, 31 May 2009 00:50:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTTP (Internet)]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[extract]]></category>
		<category><![CDATA[lampp]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[permission]]></category>
		<category><![CDATA[permission problem]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://www.compdigitec.com/labs/?p=102</guid>
		<description><![CDATA[XAMPP for Linux is a convenient package for installing the AMPP stack (Apache, MySQL, PHP, Perl) of web server software, but it also has its own share of problems. One such error is the generic and uninformative error of &#8220;XAMPP: Couldn&#8217;t start MySQL!&#8220;. This can confuse users because it does not say anything about there [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.apachefriends.org/en/xampp-linux.html">XAMPP for Linux</a> is a convenient package for installing the AMPP stack (Apache, MySQL, PHP, Perl) of web server software, but it also has its own share of problems. One such error is the generic and uninformative error of &#8220;<strong>XAMPP:  Couldn&#8217;t start MySQL!</strong>&#8220;. This can confuse users because it does not say anything about there error. This error is caused by permission errors because it is not able to write to a directory. Here is how to fix it.</p>
<ol>
<li>Open a terminal.</li>
<li>Once the terminal has loaded, type &#8220;<strong>sudo chown -hR root <em>/opt/lampp</em></strong>&#8220;. (Note: replace <em>/opt/lampp</em> with the XAMPP install director(y.</li>
<li><strong>(Update from comment #7, untested)</strong> Type &#8220;<strong>sudo chmod -R 777 /opt/lampp</strong>&#8220;.</li>
<li>Restart XAMPP with &#8220;<strong>sudo /opt/lampp/lampp restart</strong>&#8220;.</li>
<li>Exit the terminal (right-hand corner X or type <strong>exit</strong>).</li>
</ol>
<p><strong>Alternate solution for those who could not get the above working:</strong></p>
<ol>
<li>Re-download the LAMPP package from <a href="http://downloads.sourceforge.net/sourceforge/xampp/xampp-linux-1.7.1.tar.gz">http://www.apachefriends.org/</a>. (<strong>wget http://downloads.sourceforge.net/sourceforge/xampp/xampp-linux-1.7.1.tar.gz -O /tmp/xampp-linux-1.7.1.tar.gz</strong>)</li>
<li>Navigate to <em>/opt/lampp</em>/htdocs (or where-ever you store your documents) and back it up to another location. (<strong>mkdir /tmp/htdocs</strong> followed by <strong>cp -r /opt/lampp/htdocs/*/tmp/htdocs/</strong><strong></strong>)</li>
<li>(<em>optional</em>) Also back up the configuration directory and the phpmyadmin configuration (<strong>mkdir /tmp/etc</strong> followed by <strong>cp -r /opt/lampp/etc/*/tmp/etc/</strong> followed by <strong></strong><strong>cp /opt/lampp/phpmyadmin/config.inc.php /tmp/</strong>)</li>
<li>Delete the entire LAMPP tree (<strong>sudo rm -rf /opt/lampp</strong>)</li>
<li>Re-extract the LAMPP tree from root (<strong>tar xvfz /tmp/xampp-linux-1.7.1.tar.gz -C /opt</strong>)</li>
<li>Restore htdocs folder to <em>/opt/lampp</em> (<strong>sudo cp -r /tmp/htdocs/* /opt/lampp/htdocs/</strong>)</li>
<li>(<em>optional</em>) Restore configuration folder and phpmyadmin config (<strong>sudo cp -r /tmp/etc/* /opt/lampp/etc/</strong> followed by <strong>sudo cp /tmp/config.inc.php /opt/lampp/phpmyadmin/config.inc.php</strong>)</li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.compdigitec.com/labs/2009/05/30/solving-xampp-couldnt-start-mysql/feed/</wfw:commentRss>
		<slash:comments>52</slash:comments>
		</item>
		<item>
		<title>Disable annoying update manager behaviour in Ubuntu 9.04</title>
		<link>http://www.compdigitec.com/labs/2009/05/15/disable-annoying-update-manager-behaviour-in-ubuntu/</link>
		<comments>http://www.compdigitec.com/labs/2009/05/15/disable-annoying-update-manager-behaviour-in-ubuntu/#comments</comments>
		<pubDate>Sat, 16 May 2009 01:41:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[annoying]]></category>
		<category><![CDATA[notification]]></category>
		<category><![CDATA[popup]]></category>
		<category><![CDATA[slow]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.compdigitec.com/labs/?p=99</guid>
		<description><![CDATA[After the upgrade to Ubuntu 9.04, the update manager will consistently try to pester you with upgrades, even if you select to not check for updates to Ubuntu. This behaviour annoys users because it attempts to force people to upgrade packages when they might be doing something important on the computer and also always comes [...]]]></description>
			<content:encoded><![CDATA[<p>After the upgrade to Ubuntu 9.04, the update manager will consistently try to pester you with upgrades, even if you select to <em><span style="text-decoration: underline;">not</span></em> check for updates to Ubuntu. This behaviour <a href="http://tuxxie.blogspot.com/2009/05/annoying-update-manager-in-ubuntu-904.html">annoys users</a> because it attempts to force people to upgrade packages when they might be doing something important on the computer and also always comes up when you least expect it. You can revert this behaviour to the previous way of showing a notification in the system tray:</p>
<div id="attachment_100" class="wp-caption alignright" style="width: 603px"><a href="http://www.compdigitec.com/labs/wp-content/uploads/2009/05/update-manager.png"><img class="size-full wp-image-100" title="The Ubuntu Update Manager" src="http://www.compdigitec.com/labs/wp-content/uploads/2009/05/update-manager.png" alt="The Ubuntu Update Manager" width="593" height="709" /></a><p class="wp-caption-text">The Ubuntu Update Manager</p></div>
<ol>
<li>Open a terminal.</li>
<li>Enter &#8220;<strong>gconftool -s --type bool /apps/update-notifier/auto_launch false</strong>&#8220;.</li>
<li>Type &#8220;<strong>exit</strong>&#8221; to exit the terminal.</li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.compdigitec.com/labs/2009/05/15/disable-annoying-update-manager-behaviour-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fixing &#8220;There was an error creating a child process for this terminal&#8221;</title>
		<link>http://www.compdigitec.com/labs/2009/05/12/fixing-there-was-an-error-creating-a-child-process-for-this-terminal/</link>
		<comments>http://www.compdigitec.com/labs/2009/05/12/fixing-there-was-an-error-creating-a-child-process-for-this-terminal/#comments</comments>
		<pubDate>Wed, 13 May 2009 00:30:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[broken]]></category>
		<category><![CDATA[changed]]></category>
		<category><![CDATA[child process]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[devptr]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[error creating child process]]></category>
		<category><![CDATA[fix error]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gnome terminal]]></category>
		<category><![CDATA[gterm]]></category>
		<category><![CDATA[mountdevsubfs.sh.mountdevsubfs.sh bug]]></category>
		<category><![CDATA[terminals]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu updgrade]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[xterm]]></category>

		<guid isPermaLink="false">http://www.compdigitec.com/labs/?p=97</guid>
		<description><![CDATA[Update (2009-08-27): If you are missing mountdevsubfs.sh.dpkg-dist, you can download it here. After a recent upgrade to Ubuntu 9.04 on a computer, GNOME Terminal and xterm stopped working suddenly by displaying an error message that read &#8220;There was an error creating a child process for this terminal.&#8221; This is caused by a bug resulting from [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update (2009-08-27): </strong>If you are missing mountdevsubfs.sh.dpkg-dist, you can <a href="/labs/files/mountdevsubfs.sh.dpkg-dist">download it here</a>.</p>
<p>After a recent upgrade to Ubuntu 9.04 on a computer, GNOME Terminal and xterm stopped working suddenly by displaying an error message that read &#8220;There was an error creating a child process for this terminal.&#8221; This is caused by a <a title="Launchpad Bug #321927" href="https://bugs.launchpad.net/ubuntu/+source/insserv/+bug/321927">bug resulting from the unauthorized changes</a> to <strong>mountdevsubfs.sh</strong>. To fix it, take the following steps:<a href="http://www.compdigitec.com/labs/wp-content/uploads/2009/05/childprocess.png"><img class="alignright size-full wp-image-98" title="Error creating the child process for this terminal" src="http://www.compdigitec.com/labs/wp-content/uploads/2009/05/childprocess.png" alt="Error creating the child process for this terminal" width="485" height="159" /></a></p>
<ol>
<li>Switch to a terminal that works by pressing Ctrl+Alt+F1 twice. (press Ctrl+Alt+F7 to restore desktop)</li>
<li>Login to Ubuntu (type in your username followed by your password).</li>
<li>Enter &#8220;<strong>sudo mv /etc/init.d/mountdevsubfs.sh /etc/init.d/mountdevsubfs.sh.old</strong>&#8220;to move the old mountdevsubfs.sh out. (Type in your password, again).</li>
<li>Enter &#8220;<strong>sudo cp /etc/init.d/mountdevsubfs.sh.dpkg-dist /etc/init.d/mountdevsubfs.sh</strong>&#8221; to restore the dpkg backup.</li>
<li>Shutdown and restart the computer by typing &#8220;<strong>sudo shutdown now -r</strong>&#8220;.</li>
<li><em>(OR)</em> Press Ctrl+Alt+F7 and shutdown through the GUI.</li>
</ol>
<p>If you found this article helpful or useful, please help Compdigitec spread the word. Don’t forget to <a href="../feed/">subscribe to Compdigitec Labs</a> for more useful or interesting articles!</p>]]></content:encoded>
			<wfw:commentRss>http://www.compdigitec.com/labs/2009/05/12/fixing-there-was-an-error-creating-a-child-process-for-this-terminal/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

