<?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>Random Bugs &#187; Bugs</title>
	<atom:link href="http://www.randombugs.com/category/bugs/feed" rel="self" type="application/rss+xml" />
	<link>http://www.randombugs.com</link>
	<description>Just another Bastard Operator From Hell. Everything from *nix to programming</description>
	<lastBuildDate>Thu, 06 May 2010 14:21:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Java networking problems in Debian squeeze/sid</title>
		<link>http://www.randombugs.com/java/java-networking-problems-debian-squeezesid.html</link>
		<comments>http://www.randombugs.com/java/java-networking-problems-debian-squeezesid.html#comments</comments>
		<pubDate>Tue, 16 Feb 2010 08:46:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[bug]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=630</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bug.png" width="24" height="24" alt="" title="Bugs" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/text-x-java.png" width="24" height="24" alt="" title="Java" /><br/>After upgrading to the latest version of Debian squeeze/sid, I was not able to use the networking in java.
If you get:
[2/16/10 10:39 AM] Exception occurred:
java.net.SocketException: Network is unreachable
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:525)


then you should disable ipv6. To do that ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/java-networking-problems-debian-squeezesid.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMFS Datastore missing</title>
		<link>http://www.randombugs.com/recovery/vmfs-datastore-missing-2.html</link>
		<comments>http://www.randombugs.com/recovery/vmfs-datastore-missing-2.html#comments</comments>
		<pubDate>Thu, 22 Oct 2009 11:17:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[Recovery]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[lvm]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=617</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bug.png" width="24" height="24" alt="" title="Bugs" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/recovery.gif" width="24" height="24" alt="" title="Recovery" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/vmware_2327_24.png" width="24" height="24" alt="" title="vmware" /><br/>After successfully install of ESXi 3.5 server, my datastore1 disappeared unexpectedly after first or second reboot. Is possible to be because of my &#8220;hacks&#8221; in &#8220;Advanced Settings&#8221;, but I&#8217;m not very sure about that. Looking in /var/log/messages I spotted some very strange errors:


 Error Stream from partedUtil while getting partitions: Error: The partition table on /dev/disks/vmhba0:0:0:0 is inconsistent.  There are many reasons why this might be the case.  However, the most likely reason is that Linux detected the BIOS geometry for /dev/disks/vmhba0:0:0:0 incorrectly.  GNU Parted suspects the ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/recovery/vmfs-datastore-missing-2.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Changing default logging system in Glassfish 2.1 with Log4J</title>
		<link>http://www.randombugs.com/java/glassfish/changing-logging-system-glassfish-21.html</link>
		<comments>http://www.randombugs.com/java/glassfish/changing-logging-system-glassfish-21.html#comments</comments>
		<pubDate>Mon, 28 Sep 2009 18:04:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Tuning]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=606</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/apache3.jpg" width="24" height="24" alt="" title="Apache" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bug.png" width="24" height="24" alt="" title="Bugs" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><br/>A lot of people are not satisfied by the default Java Logging (JUL) in Glassfish. Also, myself I encountered some problems on clustered environments where we should have one single log and not one log for each instance.  Trying to change the logging system in Glassfish it looks to be almost impossible , but I found a very interesting project  java.util.logging to log4j Bridge and the sky become more clear for Glassfish logging. Jul to Log4J Bridge are part of log4J project and is very useful when you ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/glassfish/changing-logging-system-glassfish-21.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>java.lang.SecurityException: JCE cannot authenticate the provider BC</title>
		<link>http://www.randombugs.com/java/javalangsecurityexception-jce-authenticate-provider-bc.html</link>
		<comments>http://www.randombugs.com/java/javalangsecurityexception-jce-authenticate-provider-bc.html#comments</comments>
		<pubDate>Mon, 10 Aug 2009 09:57:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=577</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bug.png" width="24" height="24" alt="" title="Bugs" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/gpg.png" width="24" height="24" alt="" title="Cryptography" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><br/>Trying to integrate BouncyCastle Cryptography provider in Java can be a nightmare. I read a lot of forums messages about &#8220;JCE cannot authenticate the provider BC&#8221; and I didn&#8217;t find any clear response. After several hours of tweaking and digging I found the main reason of the problem. If you want to use BouncyCastle as Security provider then install it directly on your Java Virtual Machine and remove any library of bc from your application. 

