<?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>Villaver Family Blog &#187; Debian</title>
	<atom:link href="http://www.villaver.org/wordpress/category/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.villaver.org/wordpress</link>
	<description></description>
	<lastBuildDate>Mon, 08 Aug 2011 20:42:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Java Plugin problem and workaround in Debian Squeeze</title>
		<link>http://www.villaver.org/wordpress/2009/12/24/java-plugin-problem-and-workaround-in-debian-squeeze/</link>
		<comments>http://www.villaver.org/wordpress/2009/12/24/java-plugin-problem-and-workaround-in-debian-squeeze/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 21:45:21 +0000</pubDate>
		<dc:creator>Kagwang</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.villaver.org/wordpress/?p=470</guid>
		<description><![CDATA[I use the Squeeze aka testing distribution of Debian Linux on my dual boot computer at home. After updating the packages yesterday I discovered that java applications including Tomcat and Java Webstart were unable to connect to the network.&#160; I had no idea what was going on as I had not upgraded Java or Tomcat.&#160; [...]]]></description>
			<content:encoded><![CDATA[<p>I use the Squeeze aka testing distribution of Debian Linux on my dual boot computer at home. After updating the packages yesterday I discovered that java applications including Tomcat and Java Webstart were unable to connect to the network.&nbsp; I had no idea what was going on as I had not upgraded Java or Tomcat.&nbsp; After a lot of searching through the logs and then the internet I found <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560142" target="_blank">Debian Bug #560142</a> and <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6342561" target="_blank">Sun bug #6342561</a> describing the problem. Apparently, it is related to a change in IPv6 networking in the netbase package that causes Java applications to ignore IPv4 network connections, which is rather annoying.</p>
<p>Fortunately, there is a simple workaround for running servers:</p>
<blockquote><pre>echo 0 &gt; /proc/sys/net/ipv6/bindv6only
</pre>
</blockquote>
<p>You will also have to change the default value in <span style="font-family: courier new,courier,monospace;">/etc/sysctl.d/bindv6only.conf</span> from 1 to 0 so that the value is used after a reboot.</p>
<p>This means that Java is able to connect to IPv4 servers.&nbsp; Hopefully, this will be fixed soon but I&#39;m glad to have found out what the problem was and to have a workaround.</p>
<p>Merry Christmas.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.villaver.org/wordpress/2009/12/24/java-plugin-problem-and-workaround-in-debian-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reverting to previous Postfix version due to bug #417530</title>
		<link>http://www.villaver.org/wordpress/2007/04/15/reverting-to-previous-postfix-version-due-to-bug-417530/</link>
		<comments>http://www.villaver.org/wordpress/2007/04/15/reverting-to-previous-postfix-version-due-to-bug-417530/#comments</comments>
		<pubDate>Sun, 15 Apr 2007 10:51:29 +0000</pubDate>
		<dc:creator>Kagwang</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[Webmasters]]></category>

		<guid isPermaLink="false">http://www.villaver.org/wordpress/2007/04/15/reverting-to-previous-postfix-version-due-to-bug-417530/</guid>
		<description><![CDATA[I recently upgraded the Postfix mail server from 2.3.8 to 2.4.0 on a Debian linux server that has a 2.4 kernel due to other applications that it has. I always check the bug reports before upgrading packages but I obviously missed Debian bug #417530, whose summary is Fatal error: &#8220;epoll_create: Function not implemented&#8221; using kernel [...]]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded the Postfix mail server from 2.3.8 to 2.4.0 on a Debian linux server that has a 2.4 kernel due to other applications that it has. I always check the bug reports before upgrading packages but I obviously missed <a title="Debian bug 417530" href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417530">Debian bug #417530</a>, whose summary is <em>Fatal error: &#8220;epoll_create: Function not implemented&#8221; using kernel 2.4 and postfix 2.4</em>. Normally Debian&#8217;s APT package management system contains all the dependencies but it did not contain a dependency on kernel 2.6 for the new <em>epoll()</em> function, which can improve network socket performance.</p>
<p>After upgrading <em>Postfix</em> I tried sending an email but Thunderbird gave an error message so I checked the syslog on the server and discovered the that the /var/log/syslog contained the following error message:  <em>postfix/master[24312]: fatal: epoll_create: Function not implemented</em> I searched for Postfix bugs using the <a title="Debian bugs by package search plugin" href="http://mycroft.mozdev.org/jsreq.html">Debian bugs by package search plugin for Firefox</a>.</p>
<p><span id="more-44"></span><br />
The solution is to revert to the Postfix 2.3.8 but that was not as straightforward as I thought. I hoped that there would be a <em>revert to previous</em> or similar option for the <em>apt-get</em> or <em>dpkg</em> commands but I could not find it.  I tried telling it to install 2.3.8 but <em>apt-get</em> refused to install 2.3.8 as a newer version was already installed. I could not uninstall Postfix as several other packages are dependent on Postfix, including Bugzilla.</p>
<p>In the end I downloaded Postfix 2.3.8 from a Debian mirror as a .deb using <em>wget</em> and using <em>dpkg</em> to install it, not forgetting to do a dry-run first to check what dpkg would do.</p>
<p><em>dpkg &#8211;install &#8211;dry-run postfix_2.3.8-2+b1_i386.deb</em></p>
<p><em>dpkg &#8211;install postfix_2.3.8-2+b1_i386.deb</em></p>
<p>This time when I tried to send an email using Thunderbird it worked. The moral is to always check the bugs before installing and updating packages.<br />
<a title="Debian search plugins for Firefox" href="http://mycroft.mozdev.org/download.html?name=debian">Debian search plugins for Firefox on mycroft.mozdev.org</a>.<!--37f3618cfd6a1ea91ac6345abcdc9369--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.villaver.org/wordpress/2007/04/15/reverting-to-previous-postfix-version-due-to-bug-417530/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

