329 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
The "You have been automatically logged out for security reasons" error is seen with IBM Business Process Manager (BPM)
Tue, May 14th 2013 58
What is important when monitoring IBM Business Process Manager at the infrastructure level?
Mon, May 13th 2013 68
Using the ITCAM for Applications BPM monitoring solution to identify slow Business Process Definitions
Wed, May 8th 2013 81
Top 6 mistakes in IBM Business Process Manager installations
Tue, May 7th 2013 115
Verbose Garbage Collection logging in the WebSphere Liberty Profile
Wed, May 1st 2013 76
Knowledge Collection: Troubleshooting documents for IBM Business Monitor
Tue, Apr 30th 2013 66
IBM Business Process Manager 8.5 - It's Announced
Tue, Apr 30th 2013 124
Top 10
NFS, Linux file permissions and IBM Installation Manager
Fri, Nov 23rd 2012 4583
Silently installing WebSphere Application Server Network Deployment 8.5 - no GUIs here
Wed, Oct 3rd 2012 1579
Error "CWWIM4512E The password match failed" seen using WebSphere Portal Express v7 on Linux
Thu, Jan 27th 2011 1399
SECJ0369E: Authentication failed when using LTPA. The exception is
Wed, Aug 25th 2010 1007
More on Lotus Notes and temporary directories
Thu, May 3rd 2012 892
CWWIM4520E The 'javax.naming.ServiceUnavailableException - Fun and Games with WebSphere Application Server and Microsoft Active Directory
Wed, Mar 7th 2012 861
IBM Notes 9 on the Mac - it's lovely ….
Fri, Dec 14th 2012 843
OSX - Climbing the Mountain Lion
Fri, Jul 27th 2012 803
More on the AJAX Proxy
Wed, Mar 6th 2013 796
java.security.cert.CertPathValidatorException: Certificate chaining error seen with IBM Business Process Manager v8
Mon, Dec 3rd 2012 666


Installing IBM HTTP Server 7 on CentOS Linux 6.2
   

Working with a friend to get IHS v7 working on CentOS 6.2, he ( and eventually I ) were hitting the following exception: -

(Dec 27, 2011 8:09:47 PM), Process, com.ibm.ws.install.ihs.ismp.actions.ExecWizardActionFromDirectory, err, java.io.IOException: Cannot run program "/opt/IBM/HTTPServer/bin/htpasswd" (in directory "/opt/IBM/HTTPServer"): java.io.IOException: error=2, No such file or directory
STACK_TRACE: 15
java.io.IOException: Cannot run program "/opt/IBM/HTTPServer/bin/htpasswd" (in directory "/opt/IBM/HTTPServer"): java.io.IOException: error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:470)
        at java.lang.Runtime.exec(Runtime.java:604)
        at com.ibm.ws.install.ihs.ismp.actions.ExecWizardActionFromDirectory.executeProcess(ExecWizardActionFromDirectory.java:202)

        at com.installshield.wizard.StandardWizardListener.currentBeanChanged(StandardWizardListener.java:106)
        at com.installshield.wizard.Wizard$RunThread.run(Wizard.java:1569)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
        at java.lang.Throwable.<init>(Throwable.java:67)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:197)
        at java.lang.ProcessImpl.start(ProcessImpl.java:101)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:463)
        ... 6 more

In order to prove and, hopefully, resolve the issue, I downloaded CentOS ( CentOS-6.2-x86_64-LiveCD ) as a 700 MB ISO image. From this, I was able to quickly create a new virtual machine using VMware Fusion, and go through the IHS installation.

Given that I'm using a 64-bit version of CentOS, I also needed to install the corresponding package of IHS - for the record, IHS v7 is a 32-bit binary BUT is delivered in two packages; one 32-bit and one 64-bit.

