<?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>Blog of Leonid Mamchenkov &#187; Sysadmin</title>
	<atom:link href="http://mamchenkov.net/wordpress/category/sysadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://mamchenkov.net/wordpress</link>
	<description>You just stepped in a pile of posts.</description>
	<lastBuildDate>Fri, 19 Mar 2010 09:45:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Copy SSH key to remote machine</title>
		<link>http://mamchenkov.net/wordpress/2010/03/19/copy-ssh-key-to-remote-machine/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=copy-ssh-key-to-remote-machine</link>
		<comments>http://mamchenkov.net/wordpress/2010/03/19/copy-ssh-key-to-remote-machine/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 09:13:46 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://mamchenkov.net/wordpress/?p=12267</guid>
		<description><![CDATA[Those of us who use secure shell (SSH) for logging in to remote machines, already know about key authentication, which is so much easier and sometimes more secure than password authentication.  We also know that in order to make it work you need to:

generate a pair of keys with ssh-keygen command
copy public key from the [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Those of us who use secure shell (SSH) for logging in to remote machines, already know about key authentication, which is so much easier and sometimes more secure than password authentication.  We also know that in order to make it work you need to:</p>
<ul>
<li>generate a pair of keys with <em>ssh-keygen</em> command</li>
<li>copy public key from the local machine to <em>authorized_keys</em> file on the remote machine</li>
<li>fix the permissions of the <em>.ssh/</em> folder and <em>authorized_keys</em> file on the remote machine</li>
</ul>
<p>And that&#8217;s just what we have been doing.  Or at least me.  Today, after approximately 10 years of using secure shell, I&#8217;ve learned that there is a <strong><em>ssh-copy-id</em></strong> command, which will automatically add your current public key to a remote machine&#8217;s <em>authorized_keys</em> file and arrange for correct permissions.   Wow!</p>
<p>Thanks to <a href="http://twitter.com/commandlinefu">@commandlinefu</a> and top <a href="http://www.catonmat.net/blog/top-ten-one-liners-from-commandlinefu-explained/">10 one-liners blog post</a>.</p>
<!-- google_ad_section_end -->
	<div class="postMeta"><span class="tags">Tags: <a href="http://mamchenkov.net/wordpress/tag/command-line/" title="command line" rel="tag">command line</a>, <a href="http://mamchenkov.net/wordpress/tag/security/" title="security" rel="tag">security</a>, <a href="http://mamchenkov.net/wordpress/tag/tips/" title="tips" rel="tag">tips</a></span></div>
]]></content:encoded>
			<wfw:commentRss>http://mamchenkov.net/wordpress/2010/03/19/copy-ssh-key-to-remote-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring PHP errors, warnings, and notices</title>
		<link>http://mamchenkov.net/wordpress/2010/03/02/monitoring-php-errors-warnings-and-notices/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=monitoring-php-errors-warnings-and-notices</link>
		<comments>http://mamchenkov.net/wordpress/2010/03/02/monitoring-php-errors-warnings-and-notices/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 15:39:27 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://mamchenkov.net/wordpress/?p=12214</guid>
		<description><![CDATA[There are a number of ways to monitor PHP errors, warnings, and notices.   You can have your application code trigger some error handling, you can use PHP built-in methods, you can have some scripts running in the background analyzing logs, etc.  While you already probably do some of it, here is something that you&#8217;ll find [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>There are a number of ways to monitor PHP errors, warnings, and notices.   You can have your application code trigger some error handling, you can use PHP built-in methods, you can have some scripts running in the background analyzing logs, etc.  While you already probably do some of it, here is something that you&#8217;ll find handy.</p>
<p>First of all, don&#8217;t log all PHP noise into a single file.   You can easy make separate logs for each project.  Somewhere at the top of your project, when it only starts loading, add the following configuration settings:</p>
<pre class="brush: php;">
ini_set('error_reporting', E_ALL);
ini_set('log_errors', '1');
ini_set('error_log', '/path/to/project/logs/php_errors.log');
ini_set('display_errors', '0');
</pre>
<p>This will enable logging of all errors, warnings, and notices into a file that you specified.  And, at the same time, it will disable the display of all the logs to your visitors (something that you should definitely do for a production server).</p>
<p>One you&#8217;ve done that, you&#8217;ll notice another problem.  If your application is of any considerable size and/or if it uses a lot of third-party code, you&#8217;ll get buried in all those warnings and notices.  The file will quickly become very large and boring and leave your attention span.  Not good.  While you can fight the size of the file with a tool like logrotate, the boredom is a more serious problem.  The same notices and warnings appear over and over and over.   You&#8217;ll fix some of them and the others will stay there forever.  What you need as a way to have a quick overview of what is broken and what is noisy.</p>
<p>Today I wrote a quick cronjob to do just that.  Here it is in all its entirety.</p>
<pre class="brush: bash;">
#!/bin/bash

# This script parses the project PHP errors logs every hour, creates the summary of all
# errors/warnings/notices/etc and emails that summary to the email specified below.

EMAIL=&quot;me@here.com&quot;
SUBJECT=&quot;here.com PHP errors summary for the last hour&quot;
PHP_ERRORS_FILE=&quot;/path/to/project/logs/php_errors.log&quot;

# The log starts with timestamp like [01-Mar-2010 12:48:56]. Timestamp + 1 stamp occupy about 24 bytes
ONE_HOUR_AGO=`date +'[%d-%b-%Y %H:' -d '1 hour ago'`

# We only need that double backslash because date pattern uses square bracket
grep &quot;^\\$ONE_HOUR_AGO&quot; $PHP_ERRORS_FILE | cut -b 24- | sort | uniq -c | sort -n -r | mail -s &quot;$SUBJECT&quot; $EMAIL
</pre>
<p>You can drop this file into <em>/etc/cron.hourly/report_php_errors.sh</em>, change permissions to executable, and wait for the next run of hourly scripts.  If you&#8217;ve updated the variables inside the script to reflect the correct email address and path to log file, you&#8217;ll get an email every hour which will look something like this:</p>
<pre class="brush: plain;">
From: cron@your.host
To: me@here.com
Subject: here.com PHP errors summary for the last hour

  14 PHP Notice:  Use of undefined constant PEAR_LOG_DEBUG - assumed 'PEAR_LOG_DEBUG' in /some/path/to/some/file.php on line 17
    12 PHP Notice:  Undefined index:  is_printed in /path/to/something.php on line 2035
     9 PHP Notice:  Undefined index:  blah in /some/foo/bar.php on line 42
     7 PHP Notice:  Undefined offset:  1 in /some/verifier/script.php on line 120
</pre>
<p>The email will not be limited to 3 or 4 lines.  It will actually contain each and every individual notice, error, and warning that occurred during the last hour in your project.  The list will be sorted by how often each warning occurred, with the most frequent entries at the top.</p>
<p>With this list you can start fixing your most frequently seen problems, and you can also notice weird activity much faster than just checking the log file and hoping to catch it with your own eyes.</p>
<p>Enjoy!</p>
<!-- google_ad_section_end -->
	<div class="postMeta"><span class="tags">Tags: <a href="http://mamchenkov.net/wordpress/tag/monitoring/" title="monitoring" rel="tag">monitoring</a>, <a href="http://mamchenkov.net/wordpress/tag/php/" title="PHP" rel="tag">PHP</a></span></div>
]]></content:encoded>
			<wfw:commentRss>http://mamchenkov.net/wordpress/2010/03/02/monitoring-php-errors-warnings-and-notices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora Linux history tour</title>
		<link>http://mamchenkov.net/wordpress/2010/01/27/fedora-linux-history-tour/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=fedora-linux-history-tour</link>
		<comments>http://mamchenkov.net/wordpress/2010/01/27/fedora-linux-history-tour/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 19:57:31 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[fedora linux]]></category>

		<guid isPermaLink="false">http://mamchenkov.net/wordpress/?p=12094</guid>
		<description><![CDATA[Last weekend I went through a somewhat lengthy process of upgrading one of my servers from Fedora 6 to Fedora 12.  The server is vital for a company that uses it, there is more than 2 TBytes of data on that machine, and I only had a weekend to go through the upgrade.
Fedora is a [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Last weekend I went through a somewhat lengthy process of upgrading one of my servers from Fedora 6 to Fedora 12.  The server is vital for a company that uses it, there is more than 2 TBytes of data on that machine, and I only had a weekend to go through the upgrade.</p>
<p>Fedora is a very dynamic distribution, with new releases coming out roughly every 6 month.  An upgrade backward compatibility is maintained only for the last 2 releases.  So, I had to first upgrade from Fedora 6 to Fedora 8, then from Fedora 8 to Fedora 10, and then finally from Fedora 10 to Fedora 12.</p>
<p>Of course such a long path would pretty much guarantee that things would break.  But gladly I didn&#8217;t have to fix them for every upgrade, only once, after Fedora 12 upgrade was complete.  So the actual upgrade routine was rather simple: insert DVD with the new version, reboot, upgrade, remove DVD, reboot.  I was attempting to boot the system at least once into each new version to see how much stuff would break and if I notice anything going horribly wrong.  Everything was going smooth, except for once machine refused to boot into the new version (Fedora 8, if I remember correctly).  That didn&#8217;t stop me though.  Just upgrade to the next one, and then to the next one, etc.</p>
<p>After the upgrade was finished, I installed the updates for Fedora 12 and started fixing things.  The thing that I was worried for the most was <a href="http://bestpractical.com/rt">Request Tracker</a> (aka RT3) installation, which is a Perl application.  As any proper Perl application, RT3 utilizes a whole lot of Perl modules from CPAN and every time Perl version is changed signifficantly, these modules should be downloaded and installed.  Before, it was a rather slow, boring, and time consuming task.  Now however things are much simpler.  Before any perl upgrade just create an autobundle using the command &#8220;<em>perl -MCPAN -e autobundle</em>&#8220;.  This will create a bundle with all your current Perl modules.  After the upgrade is done, run <em>&#8220;perl -MCPAN -e &#8216;install Bundle::Snapshot_2010_01_27_00</em>&#8216;&#8221; (where 2010_01_27_00 is the bundle version, as given to you by autobundle).  Now Perl will download all modules and their requirements from CPAN and install them automatically.  Pure magic.</p>
<p>Apart from RT3 only one thing broke.  One that I would expect to break because I don&#8217;t follow the development of it that close.  It was Samba.  After the upgrade to Fedora 12 none of the users could connect to any of the file shares.  &#8221;Access denied&#8221; was given no matter which username and password was used and what was the access level to the share.  A quick Google search revealed the fix.  Apparently, somewhere in between Fedora 6 and Fedora 12, Samba changed default back-end for storing credentials.  A fix was as simple as adding a single line (&#8220;<em>passdb backend = smbpasswd</em>) to the configuration file, that switched Samba back to the old backend.</p>
<p>And that&#8217;s it!  That&#8217;s all that broke and had to be fixed after an upgrade between 6 versions of a rather dynamic Linux distribution.  Once again, I am really amazed by how well things are managed in Fedora.  Kudos and congrats!</p>
<p><a href="http://fedoraproject.org/"><img class="aligncenter size-full wp-image-12095" title="Fedora logo" src="http://mamchenkov.net/wordpress/wp-content/uploads/2010/01/fedora_logo.png" alt="" width="500" height="152" /></a></p>
<!-- google_ad_section_end -->
	<div class="postMeta"><span class="tags">Tags: <a href="http://mamchenkov.net/wordpress/tag/fedora-linux/" title="fedora linux" rel="tag">fedora linux</a></span></div>
]]></content:encoded>
			<wfw:commentRss>http://mamchenkov.net/wordpress/2010/01/27/fedora-linux-history-tour/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Disaster recovery plan</title>
		<link>http://mamchenkov.net/wordpress/2009/12/15/disaster-recovery-plan/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=disaster-recovery-plan</link>
		<comments>http://mamchenkov.net/wordpress/2009/12/15/disaster-recovery-plan/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 12:42:58 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[disaster recovery]]></category>
		<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://mamchenkov.net/wordpress/?p=12062</guid>
		<description><![CDATA[While reading yet another sad story of the data loss, I came across a really awesome picture.  Whether you like it or not, it perfectly describes the disaster recovery plan and implementation in way too many companies.


	Tags: backup, disaster recovery, Humor
]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>While reading yet another <a href="http://www.codinghorror.com/blog/archives/001315.html">sad story of the data loss</a>, I came across a really awesome picture.  Whether you like it or not, it perfectly describes the disaster recovery plan and implementation in way too many companies.</p>
<p><img class="aligncenter size-full wp-image-12063" title="Our disaster recovery plan" src="http://mamchenkov.net/wordpress/wp-content/uploads/2009/12/dilbert-our-disaster-recovery-plan.png" alt="Our disaster recovery plan" width="500" height="443" /></p>
<!-- google_ad_section_end -->
	<div class="postMeta"><span class="tags">Tags: <a href="http://mamchenkov.net/wordpress/tag/backup/" title="backup" rel="tag">backup</a>, <a href="http://mamchenkov.net/wordpress/tag/disaster-recovery/" title="disaster recovery" rel="tag">disaster recovery</a>, <a href="http://mamchenkov.net/wordpress/tag/humor/" title="Humor" rel="tag">Humor</a></span></div>
]]></content:encoded>
			<wfw:commentRss>http://mamchenkov.net/wordpress/2009/12/15/disaster-recovery-plan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Public DNS announced</title>
		<link>http://mamchenkov.net/wordpress/2009/12/03/google-public-dns-announced/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=google-public-dns-announced</link>
		<comments>http://mamchenkov.net/wordpress/2009/12/03/google-public-dns-announced/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 20:36:45 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web work]]></category>
		<category><![CDATA[domain names]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[web services]]></category>

		<guid isPermaLink="false">http://mamchenkov.net/wordpress/?p=11997</guid>
		<description><![CDATA[Google announced a Public DNS service, which is extremely easy to configure and which will improve your web browsing speed and security.  This service is not revolutionary however.  There were a few ones before, and the one that seems most popular these days is OpenDNS.  In case you wonder what&#8217;s the difference between OpenDNS and [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://googlecode.blogspot.com/2009/12/introducing-google-public-dns-new-dns.html">Google announced a Public DNS service</a>, which is extremely easy to configure and which will improve your web browsing speed and security.  This service is not revolutionary however.  There were a few ones before, and the one that seems most popular these days is <a href="http://www.opendns.com/">OpenDNS</a>.  In case you wonder <a href="http://groups.google.com/group/public-dns-discuss/browse_thread/thread/c47e9f14b00b6e7a">what&#8217;s the difference between OpenDNS and Google Public DNS</a>, take a look at this Google Groups discussion.</p>
<p>From the end-user point of view:</p>
<blockquote><p>Right now the difference is that Google Public DNS does not use any sort of redirection or display any ads. If a host (domain name, web address, etc&#8230;) doesn&#8217;t resolve, it will just fail. With OpenDNS, they hijack these failures and redirect you to a search page that displays ads and makes them money.</p></blockquote>
<p>From the administrator or customer point view there are things like stats, control panels, and more &#8211; all in OpenDNS.  Google Public DNS seems to be focused differently. At least for now.</p>
<p><strong>Update</strong>: <a href="http://kottke.org/09/12/google-dns">Jason Kottke explains why Google did it</a>.</p>
<!-- google_ad_section_end -->
	<div class="postMeta"><span class="tags">Tags: <a href="http://mamchenkov.net/wordpress/tag/domain-names/" title="domain names" rel="tag">domain names</a>, <a href="http://mamchenkov.net/wordpress/tag/google/" title="Google" rel="tag">Google</a>, <a href="http://mamchenkov.net/wordpress/tag/web-services/" title="web services" rel="tag">web services</a></span></div>
]]></content:encoded>
			<wfw:commentRss>http://mamchenkov.net/wordpress/2009/12/03/google-public-dns-announced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 12</title>
		<link>http://mamchenkov.net/wordpress/2009/11/18/fedora-12/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=fedora-12</link>
		<comments>http://mamchenkov.net/wordpress/2009/11/18/fedora-12/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 07:03:33 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[fedora linux]]></category>

		<guid isPermaLink="false">http://mamchenkov.net/wordpress/?p=11933</guid>
		<description><![CDATA[I&#8217;ve upgraded my laptop to Fedora 12.  I know, that wasn&#8217;t the smartest move, since the conference which I am attending is not over yet.  But I just couldn&#8217;t wait.
The upgrade process was as simple as:

Open up the terminal, switch to root user, and run &#8220;preupgrade&#8220;.
Select Fedora 12 from the list of available options and [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>I&#8217;ve upgraded my laptop to <a href="http://fedoraproject.org/get-fedora">Fedora 12</a>.  I know, that wasn&#8217;t the smartest move, since the conference which I am attending is not over yet.  But I just couldn&#8217;t wait.</p>
<p>The upgrade process was as simple as:</p>
<ul>
<li>Open up the terminal, switch to root user, and run &#8220;<em>preupgrade</em>&#8220;.</li>
<li>Select Fedora 12 from the list of available options and click <em>Next</em>.</li>
<li>Watch the downloads in progress.  Or, as I did, go and have a few beers and socialize.</li>
<li>When you are back from the beers, before you crash into bed, click the <em>Next</em> button for the installation to start.</li>
<li>Go to sleep.</li>
<li>Wake up to a shiny Fedora 12 distribution on your computer.</li>
</ul>
<p>The only thing that got me worried for a second was that after the laptop rebooted into Fedora 12, for some reason the resolution of the screen went down to 800&#215;600 or something like that.  But all I had to do was login into Gnome, navigate to System / Administration / Display and switch resolution back to what it was before the upgrade.</p>
<p>I didn&#8217;t have much time to explore things yet, just read through <a href="http://fedoraproject.org/wiki/Fedora_12_one_page_release_notes">release notes</a> and <a href="https://fedoraproject.org/wiki/Releases/12/FeatureList">features list</a>.  However things do look to be faster and more polished.  I&#8217;ll have to use it for a few days to know for sure.</p>
<!-- google_ad_section_end -->
	<div class="postMeta"><span class="tags">Tags: <a href="http://mamchenkov.net/wordpress/tag/fedora-linux/" title="fedora linux" rel="tag">fedora linux</a></span></div>
]]></content:encoded>
			<wfw:commentRss>http://mamchenkov.net/wordpress/2009/11/18/fedora-12/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Another look at KDE 4</title>
		<link>http://mamchenkov.net/wordpress/2009/02/20/another-look-at-kde-4/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=another-look-at-kde-4</link>
		<comments>http://mamchenkov.net/wordpress/2009/02/20/another-look-at-kde-4/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 01:36:06 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[KDE4]]></category>

		<guid isPermaLink="false">http://mamchenkov.net/wordpress/?p=11513</guid>
		<description><![CDATA[Last time I wrote about KDE 4, I said that it wasn&#8217;t very usable for me.  Recenlty, the much praised upgrade to KDE 4.2 became available via Fedora updates.  So I got it and switched to KDE for a couple of days.
What can I say?  Quite an improvement indeed.  Mostly stable, with only a few [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Last time <a href="http://mamchenkov.net/wordpress/2008/06/24/there-is-hope-for-kde-4/">I wrote about KDE 4</a>, I said that it wasn&#8217;t very usable for me.  Recenlty, the much praised upgrade to KDE 4.2 became available via Fedora updates.  So I got it and switched to KDE for a couple of days.</p>
<p>What can I say?  Quite an improvement indeed.  Mostly stable, with only a few issues, which are nicely balanced out by nice desktop effects, overall graphics, and plasmoids.  A few things moved around and I had to look for them (such as keyboard shortcuts for switching between desktops), but overall it was a pleasant experience.</p>
<p>Why am I back to Gnome for now?  Because of the following:</p>
<ul>
<li>couldn&#8217;t manage to make KDE 4.2 work properly with two monitors (major issue)</li>
<li>got a bit annoyed by KDE 4.2 not waking up properly from suspend  (not always, but often enough)</li>
<li>also got annoyed by it not always coming back properly from screensaver mode</li>
<li>couldn&#8217;t find graphical configuration for power managment (my laptop kept suspending when idle for 5 minutes with no power plugged in)</li>
<li>a few other minor things here and there</li>
</ul>
<p>I&#8217;m sure I&#8217;ll be back to KDE very soon.  The progress between KDE 4 and KDE 4.2 is huge and if it goes like this, then I won&#8217;t have to wait long.</p>
<!-- google_ad_section_end -->
	<div class="postMeta"><span class="tags">Tags: <a href="http://mamchenkov.net/wordpress/tag/desktop/" title="Desktop" rel="tag">Desktop</a>, <a href="http://mamchenkov.net/wordpress/tag/gnome/" title="gnome" rel="tag">gnome</a>, <a href="http://mamchenkov.net/wordpress/tag/kde/" title="KDE" rel="tag">KDE</a>, <a href="http://mamchenkov.net/wordpress/tag/kde4/" title="KDE4" rel="tag">KDE4</a></span></div>
]]></content:encoded>
			<wfw:commentRss>http://mamchenkov.net/wordpress/2009/02/20/another-look-at-kde-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing advanced search performance in RT3</title>
		<link>http://mamchenkov.net/wordpress/2009/01/19/fixing-advanced-search-performance-in-rt3/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=fixing-advanced-search-performance-in-rt3</link>
		<comments>http://mamchenkov.net/wordpress/2009/01/19/fixing-advanced-search-performance-in-rt3/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 18:22:02 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[rt3]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://mamchenkov.net/wordpress/?p=11491</guid>
		<description><![CDATA[It&#8217;s been bugging me for a while now that advanced search is extremely slow in our RT3.  I thought it was something related to the famous Perl bug, but apparently it wasn&#8217;t.  Then I was I waiting for Fedora 10 to come out, so that we&#8217;d upgrade our RT3 installation to version 3.8.  And that [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>It&#8217;s been bugging me for a while now that advanced search is extremely slow in our <a href="http://bestpractical.com/rt/">RT3</a>.  I thought it was something related to the <a href="http://linux.slashdot.org/article.pl?sid=08/08/29/1423201&amp;from=rss">famous Perl bug</a>, but apparently it wasn&#8217;t.  Then I was I waiting for Fedora 10 to come out, so that we&#8217;d upgrade our RT3 installation to version 3.8.  And that didn&#8217;t solve the problem either.  Finally, we got bored and annoyed enough by this problem to actually do soemthing about it.  The solution was, as often, just a Google search away.  Here is the quote from <a href="http://www.gossamer-threads.com/lists/rt/users/76792?search_string=query%20build;#76792">this discussion</a>:</p>
<blockquote><p>Faulty rights on a specific queue caused the owner list to be quite long, which RT didn&#8217;t like. (By mistake someone had given the own ticket right on the queue to all unprivileged users)</p></blockquote>
<p>I went through all the queues to check the rights, and there it was &#8211; a test queue had &#8220;Own Ticket&#8221; assigned to &#8220;Everyone&#8221;.  Immediately, after remove this access levels things got back to normal.</p>
<!-- google_ad_section_end -->
	<div class="postMeta"><span class="tags">Tags: <a href="http://mamchenkov.net/wordpress/tag/performance/" title="performance" rel="tag">performance</a>, <a href="http://mamchenkov.net/wordpress/tag/rt3/" title="rt3" rel="tag">rt3</a>, <a href="http://mamchenkov.net/wordpress/tag/search/" title="search" rel="tag">search</a></span></div>
]]></content:encoded>
			<wfw:commentRss>http://mamchenkov.net/wordpress/2009/01/19/fixing-advanced-search-performance-in-rt3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 10 booting issues</title>
		<link>http://mamchenkov.net/wordpress/2008/12/29/fedora-10-booting-issues/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=fedora-10-booting-issues</link>
		<comments>http://mamchenkov.net/wordpress/2008/12/29/fedora-10-booting-issues/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 22:22:36 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[fedora linux]]></category>

		<guid isPermaLink="false">http://mamchenkov.net/wordpress/?p=11467</guid>
		<description><![CDATA[If it so happens that your Fedora install suddenly fails to boot, giving some error messages or a simple &#8220;GRUB &#8221; string, then I advise you to boot into rescue mode, install all updates, regenerate initrd image and reboot.  All should be nice and sweet now.
Those of you who need more info, scroll through Common [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>If it so happens that your Fedora install suddenly fails to boot, giving some error messages or a simple &#8220;GRUB &#8221; string, then I advise you to boot into rescue mode, install all updates, regenerate initrd image and reboot.  All should be nice and sweet now.</p>
<p>Those of you who need more info, scroll through <a href="http://fedoraproject.org/wiki/Common_F10_bugs">Common Fedora 10 Bugs</a> wiki page.</p>
<!-- google_ad_section_end -->
	<div class="postMeta"><span class="tags">Tags: <a href="http://mamchenkov.net/wordpress/tag/fedora-linux/" title="fedora linux" rel="tag">fedora linux</a></span></div>
]]></content:encoded>
			<wfw:commentRss>http://mamchenkov.net/wordpress/2008/12/29/fedora-10-booting-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing RT3 on Fedora 10</title>
		<link>http://mamchenkov.net/wordpress/2008/12/08/fixing-rt3-on-fedora-10/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=fixing-rt3-on-fedora-10</link>
		<comments>http://mamchenkov.net/wordpress/2008/12/08/fixing-rt3-on-fedora-10/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 09:07:40 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[fedora linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[rt3]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://mamchenkov.net/wordpress/?p=11449</guid>
		<description><![CDATA[We upgraded our development server to Fedora 10 over the weekend.  Among other things, it runs RT3 &#8211; excellent support, issue management, and bug tracking tool.  Once the upgrade was over, we ended up with a semi-working setup of RT3.  The emails were going through just fine, but the web interface was giving out a [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>We upgraded our development server to Fedora 10 over the weekend.  Among other things, it runs <a href="http://bestpractical.com/rt">RT3</a> &#8211; excellent support, issue management, and bug tracking tool.  Once the upgrade was over, we ended up with a semi-working setup of RT3.  The emails were going through just fine, but the web interface was giving out a blank screen with no content or errors or warnings.</p>
<p>Googled a bit, but that didn&#8217;t help a lot.   Went through server logs and found an out of memory shout from Storable.pm:</p>
<pre>2325:Callback called exit at
../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/thaw.al)
line 415.</pre>
<p>Googled for that, but it turned out that quite a few people have the problem with this module running out of memory.  And not only in RT3.</p>
<p>So I left it where it was and had some good night sleep.  And it helped.  In the morning, englightment came in, and I tried reloading the page with cookies and cache cleaned.  It worked.  And then it didn&#8217;t work again.  Cleaning cookies was helping for a couple of page views.  So I dived back into the RT_Config.pm file to see my options.  There it was.</p>
<pre>=item C&lt;$WebSessionClass&gt;
C&lt;$WebSessionClass&gt; is the class you wish to use for managing Sessions.
It defaults to use your SQL database, but if you are using MySQL 3.x and
plans to use non-ascii Queue names, uncomment and add this line to
F&lt;RT_SiteConfig.pm&gt; will prevent session corruption.
=cut
# Set($WebSessionClass , 'Apache::Session::File');</pre>
<p>Once I enabled Apache::Session::File, the problem went away.  We are now back to work, enjoying the new web 2.0 round corners interface, pastel colors, and more.</p>
<!-- google_ad_section_end -->
	<div class="postMeta"><span class="tags">Tags: <a href="http://mamchenkov.net/wordpress/tag/configuration/" title="configuration" rel="tag">configuration</a>, <a href="http://mamchenkov.net/wordpress/tag/fedora-linux/" title="fedora linux" rel="tag">fedora linux</a>, <a href="http://mamchenkov.net/wordpress/tag/open-source/" title="open source" rel="tag">open source</a>, <a href="http://mamchenkov.net/wordpress/tag/rt3/" title="rt3" rel="tag">rt3</a>, <a href="http://mamchenkov.net/wordpress/tag/software/" title="Software" rel="tag">Software</a>, <a href="http://mamchenkov.net/wordpress/tag/sysadmin/" title="Sysadmin" rel="tag">Sysadmin</a>, <a href="http://mamchenkov.net/wordpress/tag/tools/" title="tools" rel="tag">tools</a></span></div>
]]></content:encoded>
			<wfw:commentRss>http://mamchenkov.net/wordpress/2008/12/08/fixing-rt3-on-fedora-10/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
