<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>The Rule of Tech</title>
	<atom:link href="http://ruleoftech.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ruleoftech.wordpress.com</link>
	<description>Everything and nothing but still something about Tech</description>
	<lastBuildDate>Mon, 09 Jan 2012 16:13:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ruleoftech.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>The Rule of Tech</title>
		<link>http://ruleoftech.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ruleoftech.wordpress.com/osd.xml" title="The Rule of Tech" />
	<atom:link rel='hub' href='http://ruleoftech.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Rule of Tech has moved</title>
		<link>http://ruleoftech.wordpress.com/2009/11/05/rule-of-tech-has-moved/</link>
		<comments>http://ruleoftech.wordpress.com/2009/11/05/rule-of-tech-has-moved/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 14:05:34 +0000</pubDate>
		<dc:creator>Marko</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://ruleoftech.wordpress.com/?p=80</guid>
		<description><![CDATA[Rule of Tech has now a new home, http://ruleoftech.com/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=80&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Rule of Tech has now a new home, <a href="http://ruleoftech.com/">http://ruleoftech.com/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruleoftech.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruleoftech.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruleoftech.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruleoftech.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruleoftech.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruleoftech.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruleoftech.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruleoftech.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruleoftech.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruleoftech.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruleoftech.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruleoftech.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruleoftech.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruleoftech.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=80&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruleoftech.wordpress.com/2009/11/05/rule-of-tech-has-moved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a1b6339343315dbae826f1913992cfd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Marko</media:title>
		</media:content>
	</item>
		<item>
		<title>Eclipse: Class file name must end with .class exception in search</title>
		<link>http://ruleoftech.wordpress.com/2009/11/04/eclipse-class-file-name-must-end-with-class-exception-in-search/</link>
		<comments>http://ruleoftech.wordpress.com/2009/11/04/eclipse-class-file-name-must-end-with-class-exception-in-search/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 10:50:03 +0000</pubDate>
		<dc:creator>Marko</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[problems]]></category>

		<guid isPermaLink="false">http://ruleoftech.wordpress.com/?p=52</guid>
		<description><![CDATA[Eclipse is nice IDE but it has it&#8217;s own problems. This time the Java Search and Open Type -search produced an error saying &#8220;Class file name must end with .class&#8221;. Very helpfull. Fortunately almost all the answers in the world can be found in the Internet and so with a quick googling the solution to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=52&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Eclipse is nice IDE but it has it&#8217;s own problems. This time the Java Search and Open Type -search produced an error saying &#8220;Class file name must end with .class&#8221;. Very helpfull. Fortunately almost all the answers in the world can be found in the Internet and so with a quick googling the solution to this annoying problem was found on <a href="http://stackoverflow.com/questions/6816/eclipse-class-file-name-must-end-with-class-exception-in-java-search">Stack Overflow</a>.</p>
<p>I had already tried Project -&gt; Clean&#8230; and closing Eclipse, deleting all the built class files and restarting Eclipse to no avail as was the original question author. The right answer lies in deleting the corrupted search index which is explained in <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=269820#c9">Eclipse bug&#8217;s #269820 comment</a>.</p>
<p>How to delete the search index:</p>
<ol>
<li>Close Eclipse</li>
<li>Delete workspace/.metadata/.plugins/org.eclipse.jdt.core/*.index</li>
<li>Delete workspace/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt</li>
<li>Start Eclipse again</li>
</ol>
<p>This fixed the issue for me.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruleoftech.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruleoftech.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruleoftech.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruleoftech.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruleoftech.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruleoftech.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruleoftech.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruleoftech.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruleoftech.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruleoftech.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruleoftech.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruleoftech.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruleoftech.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruleoftech.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=52&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruleoftech.wordpress.com/2009/11/04/eclipse-class-file-name-must-end-with-class-exception-in-search/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a1b6339343315dbae826f1913992cfd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Marko</media:title>
		</media:content>
	</item>
		<item>
		<title>Redirect HTTP and HTTPS traffic to Tomcat&#8217;s ports</title>
		<link>http://ruleoftech.wordpress.com/2009/06/11/redirecting-http-and-https-traffic-to-tomcats-ports/</link>
		<comments>http://ruleoftech.wordpress.com/2009/06/11/redirecting-http-and-https-traffic-to-tomcats-ports/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 18:47:17 +0000</pubDate>
		<dc:creator>Marko</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[tomcat]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://ruleoftech.wordpress.com/?p=38</guid>
		<description><![CDATA[Apache Tomcat likes with default settings to listen to requests on 8080 and 8443 ports but it is more enjoyable to use the more common 80 and 443 ports for HTTP and HTTPS traffic. This way the user don&#8217;t have to put those pesky port numbers after the address. Of course you could just tell [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=38&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Apache Tomcat likes with default settings to listen to requests on 8080 and 8443 ports but it is more enjoyable to use the more common 80 and 443 ports for HTTP and HTTPS traffic. This way the user don&#8217;t have to put those pesky port numbers after the address. Of course you could just tell Tomcat to listen to those ports but it has some negative sides: hassle with the startup and running Tomcat as root.</p>
<p>Luckily it is easy to tell the system to redirect the traffic from some port to other. Just define some new xinetd services in <em>/etc/xinetd.d/tomcat</em>.</p>
<blockquote>
<pre>
# vim /etc/xinetd.d/tomcat
# Redirects any requests on port 80 to port 8080 (where Tomcat is listening)
service tomcat-http
{
        disable                 = no
        flags                   = REUSE
        wait                    = no
        user                    = root
        socket_type         = stream
        protocol                = tcp
        port                    = 80
        redirect                = localhost 8080
        log_on_success  -= PID HOST DURATION EXIT

        #per_source = UNLIMITED
        #instances = UNLIMITED
}

# Redirects any requests on port 443 to port 8443 (where Tomcat is listening)
service tomcat-https
{
        disable                 = no
        flags                   = REUSE
        wait                    = no
        user                    = root
        socket_type         = stream
        protocol                = tcp
        port                    = 443
        redirect                = localhost 8443
        log_on_success  -= PID HOST DURATION EXIT

        #per_source = UNLIMITED
        #instances = UNLIMITED
}
</pre>
</blockquote>
<p>(via <a href="http://www.ibm.com/developerworks/java/library/l-secjav.html#h5">Securing Linux for Java services: The port dilemma</a>)</p>
<p>Xinetd puts a connection limit per source IP, by default and this causes the service to become unresponsive when there are dozens of queries a second. You see the following kind of line in your messages log file: &#8220;xinetd[2049]: FAIL: tomcat-https per_source_limit from=123.456.789.123&#8243;. To correct this, uncomment the per_source and instances lines in your xinet.d file and restart it.</p>
<p>Also add those xinetd services to <em>/etc/services</em>.</p>
<blockquote>
<pre>
# vim /etc/services
http        80/tcp     www www-http tomcat-http # WorldWideWeb http
http        80/udp     www www-http tomcat-http # WorldWideWeb HTTP
http        443/tcp    tomcat-https # WorldWideWeb HTTPS
http        443/udp    tomcat-https # WorldWideWeb HTTPS
</pre>
</blockquote>
<p>And now just restart the xinetd and admire how your traffic is redirected to Tomcat&#8217;s ports.</p>
<blockquote>
<pre>
# service xinetd restart
</pre>
</blockquote>
<p><strong>Force everything to transmit through HTTPS</strong><br />
If you also want to redirect all HTTP traffic to HTTPS you can add the following section to you Tomcat <em>web.xml</em>:</p>
<blockquote>
<pre>

     &lt;web-resource-collection&gt;
        &lt;web-resource-name&gt;Protected Context&lt;/web-resource-name&gt;
          &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
      &lt;/web-resource-collection&gt;
      &lt;&lt;!-- auth-constraint goes here if you requre authentication --&gt;
      user-data-constraint&gt;
         &lt;transport-guarantee&gt;CONFIDENTIAL&lt;/transport-guarantee&gt;
      &lt;/user-data-constraint&gt;
    &lt;/security-constraint&gt;
</pre>
</blockquote>
<p>If you are using this redirection of all traffic to HTTPS with JIRA and want to attachments working also with Internet Explorer then you must add the following to your <em>jira.xml</em> (f. ex. /opt/tomcat/conf/Catalina/localhost/jira.xml). This is a Internet Explorer bug, for more information see <a href="http://jira.atlassian.com/browse/JRA-8179">http://jira.atlassian.com/browse/JRA-8179</a>.</p>
<blockquote>
<pre>
&lt;Context ...&gt;
...
&lt;!-- for IE bug, see http://jira.atlassian.com/browse/JRA-8179--&gt;
&lt;Valve className="org.apache.catalina.authenticator.NonLoginAuthenticator"
disableProxyCaching="false" /&gt;

...
&lt;/Context ...&gt;
</pre>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruleoftech.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruleoftech.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruleoftech.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruleoftech.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruleoftech.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruleoftech.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruleoftech.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruleoftech.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruleoftech.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruleoftech.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruleoftech.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruleoftech.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruleoftech.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruleoftech.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=38&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruleoftech.wordpress.com/2009/06/11/redirecting-http-and-https-traffic-to-tomcats-ports/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a1b6339343315dbae826f1913992cfd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Marko</media:title>
		</media:content>
	</item>
		<item>
		<title>Keeping up with the time in Xen</title>
		<link>http://ruleoftech.wordpress.com/2008/01/21/keeping-up-with-the-time-in-xen/</link>
		<comments>http://ruleoftech.wordpress.com/2008/01/21/keeping-up-with-the-time-in-xen/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 18:16:16 +0000</pubDate>
		<dc:creator>Marko</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://ruleoftech.wordpress.com/2008/01/21/keeping-up-with-the-time-in-xen-domu/</guid>
		<description><![CDATA[A simple tip for keeping up with the time in Xen when your domU isn&#8217;t syncing the clock frequently enough and your clock is whatever. Of course you can sync your clock with ntpdate but first you need to set the domain (domU) to run its wallclock independently from Xen. Simply say in the command [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=26&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A simple tip for keeping up with the time in Xen when your domU isn&#8217;t syncing the clock frequently enough and your clock is whatever. Of course you can sync your clock with <em>ntpdate</em> but first you need to set the domain (domU) to run its wallclock independently from Xen.</p>
<p>Simply say in the command line of domU:</p>
<blockquote><p>
<code>echo 1 &gt; /proc/sys/xen/independent_wallclock</code>
</p></blockquote>
<p>Or if you have noclobber on:</p>
<blockquote><p>
<code>echo 1 &gt;! /proc/sys/xen/independent_wallclock</code>
</p></blockquote>
<p>To reenable tracking of Xen wallclock:</p>
<blockquote><p>
<code>echo 0 &gt; /proc/sys/xen/independent_wallclock</code>
</p></blockquote>
<p>And to keep the setting between reboots, just add it to the <em>/etc/sysctl.conf</em>:</p>
<blockquote><p>
<code>xen.independent_wallclock = 1</code>
</p></blockquote>
<p>Although, it is better if the Xen dom0 syncs the clock frequently so all the domains (domU) don&#8217;t need to do it by themselves and thus wasting resources. Why do things multiple times when it could be done just once.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ruleoftech.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ruleoftech.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruleoftech.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruleoftech.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruleoftech.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruleoftech.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruleoftech.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruleoftech.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruleoftech.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruleoftech.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruleoftech.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruleoftech.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruleoftech.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruleoftech.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruleoftech.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruleoftech.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=26&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruleoftech.wordpress.com/2008/01/21/keeping-up-with-the-time-in-xen/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a1b6339343315dbae826f1913992cfd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Marko</media:title>
		</media:content>
	</item>
		<item>
		<title>Samba performance problem after kernel update</title>
		<link>http://ruleoftech.wordpress.com/2007/12/25/samba-performance-problem-after-kernel-update/</link>
		<comments>http://ruleoftech.wordpress.com/2007/12/25/samba-performance-problem-after-kernel-update/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 21:58:23 +0000</pubDate>
		<dc:creator>Marko</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[problems]]></category>
		<category><![CDATA[samba]]></category>

		<guid isPermaLink="false">http://ruleoftech.wordpress.com/2007/12/25/samba-performance-problem-after-kernel-update/</guid>
		<description><![CDATA[Samba is a nice service to provide storage space through networks and it is relatively easy to set up. It&#8217;s not as fast as using NFS between Linux hosts but sometimes you don&#8217;t have that possibility. Sometimes there also might be quite confusing problems like I happened to notice. My Samba service had worked fine [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=28&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Samba is a nice service to provide storage space through networks and it is relatively easy to set up. It&#8217;s not as fast as using NFS between Linux hosts but sometimes you don&#8217;t have that possibility. Sometimes there also might be quite confusing problems like I happened to notice.</p>
<p>My Samba service had worked fine for a long time but after a kernel update and a reboot, the performance was horrible. It was really slow to do anything. Fortunately I wasn&#8217;t the only one to come by with this problem and there was a topic <em><a href="http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/speed.html#id445762">Samba Performance Problem Due to Changing Linux Kernel</a></em> in Samba Performance Tuning -guide which provided a solution to my problem. Just restarted the network interface and the performance was as good as before.</p>
<p>Earlier this month <a href="http://news.samba.org/announcements/pfif/">Samba Team Received Microsoft Protocol Docs</a> so maybe in the near future we will get better and faster software.</p>
<blockquote><p>
The Protocol Freedom Information Foundation (PFIF), signed an agreement with Microsoft to receive the protocol documentation needed to fully interoperate with the Microsoft Windows workgroup server products and to make them available to Free Software projects such as Samba. </p>
<p>Microsoft was required to make this information available to competitors as part of the European Commission March 24th 2004 Decision in the antitrust lawsuit, after losing their appeal against that decision on September 17th 2007.<br />
- <a href="http://news.samba.org/announcements/pfif/">Samba Team</a>
</p></blockquote>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ruleoftech.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ruleoftech.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruleoftech.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruleoftech.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruleoftech.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruleoftech.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruleoftech.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruleoftech.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruleoftech.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruleoftech.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruleoftech.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruleoftech.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruleoftech.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruleoftech.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruleoftech.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruleoftech.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=28&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruleoftech.wordpress.com/2007/12/25/samba-performance-problem-after-kernel-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a1b6339343315dbae826f1913992cfd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Marko</media:title>
		</media:content>
	</item>
		<item>
		<title>WordPress and problem with language files (.mo)</title>
		<link>http://ruleoftech.wordpress.com/2007/09/09/wordpress-and-problem-with-language-files-mo/</link>
		<comments>http://ruleoftech.wordpress.com/2007/09/09/wordpress-and-problem-with-language-files-mo/#comments</comments>
		<pubDate>Sun, 09 Sep 2007 20:57:56 +0000</pubDate>
		<dc:creator>Marko</dc:creator>
				<category><![CDATA[Tech Talk]]></category>

		<guid isPermaLink="false">http://ruleoftech.wordpress.com/2007/09/09/wordpress-doesnt-use-language-files-wplang-has-no-effect/</guid>
		<description><![CDATA[While testing the upcoming WordPress 2.3 I noticed that I had a problem with he localization. Defining the language with WPLANG had no effects and all the text were in English as they should have been in Finnish. I installed another instance of WordPress 2.2.3 and the problem was still there. Somewhat confusing because I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=24&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While testing the upcoming WordPress 2.3 I noticed that I had a problem with he localization. Defining the language with WPLANG had no effects and all the text were in English as they should have been in Finnish. I installed another instance of WordPress 2.2.3 and the problem was still there. Somewhat confusing because I had a working WordPress instance with the same PHP-version (<em>php-5.2.4_pre200708051230-r2</em>). The only difference was that the other box was 32-bit system and the other 64-bit. Although at that time I didn&#8217;t know what to look for. </p>
<p>After some googling I found a Spanish-blog which explained the &#8220;bug&#8221; and provided a solution. Unfortunately I don&#8217;t speak Spanish but the solution was clear with pieces of code to show the way. After I knew what to look for I found some discussions about this topic on <a href="http://trac.wordpress.org/ticket/3780">WordPress Trac</a> and an entry 2 weeks ago with a patch <em><a href="http://trac.wordpress.org/attachment/ticket/3780/gettext-64-without-bitwise-ops.diff">gettext-64-without-bitwise-ops.diff</a></em> seems to get the thing fixed.</p>
<p>The problem is in the PHP-gettext which is used for translating strings. The file is located at <em>wp-includes/gettext.php</em> and in that file the problem is created by fixing <a href="https://savannah.nongnu.org/bugs/?func=detailitem&amp;item_id=10565">a bug in PHP 5.0.2 on 64-bit systems</a>. The counterfix is luckily an easy one and you just have to remove some bitwise operators.</p>
<p>The solution with problematic line on red and the fix on green:<br />
<code></p>
<pre style="overflow:auto;">
wp-includes/gettext.php
line
115	$this-&gt;STREAM = $Reader;
116	$magic = $this-&gt;readint();
<span style="color:red;">117    	if ($magic == ($MAGIC1 &amp; 0xFFFFFFFF) || $magic == ($MAGIC3 &amp; 0xFFFFFFFF)) { // to make sure it works for 64-bit platforms</span>
<span style="color:green;">117	if ($magic == $MAGIC1 || $magic == $MAGIC3) { // to make sure it works for 64-bit platforms</span>
118		$this-&gt;BYTEORDER = 0;
119	} elseif ($magic == ($MAGIC2 &amp; 0xFFFFFFFF)) {
120		$this-&gt;BYTEORDER = 1;
</pre>
<p></code></p>
<p>The search engines &lt;3</p>
<p><b>Update, 2008-02-05:</b><br />
With <a href="http://wordpress.org/development/2008/02/wordpress-233/">WordPress 2.3.3</a> this <a href="http://trac.wordpress.org/ticket/3780">bug is finally closed</a> with some other minor bug fixes and security fix for xmlrpc.php.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ruleoftech.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ruleoftech.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruleoftech.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruleoftech.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruleoftech.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruleoftech.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruleoftech.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruleoftech.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruleoftech.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruleoftech.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruleoftech.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruleoftech.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruleoftech.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruleoftech.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruleoftech.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruleoftech.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=24&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruleoftech.wordpress.com/2007/09/09/wordpress-and-problem-with-language-files-mo/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a1b6339343315dbae826f1913992cfd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Marko</media:title>
		</media:content>
	</item>
		<item>
		<title>Apache can&#8217;t start after updating expat to 2.0.1</title>
		<link>http://ruleoftech.wordpress.com/2007/08/30/apache-cant-start-after-updating-expat-to-201/</link>
		<comments>http://ruleoftech.wordpress.com/2007/08/30/apache-cant-start-after-updating-expat-to-201/#comments</comments>
		<pubDate>Thu, 30 Aug 2007 07:53:20 +0000</pubDate>
		<dc:creator>Marko</dc:creator>
				<category><![CDATA[Tech Talk]]></category>

		<guid isPermaLink="false">http://ruleoftech.wordpress.com/2007/08/30/apache-cant-start-after-updating-expat-to-201/</guid>
		<description><![CDATA[After updating to expat-2.0.1, it tells you to run revdep-rebuild -X --library=libexpat.so.0 but even after that apache2 couldn&#8217;t be started. It says that /usr/sbin/apache2 can&#8217;t find shared library libexpat.so.0. After some googling I found a message in Google Groups which deals with the problem. The problem is that /usr/lib/libaprutil-0.so.0.9.12 which belongs to apr-util is still [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=23&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After updating to expat-2.0.1, it tells you to run <code>revdep-rebuild -X --library=libexpat.so.0</code> but even after that apache2 couldn&#8217;t be started. It says that /usr/sbin/apache2 can&#8217;t find shared library libexpat.so.0. After some googling I found a message in <a href="http://groups.google.com/group/linux.gentoo.user/browse_thread/thread/3135251a59329bbf/3b56f89f05900675?#3b56f89f05900675">Google Groups</a> which deals with the problem. </p>
<p>The problem is that <em>/usr/lib/libaprutil-0.so.0.9.12</em> which belongs to apr-util is still broken. But how can that be broken when you just ran the revdep-rebuild which should have fixed the problem. The reason is that by executing <code>eix apr-util</code>, you see that there are two versions of apr-util installed. </p>
<p>After re-emergeing the <em>apr-util-0.9.12-r1</em>, apache2 starts normally.</p>
<blockquote><p>The problem is actually caused by the &#8220;-X&#8221; option of revdep-rebuild command, which emerges the best (currrently is the latest stable) packages available. In this apr-util case, it will emerge apr-util-1.2.8.</p>
<p>So for slotted packages, don&#8217;t use &#8220;-X&#8221; option for revdep-rebuild command.<br />
- <a href="http://groups.google.com/group/linux.gentoo.user/browse_thread/thread/3135251a59329bbf/3b56f89f05900675?#3b56f89f05900675">Shaochun Wang </a></p></blockquote>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ruleoftech.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ruleoftech.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruleoftech.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruleoftech.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruleoftech.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruleoftech.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruleoftech.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruleoftech.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruleoftech.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruleoftech.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruleoftech.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruleoftech.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruleoftech.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruleoftech.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruleoftech.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruleoftech.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=23&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruleoftech.wordpress.com/2007/08/30/apache-cant-start-after-updating-expat-to-201/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a1b6339343315dbae826f1913992cfd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Marko</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick Howto: Setting up SNMP and MRTG</title>
		<link>http://ruleoftech.wordpress.com/2007/06/18/quick-howto-setting-up-snmp-and-mrtg/</link>
		<comments>http://ruleoftech.wordpress.com/2007/06/18/quick-howto-setting-up-snmp-and-mrtg/#comments</comments>
		<pubDate>Mon, 18 Jun 2007 19:10:03 +0000</pubDate>
		<dc:creator>Marko</dc:creator>
				<category><![CDATA[Tech Talk]]></category>

		<guid isPermaLink="false">http://ruleoftech.wordpress.com/2007/06/18/setting-up-snmp-and-mrtg/</guid>
		<description><![CDATA[This article might be a bit outdated on some parts but just Google if problems arise. SNMP and MRTG graphs Statistics and graphs are nice way to follow what the machine is doing. Just a little bit of configuration and scripts you can use f. ex. servers&#8217;, routers&#8217; and firewalls&#8217; operational statistical data from their [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=16&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This article might be a bit outdated on some parts but just Google if problems arise.</p>
<hr />
<h1>SNMP and MRTG graphs</h1>
<p>Statistics and graphs are nice way to follow what the machine is doing. Just a little bit of configuration and scripts you can use f. ex. servers&#8217;, routers&#8217; and firewalls&#8217; operational statistical data from their Object Identifiers (OID) with the help of Simple Network Management Protocol (SNMP) and Management Information Base (MIB) which define the available OID functions.</p>
<p>For more detailed how-to, check out: <a href="http://www.siliconvalleyccie.com/linux-hn/mrtg.htm#_Toc92809393">http://www.siliconvalleyccie.com/linux-hn/mrtg.htm#_Toc92809393</a> or a bit Gentoo specific guide <a href="http://forums.gentoo.org/viewtopic-t-105865-highlight-mrtg+rrdtool.html">http://forums.gentoo.org/viewtopic-t-105865-highlight-mrtg+rrdtool.html</a></p>
<h2>Tools for the job</h2>
<p>From Gentoo package-format:</p>
<blockquote><p>
* [net-analyzer/net-snmp]<br />
* [net-analyzer/mrtg]<br />
* [net-analyzer/rrdtool]<br />
* [net-www/apache]
</p></blockquote>
<h2>SNMP</h2>
<p>We want to restrict the use of SNMP to local network so we edit SNMP&#8217;s config file which contains the community string and other parameters. Our selected community string here is &#8220;humppa&#8221;.</p>
<p><em>/etc/snmp/snmpd.conf</em></p>
<pre style="overflow:auto;">
com2sec    local    localhost    humppa
com2sec    network_1    172.168.1.0/24    humppa
com2sec    network_2    192.168.1.0/24    humppa

group    MyROGroup    v1    local
group    MyROGroup    v1    network_1
group    MyROGroup    v1    network_2

view    all-mibs    included    .1    80

access   MyROGroup  ""  v1  noauth  0  all-mibs  none  none
</pre>
<p>So now:</p>
<ul>
<li>only 3 networks (localhost, 172.168.1.0/24, and 192.168.1.0/24) are allowed to use SNMP with <em>humppa</em> community string.</li>
<li>
Every network is on the MyROGroup and defined to use SNMP version 1 protocol with all MIBs.
</li>
<li>
Only Reading the MIBs is allowed and thus the write section is &#8220;none&#8221;.
</li>
</ul>
<p>Start the SNMP service:</p>
<pre>
root@pikseli ~ # /etc/init.d/snmpd start
* Starting net-snmpd ... [ ok ]
</pre>
<p>Add the service to always start after reboots:</p>
<pre>
 ~ # rc-update add snmpd default
 * snmpd added to runlevel default
 * rc-update complete.
</pre>
<p>Test that the SNMP works with snmpwalk</p>
<pre style="overflow:auto;">
<b>~ #</b> snmpwalk -v 1 -c humppa localhost system
SNMPv2-MIB::sysDescr.0 = STRING: Linux pikseli 2.6.11-ck1 #1 Fri Mar 4 01:59:56 EET 2005 x86_64
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
SNMPv2-MIB::sysUpTime.0 = Timeticks: (13374) 0:02:13.74
SNMPv2-MIB::sysContact.0 = STRING: xyz@qwe.fi
SNMPv2-MIB::sysName.0 = STRING: mysupercomputer
...
...
<b>~ #</b> snmpwalk -v 1 -c humppa localhost interface
IF-MIB::ifNumber.0 = INTEGER: 3
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifDescr.1 = STRING: eth0
IF-MIB::ifDescr.2 = STRING: lo
IF-MIB::ifDescr.3 = STRING: eth1
...
...
<b>~ #</b>
</pre>
<h2>MRTG</h2>
<div style="float:right;margin:1em;">
<a href='http://ruleoftech.files.wordpress.com/2007/06/piimis-mrtg_2007-06-18-s.png' title='MRTG Graphs on mysupercomputer'><img style="border:2px solid #eee;" src='http://ruleoftech.files.wordpress.com/2007/06/piimis-mrtg_2007-06-18-s.thumbnail.png?w=380' alt='MRTG Graphs on mysupercomputer' /></a>
</div>
<p>MRTG (Multi-Router Traffic Grapher) is a tool to draw some graphs from different statistical sources and they can look like the image on the right.</p>
<h3>Configuring MRTG</h3>
<p>MRTG&#8217;s config file is usually found in <em>/etc/mrtg/mrtg.cfg</em> and the resulting files are usually found under the Web Server&#8217;s root (f. ex. /var/www/mrtg/).</p>
<h3>Mrtg Config:</h3>
<pre style="overflow:auto;">
LogFormat: rrdtool
EnableIPv6: no
Options[_]: bits,growright

# System: My Super Computer
# Description: Linux mysupercomputer
# Contact: -
# Location: Finland

# Global configuration
LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt, &#92;
/usr/share/snmp/mibs/TCP-MIB.txt, &#92;
/usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt

Title[server.net]: a 10MB line to Internet
PNGTitle[server.net]: Internet Traffic
PageTop[server.net]: &lt;H1&gt;Link to the Internet&lt;/H1&gt;
Target[server.net]: 1:humppa@localhost
MaxBytes[server.net]: 10000000
YLegend[server.net]: kbps
Options[server.net]: growright

# Established TCP Connections
Target[server.estabcons]: tcpCurrEstab.0&amp;tcpCurrEstab.0:humppa@localhost
Title[server.estabcons]: Currently Established TCP Connections
PNGTitle[server.estabcons]: Currently Established TCP Connections
PageTop[server.estabcons]: &lt;H1&gt;Established TCP Connections&lt;/H1&gt;
MaxBytes[server.estabcons]: 10000000000
ShortLegend[server.estabcons]:
YLegend[server.estabcons]: Connections
LegendI[server.estabcons]: In
LegendO[server.estabcons]:
Legend1[server.estabcons]: Established connections
Legend2[server.estabcons]:
Options[server.estabcons]: growright,nopercent,gauge

# New TCP Connection Monitoring (per minute)
Target[server.newconns]: tcpPassiveOpens.0&amp;tcpActiveOpens.0:humppa@localhost
Title[server.newconns]: Newly Created TCP Connections
PNGTitle[server.newconns]: Newly Created TCP Connections
PageTop[server.newconns]: &lt;H1&gt;New TCP Connections</H1>
MaxBytes[server.newconns]: 10000000000
ShortLegend[server.newconns]: c/s
YLegend[server.newconns]: Conns / Min
LegendI[server.newconns]: In
LegendO[server.newconns]: Out
Legend1[server.newconns]: New inbound connections
Legend2[server.newconns]: New outbound connections
Options[server.newconns]: growright,nopercent,perminute

Target[server.cpu]:ssCpuRawUser.0&amp;ssCpuRawUser.0:humppa@localhost + &#92;
ssCpuRawSystem.0&amp;ssCpuRawSystem.0:humppa@localhost + &#92; 
ssCpuRawNice.0&amp;ssCpuRawNice.0:humppamachine@localhost
RouterUptime[server.cpu]: humppa@localhost
MaxBytes[server.cpu]: 100
Title[server.cpu]: CPU Load
PNGTitle[server.cpu]: CPU Load
PageTop[server.cpu]: &lt;H1&gt;Active CPU Load %&lt;/H1&gt;
Unscaled[server.cpu]: ymwd
ShortLegend[server.cpu]: %
YLegend[server.cpu]: CPU Utilization
Legend1[server.cpu]: Active CPU in % (Load)
Legend2[server.cpu]:
Legend3[server.cpu]:
Legend4[server.cpu]:
LegendI[server.cpu]:  Active
LegendO[server.cpu]:
Options[server.cpu]: growright,nopercent

Target[server.rootdisk]:hrStorageSize.4&amp;hrStorageUsed.4:humppa@localhost * 4000
MaxBytes[server.rootdisk]: 12000000000
Unscaled[server.rootdisk]: dwym
Title[server.rootdisk]: Disk / Usage ( / )
PNGTitle[server.rootdisk]: Disk / Usage ( / )
PageTop[server.rootdisk]: &lt;H1&gt;Disk / Usage ( / )&lt;/H1&gt;
ShortLegend[server.rootdisk]: B
kilo[server.rootdisk]: 1024
YLegend[server.rootdisk]: disk utilization
Legend1[server.rootdisk]: / disk size
Legend2[server.rootdisk]: / disk used
Legend3[server.rootdisk]:
Legend4[server.rootdisk]:
LegendI[server.rootdisk]:  / disk size
LegendO[server.rootdisk]:  / disk used
Options[server.rootdisk]: growright, gauge,nopercent

Target[server.usrsys]: ssCpuRawUser.0&amp;ssCpuRawSystem.0:humppa@localhost
Title[server.usrsys]: CPU usr sys
PNGTitle[server.usrsys]: CPU usr sys
MaxBytes[server.usrsys]: 100
PageTop[server.usrsys]: &lt;H1&gt;Active CPU Load (usr sys) %&lt;/H1&gt;
Unscaled[server.usrsys]: ymwd
ShortLegend[server.usrsys]: %
YLegend[server.usrsys]: CPU Utilization
Legend1[server.usrsys]: % (usr)
Legend2[server.usrsys]: % (sys)
Legend3[server.usrsys]:
Legend4[server.usrsys]:
LegendI[server.usrsys]: % (usr)
LegendO[server.usrsys]: % (sys)
Options[server.usrsys]: growright, nopercent
</pre>
<h3>Checking the MRTG config</h3>
<p>Execute the script <code>env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg</code> 3 times. You get some errors but don&#8217;t worry.</p>
<p>Create or uncomment the following line in your cron.d so you get regularly updated graps (once in a 5 minutes)</p>
<p><em>/etc/cron.d/mrtg</em></p>
<pre>
0-59/5 * * * * root env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg &gt; /dev/null 2&gt;&amp;1
</pre>
<p>Finally create a index page for MRTG (f. ex. <i>http://localhost/mrtg/index.html</i>) with </p>
<pre style="overflow:auto;">
<b>~ #</b> indexmaker --output=/var/www/mrtg/index.html &#92;
 --title="Power of Tech Under Control :)" &#92;
 --sort=name &#92;
 --enumerate &#92;
 /etc/mrtg/mrtg.cfg
</pre>
<h3>MRTG ja RRDtool</h3>
<p>MRTG can log data with RRDtool which is better than the default log format. Just use the <em>&#8220;LogFormat: rrdtool&#8221;</em> line and you&#8217;re done. There is more <a href="http://oss.oetiker.ch/rrdtool/">information about RRDtool</a> and <a href="http://oss.oetiker.ch/mrtg/">MRTG</a> on Oetiker&#8217;s site.</p>
<h4>mrtg-rrd</h4>
<blockquote><p>
&#8220;The mrtg-rrd.cgi is a CGI/FastCGI script for displaying MRTG graphs from data in the RRDtool format. It can make your monitoring system faster because MRTG does not have to generate all the PNG files with graphs every 5 minutes or so. Instead of this the graphs are generated on-demand when the user wants to see them.&#8221; <a href="http://www.fi.muni.cz/~kas/mrtg-rrd/">http://www.fi.muni.cz/~kas/mrtg-rrd/</a>
</p></blockquote>
<p>To use <em>Mrtg-rrd.cgi</em> just download it from the link above and place it on Apache&#8217;s cgi-bin -directory. </p>
<h2>Extra scripts for extra statistics</h2>
<h3>Memory and Swap usage</h3>
<p>The script: <a href='http://ruleoftech.files.wordpress.com/2007/07/mempl.txt' title='mem.pl'>mem.pl</a></p>
<p>Lines for the mrtg.cfg:</p>
<pre style="overflow:auto;">
Target[server.mem-swap]: `/usr/local/sbin/mem.pl`
Title[server.mem-swap]: Mem and Swap Usage
Unscaled[server.mem-swap]: dwym
MaxBytes[server.mem-swap]: 300000000
PageTop[server.mem-swap]: &lt;H1&gt;Mem and Swap Usage&lt;/H1&gt;
#kMG[server.mem-swap]: k,M,G,T,P
LegendI[server.mem-swap]: Swap
LegendO[server.mem-swap]: Mem
Legend1[server.mem-swap]: Swap
Legend2[server.mem-swap]: Mem
YLegend[server.mem-swap]: Mem and Swap Usage
ShortLegend[server.mem-swap]: &nbsp;
Options[server.mem-swap]: gauge,nopercent
</pre>
<h3>Ping Round Trip Time</h3>
<p>The script: <a href='http://ruleoftech.files.wordpress.com/2007/07/pingsh.txt' title='ping.sh'>ping.sh</a></p>
<p>Lines for the mrtg.cfg:</p>
<pre style="overflow:auto;">
# Ping
Title[server.ping]: Round Trip Time
PNGTitle[server.ping]: Round Trip Time
PageTop[server.ping]: &lt;H1&gt;Round Trip Time&lt;/H1&gt;
Target[server.ping]: `/usr/local/sbin/ping.sh`
MaxBytes[server.ping]: 2000
Options[server.ping]: growright,unknaszero,nopercent,gauge
LegendI[server.ping]: Pkt loss %
LegendO[server.ping]: Avg RTT
Legend1[server.ping]: Maximum Round Trip Time in ms
Legend2[server.ping]: Minimum Round Trip Time in ms
Legend3[server.ping]: Maximal 5 Minute Maximum Round Trip Time in ms
Legend4[server.ping]: Maximal 5 Minute Minimum Round Trip Time in ms
YLegend[server.ping]: RTT (ms)
</pre>
<h3>Uptime in days</h3>
<p>The script: <a href='http://ruleoftech.files.wordpress.com/2007/07/uptimepl.txt' title='uptime.pl'>uptime.pl</a></p>
<p>And the lines for the mrtg.cfg:</p>
<pre style="overflow:auto;">
Title[server.uptime]: System Uptime
PNGTitle[server.uptime]: System Uptime
PageTop[server.uptime]: &lt;H1&gt;System Uptime&lt;/H1&gt;
Target[server.uptime]: `/usr/local/sbin/uptime.pl`
MaxBytes[server.uptime]: 1000
ShortLegend[server.uptime]: days
Options[server.uptime]: growright,unknaszero,nopercent,gauge
LegendI[server.uptime]: Uptime
LegendO[server.uptime]:
Legend1[server.uptime]: Maximum uptime in days
YLegend[server.uptime]: Time (days)
 </pre>
<h3>Apache hits and traffic</h3>
<p>I googled for some scripts to get Apache statistics but found none. Luckily I had one on my harddrive which does the trick. Just don&#8217;t remember where I got it.</p>
<p>The trick is to enable &#8220;server-status&#8221; -information in Apache&#8217;s configuration. Your httpd.conf needs to include something like the following:</p>
<pre>
&lt;Location /server-status&gt;
    SetHandler server-status
    Order allow,deny
    Allow from localhost
&lt;/Location&gt;
ExtendedStatus On
</pre>
<p>After that you can see Apache status in http://localhost/server-status.</p>
<p>Next step is the script: <a href='http://ruleoftech.files.wordpress.com/2007/07/webstatpl.txt' title='Webstats'>webstats.pl</a>.</p>
<p>The lines for the MRTG are:</p>
<pre style="overflow:auto;">
# Apache bytes
# server-info gives us kBytes, original script outputs bytes
Target[server.apache-tkbytes]: `/usr/local/sbin/webstats.pl bytes`
Title[server.apache-tkbytes]: Apache Traffic
PNGTitle[server.apache-tkbytes]: kBytes per second
MaxBytes[server.apache-tkbytes]: 256000
PageTop[server.apache-tkbytes]: &lt;h2&gt;Apache traffic&lt;/h2&gt;
#Unscaled[server.apache-tkbytes]: ymwd
ShortLegend[server.apache-tkbytes]: kB/s
YLegend[server.apache-tkbytes]: kBytes/second
LegendI[server.apache-tkbytes]:
LegendO[server.apache-tkbytes]: &nbsp;
Options[server.apache-tkbytes]: growright, nopercent, noinfo, nobanner, integer,noi

# Apache hits
Target[server.apache-thits]: `/usr/local/sbin/webstats.pl hits`
PageTop[server.apache-thits]: &lt;h2&gt;Apache Hits&lt;/h2&gt;
Title[server.apache-thits]: Apache Hits
Options[server.apache-thits]:  growright, nopercent, perhour,nobanner, noinfo, integer, noi
MaxBytes[server.apache-thits]: 12000
YLegend[server.apache-thits]: hits/hour
ShortLegend[server.apache-thits]: hits/hour
WithPeak[server.apache-thits]: wmy
LegendI[server.apache-thits]:
LegendO[server.apache-thits]: &nbsp;
Legend2[server.apache-thits]: Hits per hour
Legend4[server.apache-thits]: 5 minute Peak
</pre>
<h3>Postfix stats: mails sent and received</h3>
<p><a href="http://www.packetmischief.ca/network/monitoring/postfix/">Joel Knight at packetmischief.ca</a> has a nice script for getting stats from Postfix. The idea is to <em>&#8220;determine the number of email messages delivered locally and abroad per unit time and to graph that data.&#8221;</em> There is also Craig Sanders&#8217;s <a href="http://taz.net.au/postfix/mrtg/">script to provide same kind of results</a> but I found the Joel Knight&#8217;s script to be little better.</p>
<p>The whole thing is documented on those pages so check them out and get some nice statistics. The difference between Joel&#8217;s and Craig&#8217;s scripts is that with Joel&#8217;s script you can also draw graphs of rejected mails.</p>
<p>Gongrats! You&#8217;re all done;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ruleoftech.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ruleoftech.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruleoftech.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruleoftech.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruleoftech.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruleoftech.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruleoftech.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruleoftech.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruleoftech.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruleoftech.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruleoftech.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruleoftech.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruleoftech.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruleoftech.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruleoftech.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruleoftech.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=16&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruleoftech.wordpress.com/2007/06/18/quick-howto-setting-up-snmp-and-mrtg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a1b6339343315dbae826f1913992cfd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Marko</media:title>
		</media:content>

		<media:content url="http://ruleoftech.files.wordpress.com/2007/06/piimis-mrtg_2007-06-18-s.thumbnail.png" medium="image">
			<media:title type="html">MRTG Graphs on mysupercomputer</media:title>
		</media:content>
	</item>
		<item>
		<title>Tuning Apache, PHP and MySQL</title>
		<link>http://ruleoftech.wordpress.com/2007/06/17/tuning-apache-php-and-mysql/</link>
		<comments>http://ruleoftech.wordpress.com/2007/06/17/tuning-apache-php-and-mysql/#comments</comments>
		<pubDate>Sun, 17 Jun 2007 11:58:28 +0000</pubDate>
		<dc:creator>Marko</dc:creator>
				<category><![CDATA[Tech Talk]]></category>

		<guid isPermaLink="false">http://ruleoftech.wordpress.com/2007/06/17/tuning-apache-php-and-mysql/</guid>
		<description><![CDATA[Normally putting up a web server with PHP and database is easy and the default settings are enough but sometimes there is need for tuning the performance. The server might be low on memory and the CPU and has (too) many things to handle. Also it is good to know how things work. There is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=10&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Normally putting up a web server with PHP and database is easy and the default settings are enough but sometimes there is need for tuning the performance. The server might be low on memory and the CPU and has (too) many things to handle. Also it is good to know how things work.</p>
<p>There is a great series of three articles on IBM&#8217;s developerWorks -site about Tuning LAMP systems. First article is about <a href="http://www.ibm.com/developerworks/linux/library/l-tune-lamp-1/index.html">&#8220;Understanding the LAMP architecture&#8221;</a>, second article concentrates on <a href="http://www.ibm.com/developerworks/linux/library/l-tune-lamp-2.html">&#8220;Optimizing Apache and PHP&#8221;</a> and final part is for  <a href="http://www.ibm.com/developerworks/linux/library/l-tune-lamp-3.html">&#8220;Tuning your MySQL server&#8221;</a>.</p>
<p>More practical example is on Disruptive Library Technology Jester -blog which writes about <a href="http://dltj.org/2007/02/wordpress-mysql-tuning/">WordPress/MySQL Tuning</a> on a Pentium III with 512M RAM box which runs a mail server (IMAP, ClamScan, Spam) and an Apache (WordPress and stuff).</p>
<p>Article contains setting up <a href="http://php.net/apc">Alternative PHP Cache</a> and some options for database tuning focusing on memory management. About MySQL tuning the article points out <a href="http://www.mysqlperformanceblog.com/2006/09/29/what-to-tune-in-mysql-server-after-installation/">Peter Zaitsev’s “What to tune in MySQL Server after installation”</a> and ez.no documentation on <a href="http://ez.no/community/articles/tuning_mysql_for_ez_publish/optimizing_for_read_performance">Optimizing for read performance</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ruleoftech.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ruleoftech.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruleoftech.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruleoftech.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruleoftech.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruleoftech.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruleoftech.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruleoftech.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruleoftech.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruleoftech.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruleoftech.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruleoftech.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruleoftech.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruleoftech.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruleoftech.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruleoftech.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=10&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruleoftech.wordpress.com/2007/06/17/tuning-apache-php-and-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a1b6339343315dbae826f1913992cfd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Marko</media:title>
		</media:content>
	</item>
		<item>
		<title>Syslog-ng and connections exceeded error</title>
		<link>http://ruleoftech.wordpress.com/2007/06/02/syslog-ng-and-connections-exceeded-error/</link>
		<comments>http://ruleoftech.wordpress.com/2007/06/02/syslog-ng-and-connections-exceeded-error/#comments</comments>
		<pubDate>Sat, 02 Jun 2007 08:09:41 +0000</pubDate>
		<dc:creator>Marko</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Tech Talk]]></category>

		<guid isPermaLink="false">http://ruleoftech.wordpress.com/2007/06/02/syslog-ng-and-connections-exceeded-error/</guid>
		<description><![CDATA[Couple of days ago I updated my home Gentoo box and after that syslog-ng was too full of connections. As always the remedy was near. If you have app-admin/syslog-ng-2.0.4 and get errors like syslog-ng[8827]: Number of allowed concurrent connections exceeded; num=&#8217;10&#8242;, max=&#8217;10&#8242; to the syslog then read this helpfull topic from Gentoo forums. There was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=9&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Couple of days ago I updated my home Gentoo box and after that syslog-ng was too full of connections. As always the remedy was near.</p>
<p>If you have app-admin/syslog-ng-2.0.4 and get errors like</p>
<blockquote><p>syslog-ng[8827]: Number of allowed concurrent connections exceeded; num=&#8217;10&#8242;, max=&#8217;10&#8242; </p></blockquote>
<p>to the syslog then read this <a href="http://forums.gentoo.org/viewtopic-t-561044-highlight-number+allowed+concurrent+connections+exceeded.html">helpfull topic from Gentoo forums</a>.</p>
<p>There was also note in Changelog:</p>
<blockquote><p>
2.0.4:<br />
Mon, 14 May 2007 11:47:48 +0200</p>
<p>IMPORTANT NOTES:<br />
* This version of syslog-ng fixes a bug in enforcing the max-connections() limit for various stream-like sources (unix-stream and tcp). Previously this limit was not enforced, thus production environments may use an inadequate value. Validate your max-connection() settings before upgrading and check your logs for rejected connections.
</p></blockquote>
<p>In short, just change one line in <code>/etc/syslog-ng/syslog-ng.conf</code> to match with:<br />
<code>source src { unix-stream("/dev/log" max-connections(20)); internal(); pipe("/proc/kmsg"); };</code></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ruleoftech.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ruleoftech.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruleoftech.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruleoftech.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruleoftech.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruleoftech.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruleoftech.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruleoftech.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruleoftech.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruleoftech.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruleoftech.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruleoftech.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruleoftech.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruleoftech.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruleoftech.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruleoftech.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruleoftech.wordpress.com&amp;blog=1251348&amp;post=9&amp;subd=ruleoftech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruleoftech.wordpress.com/2007/06/02/syslog-ng-and-connections-exceeded-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1a1b6339343315dbae826f1913992cfd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Marko</media:title>
		</media:content>
	</item>
	</channel>
</rss>