( If you're looking for more detail, check out my other blog posts here and here )

I downloaded the x86-64 version of the product via this image: -

IBM WebSphere Application Server V7.0 Supplements (1 of 2) for Linux on x86-64 bit (IBM HTTP Server, Web Server Plug-ins and Update Installer) Multilingual (C1G00ML) - 246 MB

as detailed here: -


and unpacked the corresponding TAR file - C1G00ML.tar.gz.

$ cd /tmp
$ mkdir IHS
$ cd IHS
$ tar xvzf C1G00ML.tar.gz  

and ran the installation routine: -

$ ./IHS/install

This ran through, with me taking all the defaults, and completed BUT displayed the following message: -


When I looked at the log.txt file, I saw the exception referred to previously: -

<snip>
java.io.IOException: Cannot run program "/opt/IBM/HTTPServer/bin/htpasswd" (in directory "/opt/IBM/HTTPServer"): java.io.IOException: error=2, No such file or directory
</snip>

When I attempted to manually run the htpasswd program: -

$ /opt/IBM/HTTPServer/htpasswd

it failed with: -

bash: /opt/IBM/HTTPServer/bin/htpasswd: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

A quick Google search threw up this hit which suggested that I was missing the ld-linux.so.2 library ( which actually ties up with the above error !! ) and, more importantly, showed me the way to go home …..

Simply put, I needed to install the library as follows: -

$ yum install ld-linux.so.2

which downloaded 4.4 MB of code: -

================================================================================
 Package                   Arch        Version                Repository   Size
================================================================================
Installing:
 glibc                     i686        2.12-1.47.el6          base        4.3 M
Installing for dependencies:
 nss-softokn-freebl        i686        3.12.9-11.el6          base        116 k

Transaction Summary
================================================================================
Install       2 Package(s)


Having done that, htpasswd now runs perfectly: -

$ /opt/IBM/HTTPServer/bin/htpasswd

Usage:
htpasswd [-cmdpsD] passwordfile username
htpasswd -b[cmdpsD] passwordfile username password

htpasswd -n[mdps] username
htpasswd -nb[mdps] username password
 -c  Create a new file.
 -n  Don't update file; display results on stdout.
 -m  Force MD5 encryption of the password.
 -d  Force CRYPT encryption of the password (default).
 -p  Do not encrypt the password (plaintext).
 -s  Force SHA encryption of the password.
 -b  Use the password from the command line rather than prompting for it.
 -D  Delete the specified user.
On Windows, NetWare and TPF systems the '-m' flag is used by default.
On all other systems, the '-p' flag will probably not work.


I removed and reinstalled IHS; I still see the "Partial Success" message, but no longer see any nasty exceptions relating to htpasswd and I'm able to start/stop/use IHS without problems.

:-)



---------------------
http://portal2portal.blogspot.com/2011/12/installing-ibm-http-server-7-on-centos.html
Dec 27, 2011
413 hits



Recent Blog Posts
58


The "You have been automatically logged out for security reasons" error is seen with IBM Business Process Manager (BPM)
Tue, May 14th 2013 4:29a   Dave Hay
Another one thanks to the @IBM_BPM service on Twitter: - Problem(Abstract) When you submit a coach or run an exposed service you might see the error message: "You have been automatically logged out for security reasons. Unfortunately, because of this we are unable to save your information at this time. Please run this task again to save your information." Cause There are several reasons why this error is thrown by IBM Business Process Manager. This document provides a list of all of the pos [read] Keywords: ibm apple application css microsoft security server twitter websphere
68


What is important when monitoring IBM Business Process Manager at the infrastructure level?
Mon, May 13th 2013 8:45a   Dave Hay
Again, this popped up in my Twitter stream of consciousness, thanks to @IBM_BPM : - In my customer engagements, I am often asked the following questions: • What metrics should we use to monitor the infrastructure for our IBM Business Process Manager environment? • What key metrics should I always look at to prevent the environment from becoming unavailable? • Which actions should be taken in case the metric threshold is exceeded or when receiving an alert by running out of service? Fo [read] Keywords: ibm apple application community server twitter websphere
81


Using the ITCAM for Applications BPM monitoring solution to identify slow Business Process Definitions
Wed, May 8th 2013 9:47a   Dave Hay
This came to my attention via the @IBM_BPM Twitter account: - IBM Business Process Manager (BPM) is a widely used, comprehensive BPM platform that gives you visibility and insight to manage business processes. One of the biggest challenges for BPM customers is tracking the health and performance of the BPM server and its processes, then identifying potential issues to improve the satisfaction of the end user. BPM customer business can be impacted by the following scenarios: • BPM server takes [read] Keywords: ibm apple application applications best practice community server tivoli twitter wiki
115


Top 6 mistakes in IBM Business Process Manager installations
Tue, May 7th 2013 7:09a   Dave Hay
Let's play a game of word association. What subject comes to mind with the words "engaging" and "terrifying"? Whatever you are thinking, I suspect it wasn't IT security. Yet those very words describe J Keith Wood and Jens Engelke's new IBM Redbooks publication. In it, they share their experiences of working with IBM customers around the world on securing IBM Business Process Manager solutions. Security pitfalls are everywhere and the stakes could not be higher. This blog post is part of [read] Keywords: ibm community database security server
76


