Following on from a previous blog post, I tried, and FAILED, to install WebSphere Portal Express 7 on my Thinkpad W500, which runs Ubuntu 10.10.
The failure occurs during the creation of the WAS profile, known as wp_profile, and I saw errors such as: -
<message>Value of PRE_IJC_LIB could not be extracted from the process environment, returning null</message>
<message>Could not resolve this argument: PRE_IJC_LIB, returning null</message>
<message>Value of POST_IJC_LIB could not be extracted from the process environment, returning null</message>
<message>Could not resolve this argument: POST_IJC_LIB, returning null</message>
<message>ConfigManager action execution failed on a fatal action</message>
<message>Creation of profile wp_profile at path /opt/IBM/WebSphere/AppServer/profiles/wp_profile failed.</message>
<message>INSTCONFFAILED: The profile could not be created. For more information, consult the /opt/IBM/WebSphere/AppServer/logs/manageprofiles/wp_profile_create.log file.</message>
etc.
At the time, I didn't have the time or energy to dig into the problem last night, but my brain was nagging me to look at the default shell being used.
In the past, I've been caught out repeatedly by the fact that, by default, Ubuntu uses the dash shell, which breaks the wsadmin script.
In order to check, I ran the following commands: -
echo $SHELL
which returns: -
/bin/bash
and: -
which sh
which returns: -
/bin/sh
and: -
ll/bin/sh
which returns: -
/bin/sh -> dash*
There are two ways to resolve this: -
(a) Hacky
cd /bin
unlink sh
ln -s /bin/bash sh
I'll test this and report back ...
*UPDATE* Yep, that did it - once I unlinked dash, all was well ....
Geeking in technology since 1985, with IBM Development, focused upon Docker and Kubernetes on the IBM Z LinuxONE platform In the words of Dr Cathy Ryan, "If you don't write it down, it never happened". To paraphrase one of my clients, "Every day is a school day". I do, I learn, I share. The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions. Remember, YMMV https://infosec.exchange/@davehay
Subscribe to:
Post Comments (Atom)
Note to self - use kubectl to query images in a pod or deployment
In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...
-
Why oh why do I forget this ? Running this command : - ldapsearch -h ad2012.uk.ibm.com -p 389 -D CN=bpmbind,CN=Users,DC=uk,DC=ibm,DC=com -w...
-
Error "ldap_sasl_interactive_bind_s: Unknown authentication method (-6)" on a LDAPSearch command ...Whilst building my mega Connections / Domino / Portal / Quickr / Sametime / WCM environment recently, I was using the LDAPSearch command tha...
-
Whilst building a new "vanilla" Kubernetes 1.25.4 cluster, I'd started the kubelet service via: - systemctl start kubelet.se...
2 comments:
yea this really work, websphere process server 7 on linux ubuntu x64 INSTCONFPARTIALSUCCESS
wsadmin task failed with return code :-1
Second way to resolve this: sudo dpkg-reconfigure dash
Post a Comment