203 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
Interesting - java.lang.NoClassDefFoundError: com.ibm.xylem.utils.ErrorHandlerProvider
Wed, Nov 22nd 2017 5
IBM Cloud Private and Kubernetes - Coping files
Wed, Nov 22nd 2017 18
IBM Java and Health Centrer - There's More
Tue, Nov 21st 2017 33
IBM DB2, Red Hat Enterprise Linux and the IBM Mainframe
Thu, Nov 16th 2017 69
Telnet, my Telnet - Or macOS High Sierra, what have you done ?
Tue, Nov 14th 2017 41
Vagrant and VMware - all the Vs together - or not
Tue, Nov 14th 2017 34
IBM Cloud Private - Tinkering with Vagrant
Mon, Nov 13th 2017 32
Top 10
IBM DB2, Red Hat Enterprise Linux and the IBM Mainframe
Thu, Nov 16th 2017 69
Hmmm, macOS Sierra and XQuartz and X11
Thu, Oct 27th 2016 45
Telnet, my Telnet - Or macOS High Sierra, what have you done ?
Tue, Nov 14th 2017 41
Executing external Python/Jython scripts from within WebSphere Application Server's wsadmin tool
Thu, Feb 27th 2014 38
Transport Layer Security (TLS) 1.2 and SoapUI
Fri, Jun 12th 2015 37
Vagrant and VMware - all the Vs together - or not
Tue, Nov 14th 2017 34
IBM Java and Health Centrer - There's More
Tue, Nov 21st 2017 33
IBM Cloud Private - Tinkering with Vagrant
Mon, Nov 13th 2017 32
Securing the Database - IBM DB2 10.5 and Transport Layer Security 1.2
Wed, Jun 3rd 2015 31
Hmmmm, HTTP404 and SRVE0190E seen with IBM HTTP Server and WebSphere Application Server
Fri, Nov 14th 2014 28


Installing IBM DB2 on Linux using IBM Installation Manager - Fun and Games
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
   

I've installed DB2 a million (!) times over the past 17 years, since I joined what was then IBM Software Group.

However, I've almost always installed it using the DB2 installation binaries and response files.

For a long time now, it's been packaged with IBM BPM, and other products, and thus suitable to be installed using IBM Installation Manager (IIM).

So now I'm trying that ….

One thing of which to be aware; DB2 is typically only ever installed as root, which means ( to me, at least ) that BPM etc. is also installed as root - which feels wrong.

But that's a challenge for another day.

I've got a response file to install WAS, BPM, DB2 etc., and am driving IIM as root (!): -

/opt/ibm/InstallationManager/eclipse/tools/imcl -input installBPM86_DB2_root.rsp -acceptLicense

Alas this failed with: -

ERROR: Error during "install" phase:
  ERROR: Installation of DB2 Advanced Workgroup Server has failed. 
  Installation failure reason: A fatal error occurred during the installation.


Thankfully, IIM keeps logs, lots of logs.

In my (root) case, these are here: -

/var/ibm/InstallationManager/logs

e.g. 

ls -altrc /var/ibm/InstallationManager/logs

total 136
-rw-r--r--  1 root root 10400 Nov  8 15:11 log.xsl
-rw-r--r--  1 root root  2912 Nov  8 15:11 index.xsl
drwxr-xr-x  2 root root  4096 Nov  8 15:11 inputs
drwxr-xr-x  2 root root  4096 Nov  8 15:14 native
drwxr-xr-x 13 root root  4096 Nov  8 15:14 ..
-rw-r--r--  1 root root 82682 Nov  8 15:14 20171108_1511.xml
-rw-r--r--  1 root root   224 Nov  8 15:14 index.xml
drwxr-xr-x  4 root root  4096 Nov  8 15:14 .
-rw-r--r--  1 root root 13686 Nov  8 15:14 sample.properties

view /var/ibm/InstallationManager/logs/20171108_1511.xml 

<entry num='234' time='1510154080965' elapsed='03:28.24' level='ERROR' thread='Thread-425'>
 <logger>global</logger>
 <class>com.ibm.db2exp.exec.Install</class>
 <method>exec</method>
 <message>com.ibm.db2exp.exec.Install