Verbose Garbage Collection logging in the WebSphere Liberty Profile
Wed, May 1st 2013 4:07a   Dave Hay
As part of an exercise to help a colleague, who was trying to work out how to enable verbose GC logging within the WAS Liberty Profile, I've just installed Liberty and the WAS Developer Tools onto my Mac. I used this excellent blog post: - How to install WebSphere 8.5 Liberty profile on Mac as inspiration, as well as an earlier blog post of mine: - WebSphere Application Server 8.5 Developer Tools for Eclipse and WebSphere Application Server 8.5 Liberty Profile Developer Tools I downloaded Eclip [read] Keywords: ibm application applications community eclipse java mac profile properties server vm websphere
66


Knowledge Collection: Troubleshooting documents for IBM Business Monitor
Tue, Apr 30th 2013 11:23a   Dave Hay
Abstract This Knowledge Collection is a focused compilation of links to documents for troubleshooting. Content A Knowledge Collection is a focused compilation of links to documents that share a common theme. Knowledge Collections are navigation aids that organize content to help users quickly find relevant information. Knowledge Collections are not designed to be an all-inclusive list of all documents dealing with the specific theme. Knowledge Collection: Troubleshooting documents for IBM Bus [read] Keywords: ibm
124


IBM Business Process Manager 8.5 - It's Announced
Tue, Apr 30th 2013 11:23a   Dave Hay
Announcement: IBM Business Process Manager and IBM Integration Designer Version 8.5 products This product version includes the following enhancements: • Simplified IBM Business Process Manager installation, configuration, migration, and administration processes to help reduce the time and effort required to set up, manage, and expand IBM Business Process Manager environments • Significant enhancements to the IBM Business Process Manager built-in dashboards to help improve business process [read] Keywords: administration collaboration ibm apple application applications development enterprise integration interface mobile network security server websphere
96


Note to Self - Java Runtime Environment and Mozilla Firefox on 64-bit Red Hat Linux
Tue, Apr 30th 2013 8:06a   Dave Hay
(1) Download the JRE from here ( assuming that you're happy to use the Oracle JRE ): - Java Downloads for All Operating Systems - Recommended Version 7 Update 21 I chose the Linux x64 RPM from the above list: - http://javadl.sun.com/webapps/download/AutoDL?BundleId=76852 (2) Install the RPM: - $ rpm -ivh jre-7u21-linux-x64.rpm (3) Create a symbolic link to the plugin: - ( for non-root user e.g. wasadmin ) $ ln -s /usr/java/jre1.7.0_21/lib/amd64/libnpjp2.so /home/wasadmin/.mozilla/plugins/ ( fo [read] Keywords: firefox java linux oracle red hat




100


WebSphere Application Server, the Service Integration Bus, CWSIS1501E and ORA-28000: the account is locked
Fri, Apr 26th 2013 4:03a   Dave Hay
I was trying to work out why my two Service Integration (SI) buses were failing to start up. My back-end database is Oracle 11g R2, with which I'm slowly becoming familiar. I could see: - [4/25/13 19:28:15:752 BST] 00000013 SibMessage I [MONITOR.BAMCELL.Bus:BAMSR01.Messaging.000-MONITOR.BAMCELL.Bus] CWSID0016I: Messaging engine BAMSR01.Messaging.000-MONITOR.BAMCELL.Bus is in state Starting. [4/25/13 19:28:15:753 BST] 00000012 SibMessage I [CEI.BAMCELL.BUS:BAMSR01.Messaging.000-CEI.BAM [read] Keywords: ibm apple application database integration java oracle server sql websphere
108


Slow but steady success with Oracle 11g R2
Thu, Apr 25th 2013 7:05a   Dave Hay
I'm on my second installation of Oracle 11g R2, having previously installed it using the GUI. This time around I've used a response file to install the product ( see below )via the command: - ./runInstaller -silent -responseFile response/db_install.rsp and all seems OK so far. I did hit a few challenges: - (i) I don't appear to have the oracle_env.sh script anywhere on my box, meaning that the ORACLE_HOME and ORACLE_SID aren't set up. I manually created the script: - oracle_env.sh ORACLE_HO [read] Keywords: ibm application database email enterprise google network oracle password security server smtp sql




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - Mobile Edition