How to install correctly Bouncy Castle on your JVM:
First for Ubuntu/Debian users you should look ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/javalangsecurityexception-jce-authenticate-provider-bc.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Compiling sysbench 0.4.12 for Debian</title>
		<link>http://www.randombugs.com/linux/compiling-sysbench-0412-debian.html</link>
		<comments>http://www.randombugs.com/linux/compiling-sysbench-0412-debian.html#comments</comments>
		<pubDate>Thu, 09 Jul 2009 14:09:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[bug]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=556</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bug.png" width="24" height="24" alt="" title="Bugs" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-contents.png" width="24" height="24" alt="" title="How-to" /><br/>

On the Linux market are a lot of distributions and every distribution is unique in his way. Is normal to have different compilers and tools from distribution to distribution so is almost normal to have programs what doesn&#8217;t compile on all distributions. sysbench 0.4.12 is one of them. 

Anyway the solution is simple and I will describe it very quickly how to compile sysbench under Debian. Probably it will work for other distributions if you have the same problem. 
Let&#8217;s start with the error. I run the normal steps to ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/compiling-sysbench-0412-debian.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Cluster for Glassfish 2.1</title>
		<link>http://www.randombugs.com/java/glassfish/cluster-glassfish-21.html</link>
		<comments>http://www.randombugs.com/java/glassfish/cluster-glassfish-21.html#comments</comments>
		<pubDate>Thu, 29 Jan 2009 11:36:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Clustering]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bug]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=146</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bug.png" width="24" height="24" alt="" title="Bugs" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/cluster.png" width="24" height="24" alt="" title="Clustering" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><br/>Again some problems with glassfish cluster. If in Glassfish v2UR2 all was ok in Glassfish 2.1 we had some problems. This post is based on How to install and configure a Glassfish cluster
 my early article. So first part of installing the cluster, first server with DAS and all the stuff is working perfectly, but second part when we need to add more instances we get some problems. Following the steps to add a new instance on the cluster we get an error:
asadmin start-node-agent &#8211;syncinstances=true ws-agent-2
Please enter the master password ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/glassfish/cluster-glassfish-21.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>java.io.IOException: empty AVA in RDN</title>
		<link>http://www.randombugs.com/java/glassfish/javaioioexception-empty-ava-rdn.html</link>
		<comments>http://www.randombugs.com/java/glassfish/javaioioexception-empty-ava-rdn.html#comments</comments>
		<pubDate>Tue, 27 Jan 2009 14:10:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[jdk]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=137</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bug.png" width="24" height="24" alt="" title="Bugs" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bluefish.png" width="24" height="24" alt="" title="Glassfish" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/text-x-java.png" width="24" height="24" alt="" title="Java" /><br/>I get this error in the morning and eat me 1 hour from my life. I tried to install a glassfish on a new server (installed by some other third party) and ant finished with this error:
keytool error: java.io.IOException: empty AVA in RDN &#8220;&#8221;
when is trying to create domain1.
First I looked to glassfish and after at keytool from java. I tried several java JDK, but no chance &#8230; the same error spoted again and again. At a moment I &#8220;debugged&#8221; create domain command
strace -fff -s 128 ../asadmin create-domain &#8211;adminport 4848 ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/glassfish/javaioioexception-empty-ava-rdn.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware 2.5.1 bug under Ubuntu 9.04</title>
		<link>http://www.randombugs.com/linux/vmware-251-bug-ubuntu-904.html</link>
		<comments>http://www.randombugs.com/linux/vmware-251-bug-ubuntu-904.html#comments</comments>
		<pubDate>Tue, 02 Dec 2008 14:01:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[bug]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=112</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bug.png" width="24" height="24" alt="" title="Bugs" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/Brain.png" width="24" height="24" alt="" title="Kernel" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/tux.png" width="24" height="24" alt="" title="Linux" /><br/>I just upgraded to Ubuntu 9.04 with kernel 2.6.27-10-generic. After upgrade I wanted to reconfigure my old VMware player 2.4.x but no success because the kernel was changed a lot from version 2.6.18 to 2.6.27, so I was &#8220;forced&#8221; to switch to VMWare Player 2.5.1.

Installing was easy but configuring the new modules for the VMware player was not working at all. After some debugging I just found the vmware-modconfig crashing with &#8220;Segmentation Fault&#8221;. 
$dmesg
[ 4398.256991] vmware-modconfi[29788]: segfault at 0 ip 00007f8b5617bb84 sp 00007fff5f566280 error 4 in libc-2.9.so[7f8b560fa000+168000

I tried to fix ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/vmware-251-bug-ubuntu-904.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
