Tuesday, February 24, 2015

Segmentation Fault while installing DB2 ESE 9.7 on RHEL

I created an RHEL 6.2 VM and started the DB2 Installation process.  However once it got going, it suddenly crashed, leaving the db2inst1 user being the only thing (apparently) created.  After a bit of searching I found the following article:

http://stackoverflow.com/questions/15270161/db2-9-7-fails-to-install-with-segmentation-fault

So the crux of the solution is that the installation process requires that the hostname is linked to the 127.0.0.1 (loopback) address.

Snapshot of the /etc/hosts file.


Once this was fixed, I deleted the existing user via system-config-users and restarted the installation process.  This time all went through successfully.

I'm working on some MDM 10.1 installation tasks so I'll likely be updating this blog again with a few of the lessons-learned.