<?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>Honza's perspective</title>
	<atom:link href="http://blog.stastnarodina.com/honza-en/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.stastnarodina.com/honza-en</link>
	<description></description>
	<lastBuildDate>Wed, 17 Feb 2010 08:16:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>cs</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RQM on 64bit Ubuntu</title>
		<link>http://blog.stastnarodina.com/honza-en/spot/rqm-on-64bit-ubuntu/</link>
		<comments>http://blog.stastnarodina.com/honza-en/spot/rqm-on-64bit-ubuntu/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 02:32:03 +0000</pubDate>
		<dc:creator>honza</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rational Team Concert]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jazz]]></category>
		<category><![CDATA[rqm]]></category>

		<guid isPermaLink="false">http://blog.stastnarodina.com/honza-en/?p=103</guid>
		<description><![CDATA[
<p>I installed IBM Rational Quality Manager 2.0.0.1 on the same machine as
I installed Rational Requirements Composer before. Some steps from installation
tips may be needed.</p>

<p>The official product documentation does not give the exact DB2 command line
command. If you use the command from RTC manual, the table creation will fail.
This is caused by the pagesize being too small. Use this command […]</p>

<!-- by Texy2! -->]]></description>
			<content:encoded><![CDATA[
<p>I installed IBM Rational Quality Manager 2.0.0.1 on the same machine as
I installed Rational Requirements Composer before. Some steps from <a
href="http://blog.stastnarodina.com/honza-en/spot/rrc-on-64bit-ubuntu/">installation
tips</a> may be needed.</p>

<p>The <a
href="http://publib.boulder.ibm.com/infocenter/rqmhelp/v2r0/index.jsp">official
product documentation</a> does not give the exact DB2 command line command. If
you use the command from RTC manual, the table creation will fail. This is
caused by the pagesize being too small. Use this command to create the database
instead:</p>

<blockquote>
	<p>db2 create database RQM using codeset UTF-8 territory en PAGESIZE 16384</p>
</blockquote>

<!-- by Texy2! -->]]></content:encoded>
			<wfw:commentRss>http://blog.stastnarodina.com/honza-en/spot/rqm-on-64bit-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>RRC on 64bit Ubuntu</title>
		<link>http://blog.stastnarodina.com/honza-en/spot/rrc-on-64bit-ubuntu/</link>
		<comments>http://blog.stastnarodina.com/honza-en/spot/rrc-on-64bit-ubuntu/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 17:30:43 +0000</pubDate>
		<dc:creator>honza</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rational Team Concert]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jazz]]></category>
		<category><![CDATA[rrc]]></category>

		<guid isPermaLink="false">http://blog.stastnarodina.com/honza-en/?p=88</guid>
		<description><![CDATA[
<p>Another post, where the main audience is me :)</p>

<p>Installation</p>

<p>To install IBM Rational Requirements Composer 2.0.0.1 on 64bit Linux, you
need 32bit libraries installed. Strange error message is displayed otherwise
when trying to run the installer:</p>

<p>root@rtc:/opt/rrc-install/RRCS_SE­TUP/InstallerI­mage_linux# ./install
bash: ./install: No such file or directory</p>

<p>To install the needed libraries run:</p>

<p>apt-get install ia32-libs</p>

<p>The installation should run successfully after this.</p>

<p>Startup</p>

<p>RRC needs swt-gtk to […]</p>

<!-- by Texy2! -->]]></description>
			<content:encoded><![CDATA[
<p>Another post, where the main audience is me :)</p>

<h3>Installation</h3>

<p>To install IBM Rational Requirements Composer 2.0.0.1 on 64bit Linux, you
need 32bit libraries installed. Strange error message is displayed otherwise
when trying to run the installer:</p>

<pre>root@rtc:/opt/rrc-install/RRCS_SETUP/InstallerImage_linux# ./install
bash: ./install: No such file or directory</pre>

<p>To install the needed libraries run:</p>

<blockquote>
	<p>apt-get install ia32-libs</p>
</blockquote>

<p>The installation should run successfully after this.</p>

<h3>Startup</h3>

<p>RRC needs swt-gtk to run. Install it by:</p>

<blockquote>
	<p>apt-get install libswt-gtk-3.4-jni</p>
</blockquote>

<p>In addition, RRC needs a X screen to start. There is an <a
href="http://www-01.ibm.com/support/docview.wss?uid=swg21410023">IBM
Technote</a> with solution for RHEL and Suse. To install Xvfb on Ubuntu do:</p>

<blockquote>
	<p>apt-get install xvfb</p>
</blockquote>

<p>The rest of the procedure (starting the server) is the same as on RHEL or
SLES (see the <a
href="http://www-01.ibm.com/support/docview.wss?uid=swg21410023">technote</a>).</p>

<p>The server is started by server.startup. This script has to be called from
its directory – you need to cd first. The init script can look for example
like this:</p>

<pre>#!/bin/bash
#
# rrc        Startup script for the RRC
#
# chkconfig: - 90 16
# description: Rational Requirements composer  \
# processname: java
# pidfile: /var/run/rrc.pid
#

prog=rrc
pidfile=${PIDFILE-/var/run/rrc.pid}
lockfile=${LOCKFILE-/var/lock/rrc}
rrchome=/opt/rrc/server
RETVAL=0

start() {
        echo -n $"Starting $prog: "
        # export GTK_PATH=/usr/lib32/gtk-2.0
        Xvfb :1 -screen 0 800x600x24&amp;
        cd ${rrchome}
        DISPLAY=localhost:1.0 ./server.startup
        RETVAL=$?
        echo
        [ $RETVAL = 0 ] &amp;&amp; touch ${lockfile}
        return $RETVAL
}

stop() {
        echo -n $"Stopping $prog: "
        ${rrchome}/server.shutdown
        RETVAL=$?
        killall Xvfb
        echo
        [ $RETVAL = 0 ] &amp;&amp; rm -f ${lockfile} ${pidfile}
}

# See how we were called.
case "$1" in
  start)
        start
        ;;
  stop)
        stop
        ;;
  status)
        status $prog
        RETVAL=$?
        ;;
  restart)
        stop
        start
        ;;
  *)
        echo $"Usage: $prog {start|stop|restart}"
        RETVAL=3