Command: [Ljava.lang.String;@174464c6
Return code : 67
StdOut :   Aborting the current installation ...
  Run installation with the option "-f sysreq" parameter to force the installation.

StdErr : Requirement not matched for DB2 database "Server" . Version: "11.1.0.0".

Summary of prerequisites that are not met on the current system:

   DBT3514W  The db2prereqcheck utility failed to find the following 32-bit library file: "/lib/libpam.so*".


   Required minimum operating system distribution: "RHEL"; Version: "6"; Service pack: "7".
   Actual operating system distribution Version: "6"; Service pack: "6".


</message>
</entry>


which makes sense …

cat /etc/redhat-release 

Red Hat Enterprise Linux Server release 6.6 (Santiago)

To check my hypothesis, I "cheated" by editing the above: -

Red Hat Enterprise Linux Server release 6.7 (Santiago)

and now things install happily :-)

/opt/ibm/InstallationManager/eclipse/tools/imcl -input installBPM86_DB2_root.rsp -acceptLicense

Installed 8.5.5.12-WS-WASND-IFPI82630_8.5.5012.20170718_1447 to the /opt/ibm/WebSphere/AppServer directory.
Installed com.ibm.websphere.ND.v85_8.5.5012.20170627_1018 to the /opt/ibm/WebSphere/AppServer directory.
Installed com.ibm.bpm.ADV.v85_8.6.0.20170918_1207 to the /opt/ibm/WebSphere/AppServer directory.
Installed com.ibm.ws.DB2EXP.linuxia64_11.1.0.20170918_0944 to the /opt/ibm/WebSphere/AppServer directory.


/opt/ibm/WebSphere/AppServer/db2/bin/db2level

DB21085I  This instance or install (instance name, where applicable: 
"db2inst1") uses "64" bits and DB2 code release "SQL11010" with level 
identifier "0201010F".
Informational tokens are "DB2 v11.1.0.0", "s1606081100", "DYN1606081100AMD64", 
and Fix Pack "0".
Product is installed at "/opt/ibm/WebSphere/AppServer/db2".


Of course, when I do this properly, I will use a supported version of RHEL, rather than "hacking" the redhat-release file …..


---------------------
http://portal2portal.blogspot.com/2017/11/installing-ibm-db2-on-linux-using-ibm.html
Nov 08, 2017
11 hits



