http://blog.oogly.co.uk/sysadmin/websphere-install-on-ubuntu-hardy-heron
I recently underwent the painful process of installing IBM Websphere 7.0 Developer on Ubuntu 9.10. there was one issue in particular that I wanted to share involving the process of creating a Websphere profile in order to start a server. This involves running the manageprofiles.sh file with something similar to the following:
sudo bash -x manageprofiles.sh -create -profileName
-profilePath /opt/IBM/WebSphere/AppServer/profiles/
-templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default/
This fails on Ubuntu with the following error message:
INSTCONFFAILED: The profile could not be created. For more information, consult the
/opt/IBM/WebSphere/AppServer/logs/manageprofiles/AppSrv01_create.log file
Tracing through this logfile yields the following warning:
/opt/IBM/WebSphere/AppServer/profileTemplates/default/action/generateKeysForSingleProfile.ant:25:
wsadmin task failed with return code :-1
which involves running a shell script called wsadmin.sh which in turn calls this Ant script. It’s not immediately obvious, but the reason this fails is because under Ubuntu the default shell is dash rather than bash. There are two solutions to this
1. Unlink /bin/sh
sudo unlink /bin/sh
sudo ln -s /bin/bash /bin/sh
2. Reconfigure via dpkg
sudo dpkg-reconfigure dash
本文分享了在Ubuntu 9.10上安装IBM Websphere 7.0 Developer过程中遇到的一个关键问题及解决方案,主要涉及创建Websphere配置文件时因默认shell为dash而非bash导致的错误,并提供了两种解决方法。
1097

被折叠的 条评论
为什么被折叠?



