<?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>Raskas' blog &#187; CentOS</title>
	<atom:link href="http://www.raskas.be/blog/tag/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.raskas.be/blog</link>
	<description>Everything is possible... You only have to find out how.</description>
	<lastBuildDate>Wed, 22 Jun 2011 15:14:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Apt-rpm dependency problem</title>
		<link>http://www.raskas.be/blog/2009/08/12/apt-rpm-dependency-problem/</link>
		<comments>http://www.raskas.be/blog/2009/08/12/apt-rpm-dependency-problem/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 15:30:08 +0000</pubDate>
		<dc:creator>Johan Huysmans</dc:creator>
				<category><![CDATA[Linux SysAdmin]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.raskas.be/blog/?p=98</guid>
		<description><![CDATA[When installing some rpm&#8217;s on a CentOS5 system I encountered a dependency problem.
Apt told me that it depends on a specific file which isn&#8217;t provided by any package in the repository. After some investigation I noticed that the rpm WAS available in the repository, and that yum correctly found that package.
The problem was that the [...]]]></description>
			<content:encoded><![CDATA[<p>When installing some rpm&#8217;s on a CentOS5 system I encountered a dependency problem.</p>
<p>Apt told me that it depends on a specific file which isn&#8217;t provided by any package in the repository. After some investigation I noticed that the rpm WAS available in the repository, and that yum correctly found that package.</p>
<p>The problem was that the specific file needed by the package was a symlink provided by the other package. The symlink file is known by the rpm (rpm -ql /path/to/file gives the rpm) but isn&#8217;t know by apt.</p>
<p>Instead of running genbasedir with the location of the repository as only argument, add the &#8211;bloat argument.<br />
<code><br />
genbasedir --bloat /path/to/repository<br />
</code><br />
This will solve the problem!</p>
<p><br/></p>
<p>I noticed this problem during the installation of redhat-lsb on a very minimal CentOS5 system. redhat-lsb requires 2 files (which are symlinks), these files are provided by&#8230; redhat-lsb itselve&#8230;</p>
<p>If you didn&#8217;t use the &#8211;bloat argument the redhat-lsb package couldn&#8217;t be installed with apt, it could be installed with yum or rpm.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raskas.be/blog/2009/08/12/apt-rpm-dependency-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>syslog-ng bug</title>
		<link>http://www.raskas.be/blog/2009/03/19/syslog-ng-bug/</link>
		<comments>http://www.raskas.be/blog/2009/03/19/syslog-ng-bug/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 11:49:57 +0000</pubDate>
		<dc:creator>Johan Huysmans</dc:creator>
				<category><![CDATA[Linux SysAdmin]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[syslog-ng]]></category>

		<guid isPermaLink="false">http://www.raskas.be/blog/?p=91</guid>
		<description><![CDATA[Today I stumpled upon a syslog-ng bug.
We are using syslog-ng-2.1.3 on one of our machines which sends part of his messages over UDP to 2 syslog machines. On some days we noticed that syslog-ng and some other services are stopped. Restarting syslog-ng showed us that they were killed by the OOM-killer.
I directly suspected the java [...]]]></description>
			<content:encoded><![CDATA[<p>Today I stumpled upon a syslog-ng bug.</p>
<p>We are using syslog-ng-2.1.3 on one of our machines which sends part of his messages over UDP to 2 syslog machines. On some days we noticed that syslog-ng and some other services are stopped. Restarting syslog-ng showed us that they were killed by the OOM-killer.<br />
I directly suspected the java process that was also running on that machine.</p>
<p>After googling around I found this syslog-ng bug: <a href="https://bugzilla.balabit.com/show_bug.cgi?id=39" target="_blank">https://bugzilla.balabit.com/show_bug.cgi?id=39</a></p>
<p>And indeed, we had the same problem. This is how I could reproduce it:</p>
<ul>
<li>Stop the syslog service (on the host which receives the messages)</li>
<li>Restart syslog-ng</li>
<li>Watch the memory usage of syslog-ng growing until it starts swapping and triggers the OOM-killer</li>
</ul>
<p>Luckily this bug is already solved, and by upgrading to syslog-ng-2.1.4 the problem is fixed.</p>
<p>CentOS doesn&#8217;t provide the rpm packages of syslog-ng, <a href="http://www.silfreed.net/" target="_blank">silfreed.net</a> does: <a href="http://www.silfreed.net/download/repo/" target="_blank">http://www.silfreed.net/download/repo/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.raskas.be/blog/2009/03/19/syslog-ng-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