esac

exit $RETVAL</pre>

<hr />

<p>OS details: Ubuntu 9.04, Server edition, 64bit</p>

<!-- by Texy2! -->]]></content:encoded>
			<wfw:commentRss>http://blog.stastnarodina.com/honza-en/spot/rrc-on-64bit-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IBM Installation Manager RHEL 4 64bit</title>
		<link>http://blog.stastnarodina.com/honza-en/spot/ibm-installation-manager-rhel-4-64bit/</link>
		<comments>http://blog.stastnarodina.com/honza-en/spot/ibm-installation-manager-rhel-4-64bit/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 20:48:32 +0000</pubDate>
		<dc:creator>honza</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.stastnarodina.com/honza-en/?p=83</guid>
		<description><![CDATA[
<p>I'm currently installing Jazz CALM solution on CentOS 4 64bit (equivalent to
RHEL 4 64bit). I got stuck when installing both Rational Quality Manager (RQM)
and Rational Requirements Composer (RRC). Both need to be installed via IBM
Installation Manager. RRC installation package includes IBM Installation
Manager, whereas RQM doesn't.</p>

<p>To install IBM Installation manager on 64bit RHEL 4 you first need to
install these:</p>

<p>yum […]</p>

<!-- by Texy2! -->]]></description>
			<content:encoded><![CDATA[
<p>I'm currently installing Jazz CALM solution on CentOS 4 64bit (equivalent to
RHEL 4 64bit). I got stuck when installing both Rational Quality Manager (RQM)
and Rational Requirements Composer (RRC). Both need to be installed via IBM
Installation Manager. RRC installation package includes IBM Installation
Manager, whereas RQM doesn't.</p>

<p>To install IBM Installation manager on 64bit RHEL 4 you first need to
install these:</p>

<pre><code>yum install gtk2.i386 libgcc.i386</code></pre>

<p>I first installed libgcc.i386 only to get rid of the error message</p>

<blockquote>
	<p>libgcc_s.so.1 must be installed for pthread_cancel to work</p>
</blockquote>

<p>After this, there was no error message, but the installer returned exit code
13 (which I haven't found documented anywhere). Installing 32bit gtk library
solved the problem.</p>

<p>The IBM Installation Manager itself can be downloaded from <a
href="ftp://public.dhe.ibm.com/software/rationalsdp/v7/im/">ftp://public.dhe.ibm.com/…alsdp/v7/im/</a></p>

<p>I hope this helps somebody save some time of desperate googling for
solution…</p>

<!-- by Texy2! -->]]></content:encoded>
			<wfw:commentRss>http://blog.stastnarodina.com/honza-en/spot/ibm-installation-manager-rhel-4-64bit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RTC 2.0 on Ubuntu</title>
		<link>http://blog.stastnarodina.com/honza-en/spot/rtc-2-0-on-ubuntu/</link>
		<comments>http://blog.stastnarodina.com/honza-en/spot/rtc-2-0-on-ubuntu/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 15:22:31 +0000</pubDate>
		<dc:creator>honza</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rational Team Concert]]></category>

		<guid isPermaLink="false">http://blog.stastnarodina.com/honza-en/?p=70</guid>
		<description><![CDATA[
<p>Environment</p>

<p>RTC Server version: 2.0.0.1</p>

<p>OS: Ubuntu 9.04, 64bit. Server edition</p>

<p>HW: VMWare guest, 64bit, 1GB RAM</p>

<p>Problem</p>

<p>Installation of Rational Team Concert is in general as easy as unzipping the
downloaded archive. I did this recently on Ubuntu 9.04 64bit, server edition.
Later I have encountered errors when generating any report (for example
Floating License Report). I got this message:</p>

<p>CREATE_EXTENSI­ON_FAIL ( 1 time(s) )<br />
detail […]</p>

<!-- by Texy2! -->]]></description>
			<content:encoded><![CDATA[
<h3>Environment</h3>

<ul>
	<li><strong>RTC Server version:</strong> 2.0.0.1</li>

	<li><strong>OS:</strong> Ubuntu 9.04, 64bit. Server edition</li>

	<li><strong>HW:</strong> VMWare guest, 64bit, 1GB RAM</li>
</ul>

<h3>Problem</h3>

<p>Installation of Rational Team Concert is in general as easy as unzipping the
downloaded archive. I did this recently on Ubuntu 9.04 64bit, server edition.
Later I have encountered errors when generating any report (for example
Floating License Report). I got this message:</p>

<pre><code>CREATE_EXTENSION_FAIL ( 1 time(s) )
 detail : org.eclipse.birt.report.engine.api.EngineException: CREATE_EXTENSION_FAIL
 at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1121)
 ....</code></pre>

<p>The <a href="http://jazz.net/forums/viewtopic.php?p=18754#18754">post at
jazz.net forums</a> suggested, that there are missing libraries required by file
<code>*/jazz/server/jre/bin/­libfontmanager­.so</code> You can find out which
libraries are missing by running</p>

<blockquote>
	<p>ldd jazz/server/jre/bin/­libfontmanager­.so</p>
</blockquote>

<p>My output was:</p>

<pre><code>linux-vdso.so.1 =&gt;  (0x00007fff5efad000)
libdl.so.2 =&gt; /lib/libdl.so.2 (0x00007fc04eed9000)
libpthread.so.0 =&gt; /lib/libpthread.so.0 (0x00007fc04ecbd000)
libwrappers.so =&gt; not found
libawt.so =&gt; not found
libstdc++.so.5 =&gt; not found
libm.so.6 =&gt; /lib/libm.so.6 (0x00007fc04ea36000)
libX11.so.6 =&gt; /usr/lib/libX11.so.6 (0x00007fc04e72f000)
libc.so.6 =&gt; /lib/libc.so.6 (0x00007fc04e3bd000)
/lib64/ld-linux-x86-64.so.2 (0x00007fc04f26f000)
libxcb.so.1 =&gt; /usr/lib/libxcb.so.1 (0x00007fc04e1a0000)
libXau.so.6 =&gt; /usr/lib/libXau.so.6 (0x00007fc04df9d000)
libXdmcp.so.6 =&gt; /usr/lib/libXdmcp.so.6 (0x00007fc04dd98000)</code></pre>

<h3>Solution</h3>

<p>The system library that was missing in my system (using default installation
of Ubuntu 9.04 64bit, Server edition) was <strong>libstdc++.so.5</strong>. This
library is included in the package <strong>libstdc++5</strong>. It can be
installed by running:</p>

<blockquote>
	<p>apt-get install libstdc++5</p>
</blockquote>

<p>The RTC server has to be restarted afterwards.</p>

<blockquote>
	<p>jazz/server/ser­ver.shutdown jazz/server/ser­ver.startup</p>
</blockquote>

<!-- by Texy2! -->]]></content:encoded>
			<wfw:commentRss>http://blog.stastnarodina.com/honza-en/spot/rtc-2-0-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu: change default encryption algorithm</title>
		<link>http://blog.stastnarodina.com/honza-en/spot/ubuntu-change-default-encryption-algorithm/</link>
		<comments>http://blog.stastnarodina.com/honza-en/spot/ubuntu-change-default-encryption-algorithm/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 23:58:08 +0000</pubDate>
		<dc:creator>honza</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[sha512]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.stastnarodina.com/honza-en/?p=63</guid>
		<description><![CDATA[
<p>While fighting with DB2 denying logins I had to change the default hash
algorithm used to store passwords in /etc/shadow.</p>

<p>As far as I know (and as grep -i -r „sha512“ /etc/* tells me<br />
), there are two files that carry this information. Namely
/etc/pam.d/common-password and /etc/login.defs.</p>

<p>To change the algorithm from sha512 (which shifts as the default in the new
Ubuntu releases) change this:</p>

<p>/etc/pam.d/common-password</p>

<p>password […]</p>

<!-- by Texy2! -->]]></description>
			<content:encoded><![CDATA[
<p>While fighting with <a
href="http://blog.stastnarodina.com/honza-en/spot/db2-sql30082n-security-processing-failed-with-reason-15/">DB2
denying logins</a> I had to change the default hash algorithm used to store
passwords in /etc/shadow.</p>

<p>As far as I know (and as <code>grep -i -r "sha512" /etc/*</code> tells me
<img
src="http://blog.stastnarodina.com/honza-en/wp-includes/images/smilies/icon_smile.gif"
alt=":-)" class="smiley" /> ), there are two files that carry this information.
Namely <code>/etc/pam.d/common-password</code> and
<code>/etc/login.defs</code>.</p>

<p>To change the algorithm from sha512 (which shifts as the default in the new
Ubuntu releases) change this:</p>

<h3>/etc/pam.d/common-password</h3>

<blockquote>
	<p>password [success=1 default=ignore] pam_unix.so obscure sha512</p>
</blockquote>

<p>to</p>

<blockquote>
	<p>password [success=1 default=ignore] pam_unix.so obscure md5</p>
</blockquote>

<h3>/etc/login.defs</h3>

<blockquote>
	<p>ENCRYPT_METHOD SHA512</p>
</blockquote>

<p>to</p>

<blockquote>
	<p>ENCRYPT_METHOD MD5</p>
</blockquote>

<!-- by Texy2! -->]]></content:encoded>
			<wfw:commentRss>http://blog.stastnarodina.com/honza-en/spot/ubuntu-change-default-encryption-algorithm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: add disk to VMware Ubuntu guest without reboot using LVM</title>
		<link>http://blog.stastnarodina.com/honza-en/spot/howto-add-disk-to-vmware-ubuntu-guest-without-reboot-using-lvm/</link>
		<comments>http://blog.stastnarodina.com/honza-en/spot/howto-add-disk-to-vmware-ubuntu-guest-without-reboot-using-lvm/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 13:39:03 +0000</pubDate>
		<dc:creator>honza</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[lvm]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://blog.stastnarodina.com/honza-en/?p=46</guid>
		<description><![CDATA[
<p>This howto is mostly built on the great tutorial available at <a
href="http://www.comnetslash.com/">http://www.comnetslash.com/</a>…hout-reboot/.
My spot tries to be more Ubuntu and LVM specific. This manual was tested on
Ubuntu 9.04 (jaunty) Server edition guest OS.</p>

<p>Add Virtual Hard Disk</p>

<p>A new hard disk can be added easily to a running virtual machine in VMWare
Infrastructure Web Access by clicking Add Hardware and following […]</p>

<!-- by Texy2! -->]]></description>
			<content:encoded><![CDATA[
<p>This howto is mostly built on the great tutorial available at <a
href="http://www.comnetslash.com/2009/06/11/howto-vmware-add-disk-space-to-live-linux-guest-without-reboot/">http://www.comnetslash.com/…hout-reboot/</a>.
My spot tries to be more Ubuntu and LVM specific. This manual was tested on
Ubuntu 9.04 (jaunty) Server edition guest OS.</p>

<h3>Add Virtual Hard Disk</h3>

<p><img
src="http://blog.stastnarodina.com/honza-en/wp-content/uploads/2009/07/add-disk11-150x150.png"
alt="add-disk1" title="add-disk1" width="150" height="150"
class="alignleft size-thumbnail wp-image-48" /> A new hard disk can be added
easily to a running virtual machine in VMWare Infrastructure Web Access by
clicking Add Hardware and following the wizard.</p>

<p>Note: I assume that all of the commands given are run under superuser (root)
rights. To become root type</p>

<pre><code>sudo su root</code></pre>

<h3>Detect new SCSI Disk</h3>

<p>The package <a
href="http://packages.ubuntu.com/jaunty/scsitools">scsitools</a> provides the
script rescan-scsi-bus.sh, which does exacly what we need. Install it and
run it:</p>

<pre><code>apt-get install scsitools
rescan-scsi-bus.sh</code></pre>

<p>This should detect the newly added hard disk and make it available in
<code>/dev/</code> – <code>/dev/sdb</code> in the case you are adding a new
drive for the first time. The output of <code>fdisk -l</code> should include the
newly detected disk.</p>

<h3>Format the new disk</h3>

<p>Format the newly detected drive using fdisk</p>

<pre><code>fdisk /dev/sdb
    n (for new partition)
    p (for primary partition)
    1 (partition number)
    (keep the other values default)
    w (write changes)</code></pre>

<p>Change the type of the partition to LVM Linux:</p>

<pre><code>fdisk /dev/sdb
    t (change the partition type)
    8e (for Linux LVM)
    w (write changes)</code></pre>

<h3>LVM</h3>

<h4>Initialize LVM Physical Volume</h4>

<pre><code>pvcreate /dev/sdb1</code></pre>

<h4>Add Physical Volume to Volume Group</h4>

<p>List the Volume groups available at your machine.</p>

<pre><code>vgdisplay</code></pre>

<p>Replace <em>VolGroupName</em> with what you read from the output of the last
command.</p>

<pre><code>vgextend VolGroupName /dev/sdb1</code></pre>

<p>You should see the newly aquired free space in the output of</p>

<pre><code>vgdisplay</code></pre>

<h4>Resize Logical Volumes</h4>

<p>After adding some free space to your Volume Group, you can distribute it to
the Logical Volumes. The list of Logical Volumes can be obtained by running</p>

<pre><code>lvdisplay</code></pre>

<p>Run the following commands for each Logical Volume you want to resize (add
space to). Again – replace <em>/dev/VolGroupNa­me/Name</em> with the Logical
Volume name you can read from the output of the last command. The <em>+10G</em>
means <em>Add 10 GB</em></p>

<pre><code>lvextend -L +10G /dev/VolGroupName/Name</code></pre>

<p>The last step is to resize the ext3 filesystem (use different tool is you use
different filesystem):</p>

<pre><code>resize2fs /dev/VolGroupName/Name</code></pre>

<!-- by Texy2! -->]]></content:encoded>
			<wfw:commentRss>http://blog.stastnarodina.com/honza-en/spot/howto-add-disk-to-vmware-ubuntu-guest-without-reboot-using-lvm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Shibboleth Ubuntu</title>
		<link>http://blog.stastnarodina.com/honza-en/spot/shibboleth-ubuntu/</link>
		<comments>http://blog.stastnarodina.com/honza-en/spot/shibboleth-ubuntu/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 11:18:38 +0000</pubDate>
		<dc:creator>honza</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shibboleth]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.stastnarodina.com/honza-en/?p=40</guid>
		<description><![CDATA[
<p>SP2 Installation</p>

<p>I switched one server from Fedora Core to Ubuntu yesterday. Shibboleth 2 SP
installation is a bit more tricky under Ubuntu than Fedora Core. The packages
are not available in the Ubuntu repositories, but Satya's blog serves a
working howto.</p>

<p>failed to bind to socket</p>

<p>Shibboleth seemed to be working well after installation, but today it was
down dumping</p>

<p>2009–06–23 12:51:53 ERROR Shibboleth.Listener : […]</p>

<!-- by Texy2! -->]]></description>
			<content:encoded><![CDATA[
<h3>SP2 Installation</h3>

<p>I switched one server from Fedora Core to Ubuntu yesterday. Shibboleth 2 SP
installation is a bit more tricky under Ubuntu than Fedora Core. The packages
are not available in the Ubuntu repositories, but Satya's blog serves <a
href="http://www.thesatya.com/blog/2009/06/shibboleth2.html">a working
howto</a>.</p>

<h3>failed to bind to socket</h3>

<p>Shibboleth seemed to be working well after installation, but today it was
down dumping</p>

<blockquote>
	<p>2009–06–23 12:51:53 ERROR Shibboleth.Listener : socket call resulted in
	error (2): no message 2009–06–23 12:51:53 CRIT Shibboleth.Listener : failed
	to bind to socket.</p>
</blockquote>

<p>into the <code>/var/log/shibboleth/shibd.log</code>. I luckily found a
solution in quite a short time. The problem was that the shibd was trying to
create socket in <code>/var/run/shibboleth</code> directory, which did not
exist. Creating it once does not help because Ubuntu removes content of
<code>/var/run/</code> at every reboot. <strong>To fix it this has to be added
to <code>/etc/init.d/shibd</code></strong></p>

<pre>if [ ! -e /var/run/shibboleth ]
then
   mkdir /var/run/shibboleth
fi</pre>

<!-- by Texy2! -->]]></content:encoded>
			<wfw:commentRss>http://blog.stastnarodina.com/honza-en/spot/shibboleth-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DB2: SQL30082N  Security processing failed with reason &#8220;15&#8243;</title>
		<link>http://blog.stastnarodina.com/honza-en/spot/db2-sql30082n-security-processing-failed-with-reason-15/</link>
		<comments>http://blog.stastnarodina.com/honza-en/spot/db2-sql30082n-security-processing-failed-with-reason-15/#comments</comments>
		<pubDate>Mon, 11 May 2009 21:51:04 +0000</pubDate>
		<dc:creator>honza</dc:creator>
				<category><![CDATA[DB2]]></category>
		<category><![CDATA[problem]]></category>

		<guid isPermaLink="false">http://blog.stastnarodina.com/honza-en/?p=18</guid>
		<description><![CDATA[
<p>If you are getting</p>

<p>SQL30082N Security processing failed with reason „15“ („PROCESSING<br
/>
FAILURE“)</p>

<p>when connecting to the db2 database using db2 CONNECT TO dbname USER
username or</p>

<p>Connection authorization failure occurred. Reason: Local security service<br
/>
non-retryable error. ERRORCODE=-4214, SQLSTATE=28000</p>

<p>when connecting remotely (via JDBC driver) read on. I finally found what
causes this error and a solution!</p>

<p>[ad]</p>

<p>Environment</p>

<p>OS: Fedora Core 10 64bit</p>

<p>DB2: version 9.5, Express edition</p>

<p>See […]</p>

<!-- by Texy2! -->]]></description>
			<content:encoded><![CDATA[
<p>If you are getting</p>

<blockquote>
	<p>SQL30082N Security processing failed with reason „15“ („PROCESSING
	FAILURE“)</p>
</blockquote>

<p>when connecting to the db2 database using <code>db2 CONNECT TO dbname USER
username</code> or</p>

<blockquote>
	<p>Connection authorization failure occurred. Reason: Local security service
	non-retryable error. ERRORCODE=-4214, SQLSTATE=28000</p>
</blockquote>

<p>when connecting remotely (via JDBC driver) read on. I finally found what
causes this error and <strong>a solution</strong>!</p>

<p>[ad]</p>

<h3>Environment</h3>

<ul>
	<li><strong>OS:</strong> Fedora Core 10 64bit</li>

	<li><strong>DB2:</strong> version 9.5, Express edition</li>

	<li>See <a href="#ubuntu">lower for the solution for Ubuntu</a></li>
</ul>

<h3>Problem</h3>

<p>Tho whole problem is in the format of the passwords in
<code>/etc/shadow</code>. DB2 doesn't seem to like the passwords generated when
changing password using the standard <code>passwd</code> command. In Fedora Core
10 the password is hashed using sha-512 and the entry for user
<em>username</em> looks like:</p>

<blockquote>
	<p>username:$6$ef­WWOYRY$z5DNL1kLQ­U4AmPkFBqbQh6LOh­0Qjxq654dS9jE46iP­Np8Zces8I4bP8GLZ3G3RWLo/­6o.LYOV5neYSKxXbL­.M1:14375:0:99999:7:::</p>
</blockquote>

<h3>Solution</h3>

<p>DB2 works fine with passwords hashed with standard crypt function. Password
in the desired format can be obtained by calling <code>openssl passwd
desiredPassword</code>. The output of openssl can be passed to <code>usermod
--password</code> The complete command to change user's password then
look like:</p>

<blockquote>usermod --password `openssl passwd <em>desiredPassword</em>`
<em>usename</em></blockquote>

<h3>Bigger image</h3>

<p>I tried to hand-edit /etc/shadow and insert salted MD5 password, which can
be obtained by <code>openssl passwd -1 desiredPassword</code> and the connection
was sucessfuly established. To sum it up, the whole problem in the end seems to
be that DB2 doesn't like SHA-512 hashes in /etc/shadow. On the other hand, it
works fine with hashes generated by <code>crypt</code> and MD5.</p>

<h3>Changing default algorithm in Fedora Core</h3>

<p>Fedora Core contains a nice tool <code>authconfig</code>. To change the
default hashing algorithm to MD5 run</p>

<blockquote>
	<p>authconfig –passalgo md5 –update</p>
</blockquote>

<p>All the passwords inserted in the password database will be stored in MD5
from now on. It will, of course, not change the hashes of the current
passwords.</p>

<h3 id="ubuntu">Ubuntu</h3>

<p>Ubuntu ships with sha512 as default hash algorithm for passwords in
<code>/etc/shadow</code>. The easiest way to change the default algorithm is to
edit the file /etc/pam.d/common-password and change the line that reads</p>

<blockquote>
	<p>password [success=1 default=ignore] pam_unix.so obscure sha512</p>
</blockquote>

<p>to</p>

<blockquote>
	<p>password [success=1 default=ignore] pam_unix.so obscure md5</p>
</blockquote>

<p>The information about the algorith is also included in the file
<code>/etc/login.defs</code>, which is used by <code>chpasswd</code> for
example. Therefore change the line</p>

<blockquote>
	<p>ENCRYPT_METHOD SHA512</p>
</blockquote>

<p>to</p>

<blockquote>
	<p>ENCRYPT_METHOD MD5</p>
</blockquote>

<!-- by Texy2! -->]]></content:encoded>
			<wfw:commentRss>http://blog.stastnarodina.com/honza-en/spot/db2-sql30082n-security-processing-failed-with-reason-15/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to install DB2 Express on Fedora Core 9</title>
		<link>http://blog.stastnarodina.com/honza-en/spot/how-to-install-db2-express-on-fedora-core-9/</link>
		<comments>http://blog.stastnarodina.com/honza-en/spot/how-to-install-db2-express-on-fedora-core-9/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 08:48:20 +0000</pubDate>
		<dc:creator>honza</dc:creator>
				<category><![CDATA[Rational Team Concert]]></category>
		<category><![CDATA[DB2]]></category>
		<category><![CDATA[jazz]]></category>

		<guid isPermaLink="false">http://blog.stastnarodina.com/honza-en/?p=16</guid>
		<description><![CDATA[
<p>I got 2 errors while installing DB2 Express that comes with Rational Team
Concert. Two libraries were missing:</p>

<p>libstdc++.so.5</p>

<p>ERROR: The required library file libstdc++.so.5 is not found on the
system.</p>

<p>Solution: (thanks <a
href="http://tldp.org/">http://tldp.org/</a>…fedora6.html)</p>

<p>yum -y install compat-libstdc++-33</p>

<p>libaio.so.1</p>

<p>ERROR: The required library file libaio++.so.1 is not found on the
system.</p>

<p>Solution:</p>

<p>yum -y install libaio</p>
]]></description>
			<content:encoded><![CDATA[
<p>I got 2 errors while installing DB2 Express that comes with Rational Team
Concert. Two libraries were missing:</p>

<h3>libstdc++.so.5</h3>

<pre>ERROR:
The required library file libstdc++.so.5 is not found on the system.</pre>

<p><strong>Solution:</strong> (thanks <a
href="http://tldp.org/HOWTO/DB2-HOWTO/fedora6.html">http://tldp.org/…fedora6.html</a>)</p>

<pre>yum -y install compat-libstdc++-33</pre>

<h3>libaio.so.1</h3>

<pre>ERROR:
The required library file libaio++.so.1 is not found on the system.</pre>

<p><strong>Solution:</strong></p>

<pre>yum -y install libaio</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.stastnarodina.com/honza-en/spot/how-to-install-db2-express-on-fedora-core-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian Lenny VIM broken dependency</title>
		<link>http://blog.stastnarodina.com/honza-en/spot/debian-lenny-vim-broken-dependency/</link>
		<comments>http://blog.stastnarodina.com/honza-en/spot/debian-lenny-vim-broken-dependency/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 00:47:38 +0000</pubDate>
		<dc:creator>honza</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WD MyBook]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://blog.stastnarodina.com/honza-en/?p=14</guid>
		<description><![CDATA[
<p>Today I ran apt-get update &amp;&amp; apt-get dist-upgrade on my Debian
Lenny installed on WD MyBook as I ussually do. It removed VIM (I let it as
I thought it was just replaced by another package). I tried to run vim after
the upgrade but it was really uninstalled. Trying to install it again by apt-get
install I got</p>

<p>The following packages have unmet dependencies:<br />
[…]</p>

<!-- by Texy2! -->]]></description>
			<content:encoded><![CDATA[
<p>Today I ran <code>apt-get update &amp;&amp; apt-get dist-upgrade</code> on
my Debian Lenny installed on WD MyBook as I ussually do. It removed VIM (I let
it as I thought it was just replaced by another package). I tried to run
<code>vim</code> after the upgrade but it was really uninstalled. Trying to
install it again by <code>apt-get install</code> I got</p>

<pre><code>The following packages have unmet dependencies:
  vim: Depends: vim-runtime (= 1:7.1.293-3)
         but 1:7.1.293-3+lenny1 is to be installed
E: Broken packages</code></pre>

<p>I tried to uninstall vim-runtime. It didn't help. I don't have time to
solve it now so I can't give a solution. If you encountered the same problem
and have a solution to this problem, I'd really appretiate your comment.</p>

<p>It's quite sad that Debian repository is not consistent and one gets errors
using <code>apt-get</code>.</p>

<!-- by Texy2! -->]]></content:encoded>
			<wfw:commentRss>http://blog.stastnarodina.com/honza-en/spot/debian-lenny-vim-broken-dependency/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
