<?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>Lars Schenk</title>
	<atom:link href="http://lars-schenk.com/feed" rel="self" type="application/rss+xml" />
	<link>http://lars-schenk.com</link>
	<description>IT-Services :: Software-Development since 1980 :: Freelancer since 1988</description>
	<lastBuildDate>Thu, 10 Jun 2010 22:51:01 +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>CakePHP, a visual history: 0 &#8211; 1.3.0</title>
		<link>http://lars-schenk.com/cakephp-a-visual-history-0-1-3-0/537</link>
		<comments>http://lars-schenk.com/cakephp-a-visual-history-0-1-3-0/537#comments</comments>
		<pubDate>Fri, 07 May 2010 14:07:06 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://lars-schenk.com/?p=537</guid>
		<description><![CDATA[Graham Weldon made this fast-paced visual history of the CakePHP repository from 16th May 2005 up until close to the release a few days back for CakePHP 1.3.0. The result is nothing short of awesome.

See in HD and fullscreen!
Original blog post here.
]]></description>
			<content:encoded><![CDATA[<p>Graham Weldon made this fast-paced visual history of the CakePHP repository from 16th May 2005 up until close to the release a few days back for CakePHP 1.3.0. The result is nothing short of awesome.</p>
<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/2BI9d1kZNKs&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/2BI9d1kZNKs&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"></embed></object></p>
<p>See in HD and fullscreen!<br />
Original blog post <a href="http://grahamweldon.com/blog/cakephp-a-visual-history-0-1-3-0">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/cakephp-a-visual-history-0-1-3-0/537/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video: Node.js by Ryan Dahl</title>
		<link>http://lars-schenk.com/video-node-js-by-ryan-dahl/534</link>
		<comments>http://lars-schenk.com/video-node-js-by-ryan-dahl/534#comments</comments>
		<pubDate>Thu, 18 Feb 2010 23:42:14 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://lars-schenk.com/?p=534</guid>
		<description><![CDATA[I recently read about &#8220;Node.js might be the most exciting single piece of software in the current JavaScript universe.&#8221; and &#8220;Node&#8217;s goal is to provide an easy way to build scalable network programs.&#8221; Sounds great. With this talk from Ryan Dahl, I&#8217;ve got a bigger picture:  

]]></description>
			<content:encoded><![CDATA[<p>I recently read about &#8220;Node.js might be the most exciting single piece of software in the current JavaScript universe.&#8221; and &#8220;Node&#8217;s goal is to provide an easy way to build scalable network programs.&#8221; Sounds great. With this talk from Ryan Dahl, I&#8217;ve got a bigger picture:  </p>
<p><embed src="http://blip.tv/play/AYGylE4C" type="application/x-shockwave-flash" width="640" height="385" allowscriptaccess="always" allowfullscreen="true"></embed></p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/video-node-js-by-ryan-dahl/534/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cached json (or xml) view with CakePHP</title>
		<link>http://lars-schenk.com/cached-json-or-xml-view-with-cakephp/523</link>
		<comments>http://lars-schenk.com/cached-json-or-xml-view-with-cakephp/523#comments</comments>
		<pubDate>Wed, 23 Dec 2009 14:52:44 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[tech-recipes]]></category>

		<guid isPermaLink="false">http://lars-schenk.com/?p=523</guid>
		<description><![CDATA[While implementing caching for view as descriped in the cookbook i stumbled upon some glitches:
First I found out the best way to avoid problems with routing urls beeing not cached - especially when using Router::mapResources() - is to enable the caching per action in the controller like this:
function view($id = null) {
	$this->cacheAction = "10 minutes";
	// [...]]]></description>
			<content:encoded><![CDATA[<p>While implementing caching for view as descriped in the <a href="http://book.cakephp.org/view/346/Caching-in-the-Controller">cookbook</a> i stumbled upon some glitches:</p>
<p>First I found out the best way to avoid problems with routing urls beeing not cached - especially when using Router::mapResources() - is to enable the caching per action in the controller like this:</p>
<p>function view($id = null) {<br />
	$this->cacheAction = "10 minutes";<br />
	// more stuff<br />
}</p>
<p>The next problem was that cached views don't retain document mime type (xml, json, etc.). The first request works correctly (uncached request), but the second request will come back as text/html. You can find a more <a href="http://www.mail-archive.com/cake-php@googlegroups.com/msg59379.html">detailed description of the problem here</a>.</p>
<p>I got an advice to enable callbacks for my views but that slows down and defeats the purpose of the cache. My approach now is to use a layout like this:</p>
<div class="igBar"><span id="lphp-2"><a href="#" onclick="javascript:showPlainTxt('php-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-2">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;cake:nocache&gt;&lt;?php</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">configure::<span style="color:#006600;">write</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'debug'</span>,<span style="color:#CC66CC;color:#800000;">0</span><span style="color:#006600; font-weight:bold;">&#41;</span>; <span style="color:#FF9933; font-style:italic;">// surpress all debug output on json views</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/header"><span style="color:#000066;">header</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'Content-type: text/x-json'</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">?&gt;&lt;/cake:nocache&gt;&lt;?php <a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#0000FF;">$content_for_layout</span>; <span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>With the header('Content-type: text/x-json'); embedded in the nocache tags, it works fast and returns the correct mime type.</p>
<ul>
<li>Development-Server XDebug enabled, APC enabled, View cache disabled:<br />
Requests per second:    1.64 [#/sec]</li>
<li>Development-Server XDebug enabled, APC enabled, View cache enabled (files):<br />
Requests per second:    29.04 [#/sec]</li>
<li>Development-Server XDebug disabled, APC enabled, View cache enabled (files):<br />
Requests per second:    95.66 [#/sec]</li>
</ul>
<p>Further reading<br />
<a href="http://www.pseudocoder.com/archives/2009/03/17/8-ways-to-speed-up-cakephp-apps/">8 Ways to Speed Up the Performance of CakePHP Apps</a>.<br />
<a href="http://cakeqs.org/eng/questions/view/store_view_cache_in_apc_or_memcached">Store View Cache in APC or Memcached</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/cached-json-or-xml-view-with-cakephp/523/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Is Chromium OS the perfect netbook OS?</title>
		<link>http://lars-schenk.com/is-chromium-os-the-perfect-netbook-os/514</link>
		<comments>http://lars-schenk.com/is-chromium-os-the-perfect-netbook-os/514#comments</comments>
		<pubDate>Thu, 19 Nov 2009 20:45:34 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://lars-schenk.com/?p=514</guid>
		<description><![CDATA[After Googles launch of their own programming language "go" (which looks like a polished c++ meets pyhton) the next big thing is Googles attempt to re-think what operating systems (targeting netbooks) should be: Google Chromium OS. I don't yet follow the idea of no native apps "on the desktop". So I'm exited about Apple's plan [...]]]></description>
			<content:encoded><![CDATA[<p>After Googles launch of their own programming language "<a href="http://golang.org/">go</a>" (which looks like a polished c++ meets pyhton) the next big thing is Googles attempt to re-think what operating systems (targeting netbooks) should be: <a href="http://googleblog.blogspot.com/2009/11/releasing-chromium-os-open-source.html">Google Chromium OS</a>. I don't yet follow the idea of no native apps "on the desktop". So I'm exited about Apple's plan for this netbook (or tablet-) market. As a developer I welcome every platform that allows users to access webapps in a more convenience way. And this is pretty much the best attempt for the <a href="http://en.wikipedia.org/wiki/Network_Computer">old idea of a "network only computer"</a>: Network Computer Reloaded.</p>
<p><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/0QRO3gKj3qw&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/0QRO3gKj3qw&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/is-chromium-os-the-perfect-netbook-os/514/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Animated Google Story</title>
		<link>http://lars-schenk.com/the-animated-google-story/498</link>
		<comments>http://lars-schenk.com/the-animated-google-story/498#comments</comments>
		<pubDate>Sun, 08 Nov 2009 11:56:46 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://lars-schenk.com/?p=498</guid>
		<description><![CDATA[A quick look back at the Google story over the last 11 years. From Stanford to Mountain View and around the world, featuring many different products, starting with BackRub (Search) up to Google Wave, StreetView and Chrome.

]]></description>
			<content:encoded><![CDATA[<p>A quick look back at the Google story over the last 11 years. From Stanford to Mountain View and around the world, featuring many different products, starting with BackRub (Search) up to Google Wave, StreetView and Chrome.</p>
<p><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/EjN5avRvApk&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/EjN5avRvApk&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/the-animated-google-story/498/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Git</title>
		<link>http://lars-schenk.com/getting-git/485</link>
		<comments>http://lars-schenk.com/getting-git/485#comments</comments>
		<pubDate>Wed, 21 Oct 2009 11:46:37 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://lars-schenk.com/?p=485</guid>
		<description><![CDATA[After reading ebooks, watching screencasts and working through some tutorials trying to get a grip on git, I found this slide that made me understand. Great! Thanks, Scott Chacon.
Another helpfull resource is: Understanding Git Conceptually and gitref.org

]]></description>
			<content:encoded><![CDATA[<p>After reading ebooks, watching screencasts and working through some tutorials trying to get a grip on <a href="http://git-scm.com/">git</a>, I found this slide that made me understand. Great! Thanks, Scott Chacon.</p>
<p>Another helpfull resource is: <a href="http://www.eecs.harvard.edu/~cduan/technical/git/">Understanding Git Conceptually</a> and <a href="http://gitref.org/">gitref.org</a></p>
<p><embed src="http://gitcasts.com/flowplayer/FlowPlayerLight.swf?config=%7Bembedded%3Atrue%2CbaseURL%3A%27http%3A%2F%2Fgitcasts%2Ecom%2Fflowplayer%27%2CvideoFile%3A%27http%3A%2F%2Fmedia%2Egitcasts%2Ecom%2Fgit%2Dtalk%2Eflv%27%2CautoBuffering%3Afalse%2CautoPlay%3Afalse%7D" width="620" height="445" scale="noscale" bgcolor="111111" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" allowNetworking="all" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/getting-git/485/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Social Media Revolution (updated)</title>
		<link>http://lars-schenk.com/social-media-revolution/482</link>
		<comments>http://lars-schenk.com/social-media-revolution/482#comments</comments>
		<pubDate>Wed, 07 Oct 2009 12:43:20 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://lars-schenk.com/?p=482</guid>
		<description><![CDATA[Is social media a fad? Or is it the biggest shift since the Industrial Revolution? 
This is a refresh of the original Social Media Revolution with updated statistics and images. Created by author Erik Qualman and based on the #1 Best Selling book Socialnomics.

Social Media Revolution 2 (Refresh) from Erik Qualman on Vimeo.
]]></description>
			<content:encoded><![CDATA[<p>Is social media a fad? Or is it the biggest shift since the Industrial Revolution? </p>
<p>This is a refresh of the original Social Media Revolution with updated statistics and images. Created by author Erik Qualman and based on the #1 Best Selling book Socialnomics.</p>
<p><object width="640" height="360"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=11551721&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=11551721&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="360"></embed></object>
<p><a href="http://vimeo.com/11551721">Social Media Revolution 2 (Refresh)</a> from <a href="http://vimeo.com/user2132738">Erik Qualman</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/social-media-revolution/482/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>EC2 Reserved Instances</title>
		<link>http://lars-schenk.com/ec2-reserved-instances/468</link>
		<comments>http://lars-schenk.com/ec2-reserved-instances/468#comments</comments>
		<pubDate>Mon, 16 Mar 2009 01:56:20 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[Virtualisierung]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[Reserved Instances]]></category>

		<guid isPermaLink="false">http://lars-schenk.com/?p=468</guid>
		<description><![CDATA[With "Reserved Instances" Amazon introduced an additional pricing option for EC2 that gives an option to make a one-time payment for an instance to reserve capacity and further reduce hourly usage charges. You may look up the details at: aws.amazon.com/ec2/#pricing.
I have made a rough comparison for the classic "on demand" small instance against the new [...]]]></description>
			<content:encoded><![CDATA[<p>With "Reserved Instances" Amazon introduced an additional pricing option for EC2 that gives an option to make a one-time payment for an instance to reserve capacity and further reduce hourly usage charges. You may look up the details at: <a href="http://aws.amazon.com/ec2/#pricing">aws.amazon.com/ec2/#pricing</a>.</p>
<p>I have made a rough comparison for the classic "on demand" small instance against the new reserved instance:</p>
<p><strong>On Demand Instance:</strong><br />
$0 + (365*24*$0,10) = $876/year = $73/month</p>
<p><strong>Reserved Instance 1year:</strong><br />
$325 + (365*24*$0,03) = $588/year = $50/month<br />
Saves you $288/year or $24/month.</p>
<p><strong>Reserved Instance 3years:</strong><br />
$500 + (3*365*24*$0,03) = $1288/3years = $430/year = $36/month<br />
Saves you 446 $/year or 37$/month.</p>
<p>Here's the offical <a href="http://aws.amazon.com/ec2/faqs/#What_is_a_Reserved_Instance">FAQ</a> on using Reserved Instances. And here's a funny but critically blog post about the "<a href="http://www.rogue-development.com/blog2/2009/03/a-single-command-that-costs-325-to-run/">single commandline that can costs you losts of money</a>". I think Marc Musings is right and I wish that Amazon would improve this because I had the same bad emotions with this "new API feature". It would basically a good idea to have alerts and/or limits for charges, instances and traffic.</p>
<p>Can't wait for reserved Instances to be available for the EU region... "in the near future" as Amazon promised... Happy emotions when spending big money with <a href="http://docs.amazonwebservices.com/AWSEC2/2009-03-01/DeveloperGuide/index.html?CLTRG-purchase-reserved-instance-offering.html">ec2-purchase-reserved-instances-offering</a>! </p>
<p>UPDATE 09-08-21: <a href="http://aws.amazon.com/ec2/reserved-instances/">New Lower Prices for Amazon EC2 Reserved Instances</a> and I'm also happy to see that one of my EC2 instance hit the 500 days uptime mark.</p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/ec2-reserved-instances/468/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Waiting for root file system&#8221; caused by out dated VMware Server</title>
		<link>http://lars-schenk.com/waiting-for-root-file-system-caused-by-out-dated-vmware-server/445</link>
		<comments>http://lars-schenk.com/waiting-for-root-file-system-caused-by-out-dated-vmware-server/445#comments</comments>
		<pubDate>Wed, 25 Feb 2009 20:48:35 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Etch]]></category>
		<category><![CDATA[Fusion]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://lars-schenk.com/?p=445</guid>
		<description><![CDATA[I run into a strange problem when I upgraded some VMs from Debian Etch to Lenny. I'm using VMware Fusion on my MacBook Pro and VMware Server on my local Debian Server. Upgrading VMs hosted by the VMware Server ended in System boot hangs "Waiting for root file system". Upgrading nearly the same Etch VMs [...]]]></description>
			<content:encoded><![CDATA[<p>I run into a strange problem when I upgraded some VMs from Debian Etch to Lenny. I'm using VMware Fusion on my MacBook Pro and VMware Server on my local Debian Server. Upgrading VMs hosted by the VMware Server ended in System boot hangs "Waiting for root file system". Upgrading nearly the same Etch VMs hosted by VMware Fusion did not fail.</p>
<p>According to Debians Upgrade instruction and it's "<a href="http://debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html#how-to-recover">How to recover</a>" section, the problem can be caused by new naming conventions for IDE disks.</p>
<blockquote><p>This problem can occur when the upgrade of the kernel introduces the use of the new generation of IDE drivers. The IDE disk naming convention for the old drivers was hda, hdb, hdc, hdd. The new drivers will name the same disks respectively sda, sdb, sdc, sdd. The problem appears when the upgrade does not generate a new /boot/grub/menu.lst file to take the new naming convention into account. During the boot, Grub will pass a system root partition to the kernel that the kernel doesn't find.
</p></blockquote>
<p>This seems like to be very common reason for these "Waiting for root file system" troubles that many faces now when upgrading to Lenny. But in my case I allready had the new sda* names in the grub/menu.lst and /etc/fstab. The "solution to recover" did not work. </p>
<p>The virtual lenny server with the new kernel images that fails to boot was hosted by VMWare Server 1.0.3. For a nearly the same upgrade process (etch to lenny) hosted on FMWare fusion 2.0.2, I did not have these problems. </p>
<p><strong>Solution:</strong> My VMWare Server 1.0.3 was out of date and had a known vmware bug that caused this error. Upgrading to the latest version (now 1.0.8) solved the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/waiting-for-root-file-system-caused-by-out-dated-vmware-server/445/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nagios commands via web-interface on Debian</title>
		<link>http://lars-schenk.com/nagios-commands-via-web-interface-on-debian/446</link>
		<comments>http://lars-schenk.com/nagios-commands-via-web-interface-on-debian/446#comments</comments>
		<pubDate>Tue, 24 Feb 2009 21:58:15 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[tech-recipes]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Nagios]]></category>

		<guid isPermaLink="false">http://lars-schenk.com/?p=446</guid>
		<description><![CDATA[Ups, I did it again - when I upgraded to Debian GNU/Linux 5 (lenny) and Nagios3 I stumbled about this nagios error when I try to send directs commands via the web-interface:
Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!
In "/etc/nagios3/nagios.cfg" the "check_external_commands=1" was already set. So there was something more required to make it run on [...]]]></description>
			<content:encoded><![CDATA[<p>Ups, I did it again - when I upgraded to Debian GNU/Linux 5 (lenny) and Nagios3 I stumbled about this nagios error when I try to send directs commands via the web-interface:</p>
<blockquote><p>Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!</p></blockquote>
<p>In "/etc/nagios3/nagios.cfg" the "check_external_commands=1" was already set. So there was something more required to make it run on Debian... </p>
<p>Deep in my memory I know that there was a debian way to solve this user right related problem. This time I'll write it down here - perhaps I'll find it more easily when I upgrade to Debian GNU/Linux 6.0 (codenamed squeeze) and/or Nagios4.</p>
<blockquote><p>/etc/init.d/nagios3 stop<br />
dpkg-statoverride --update --add nagios www-data 2710 /var/lib/nagios3/rw<br />
dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios3<br />
/etc/init.d/nagios3 start
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/nagios-commands-via-web-interface-on-debian/446/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