Recent Blog Posts
5
Interesting - java.lang.NoClassDefFoundError: com.ibm.xylem.utils.ErrorHandlerProvider
Wed, Nov 22nd 2017 9:56p   Dave Hay
During an installation of IBM BPM Advanced 8.5.5 onto Red Hat Enterprise Linux 7.4 ( which, I know, is an unsupported combination ), I had an interesting experience.This was the installation command: -/opt/ibm/InstallationManager/eclipse/tools/imcl -input /mnt/ResponseFiles/installBPM855.rsp -acceptLicenseand this was the result: -ERROR: java.lang.NoClassDefFoundError: com.ibm.xylem.utils.ErrorHandlerProviderjava.lang.NoClassDefFoundError: com.ibm.xylem.utils.ErrorHandlerProvidercom.ibm.oti.vm.V
18
IBM Cloud Private and Kubernetes - Coping files
Wed, Nov 22nd 2017 2:59p   Dave Hay
Whilst I have used docker cp numerous times to copy files from a running container to the host ( or vice versa ), I had the need to do the same with a container running in a Pod orchestrated by Kubernetes.The syntax for Docker is: -docker cp :/from-path /to-pathe.g.docker cp 97ee4c182ece:/opt/ibm/db2/V11.1/java/db2jcc4.jar .For containers running in Pods via Kubernetes, it's a little different.The first trick is to inspect the Pod: -kubectl get podNAME RE
33
IBM Java and Health Centrer - There's More
Tue, Nov 21st 2017 5:23p   Dave Hay
Following an earlier post: -IBM WebSphere Application Server - Tuning and Monitoring and Tuning - IBM Health CenterI've been guiding a colleague in the use of HC, outside of WebSphere Application Server (WAS).This time I wanted to show how HC could be used to monitor a Plain Ole Java Object (POJO), specifically a Java class.Here's one I prepared earlier: -HelloWorld.javapublic class HelloWorld{ public static void main(String[] args) { while (true) { System.out.println("Hello, World");
69
IBM DB2, Red Hat Enterprise Linux and the IBM Mainframe
Thu, Nov 16th 2017 5:54p   Dave Hay
I'm running through the process to deploy IBM Business Process Manager (BPM) 8.6 onto an IBM mainframe ….This is something that I've done a number of times before, since I first joined the (then) IBM Software Services for WebSphere team in late 2012.In essence, although the underlying hardware is the IBM z platform ( also known as LinuxOne in this guise ), I'm installing BPM etc. onto Red Hat Enterprise Linux (RHEL) and Linux is …. Linux.So the approach to install BPM, and it's dependenc
41
Telnet, my Telnet - Or macOS High Sierra, what have you done ?
Tue, Nov 14th 2017 2:04p   Dave Hay
This harks back to a VERY old post: -Testing Times with Telnetwhich was penned back in 2010.Since I've upgraded to macOS High Sierra, I've lost the FTP and Telnet clients.Ordinarily that wouldn't be a problem but ….Telnet is often useful for testing ports e.g. telnet localhost 9443.Thankfully, we have a solution …. Netcat.Q: Checking TCP/UDP ports!nc -vnzu 127.0.0.1 9080found 0 associationsfound 1 connections: 1: flags=82 outif (null) src 127.0.0.1 port 59595 dst 127.0.0.1 port 9080 r
34
Vagrant and VMware - all the Vs together - or not
Tue, Nov 14th 2017 12:49p   Dave Hay
Further to my last: -IBM Cloud Private - Tinkering with VagrantI'm now looking at the options to use VMware Workstation ( this is on Linux, rather than my default home of macOS ) instead of VirtualBox.Following this: -https://www.vagrantup.com/docs/vmware/installation.htmlI've installed the appropriate plugin: -vagrant plugin install vagrant-vmware-workstationInstalling the 'vagrant-vmware-workstation' plugin. This can take a few minutes...Fetching: vagrant-share-1.1.9.gem (100%)Fetching: va
32
IBM Cloud Private - Tinkering with Vagrant
Mon, Nov 13th 2017 3:11p   Dave Hay
So I've been on a slow boat to IBM Cloud Private, over the past few weeks, and am continuing to self-enable in my "spare" time ( my formal enablement starts next week ). Looking at this: -Source: IBM Cloud Private 2.1.0 - Architectureit was clear that I really needed a few boxes onto which to actually install ICP.Whilst it is possible to run everything on one box ( as per this IBM Cloud Private - My first foray ), I thought that I really should do things properly.So, starting with Beast, whic
17
Cloud Foundry and Ruby on IBM Bluemix - Learning, learning, learning - keep those lessons learning
Thu, Nov 9th 2017 7:06p   Dave Hay
Following a previous post: -Hmmm, Segmentation Fault 11 with Cloud FoundryI'm running through this: -LFS132x Introduction to Cloud Foundry and Cloud Native Software Architectureand was hitting an issue with the version of Ruby specified within some of the lesson material.This is what I saw: -cf pushUsing manifest file /Users/davidhay/Downloads/LFS132x/Scaling/web_app/manifest.ymlCreating app web-app in org david_hay@uk.ibm.com / space david_hay as david_hay@uk.ibm.com...OKCreating route web-app
11
Hmmm, Segmentation Fault 11 with Cloud Foundry
Thu, Nov 9th 2017 5:15p   Dave Hay
Whilst following this online course: -LFS132x Introduction to Cloud Foundry and Cloud Native Software ArchitectureI was tinkering ( man, I love that word ) with Cloud Foundry ( CF ).Now it's been a while and I've been through a macOS upgrade from Sierra to High Sierra ( wonder if there's a clue there ? ).So this time around, I'm seeing "Segmentation Fault: 11" : -cf versionSegmentation fault: 11cf loginSegmentation fault: 11which cf/usr/local/bin/cfls -al `which cf`-rwxr-xr-x 1 root whee
11
Installing IBM DB2 on Linux using IBM Installation Manager - Fun and Games
Wed, Nov 8th 2017 3:49p   Dave Hay
I've installed DB2 a million (!) times over the past 17 years, since I joined what was then IBM Software Group.However, I've almost always installed it using the DB2 installation binaries and response files.For a long time now, it's been packaged with IBM BPM, and other products, and thus suitable to be installed using IBM Installation Manager (IIM).So now I'm trying that ….One thing of which to be aware; DB2 is typically only ever installed as root, which means ( to me, at least ) that BP




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition