Link to home
Start Free TrialLog in
Avatar of Los Angeles1
Los Angeles1

asked on

WESB on Linux Profile creation error

I installed WESB 7 on RHEL 5.5.  installs without error.

I run the Profile creation tool, and I get the following error:

The exception message is: wsadmin task failed with return code :103

Open in new window


I did some google searches, but found some hits but no clear solutions.

Below is a more complete segment of the Profile log:

<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851816</millis>
<sequence>25741</sequence>
-
<logger>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</logger>
<level>WARNING</level>
-
<class>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</class>
<method>messageLogged</method>
<thread>1</thread>
-
<message>
	at com.ibm.ws.pmt.command.executors.WSProfileCommandExecutor.executeCommand(WSProfileCommandExecutor.java:72)
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851816</millis>
<sequence>25742</sequence>
-
<logger>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</logger>
<level>WARNING</level>
-
<class>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</class>
<method>messageLogged</method>
<thread>1</thread>
-
<message>
	at com.ibm.ws.pmt.wizards.fragments.ProgressPanel.run(ProgressPanel.java:320)
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851817</millis>
<sequence>25743</sequence>
-
<logger>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</logger>
<level>WARNING</level>
-
<class>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</class>
<method>messageLogged</method>
<thread>1</thread>
-
<message>
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851818</millis>
<sequence>25744</sequence>
-
<logger>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</logger>
<level>INFO</level>
-
<class>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</class>
<method>taskFinished</method>
<thread>1</thread>
<message>Task stopped for: wsadmin - FAILURE</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851818</millis>
<sequence>25745</sequence>
-
<logger>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</logger>
<level>INFO</level>
-
<class>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</class>
<method>targetFinished</method>
<thread>1</thread>
-
<message>
Target stopped for: runPrepareKeysForSingleProfile - FAILURE
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851818</millis>
<sequence>25746</sequence>
-
<logger>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</logger>
<level>WARNING</level>
<class>com.ibm.ws.install.configmanager.logging.LogUtils</class>
<method>logException</method>
<thread>1</thread>
-
<message>
Exception was thrown, type of exception is: class org.apache.tools.ant.BuildException
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851818</millis>
<sequence>25747</sequence>
-
<logger>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</logger>
<level>WARNING</level>
<class>com.ibm.ws.install.configmanager.logging.LogUtils</class>
<method>logException</method>
<thread>1</thread>
-
<message>
The exception message is: wsadmin task failed with return code :103
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851818</millis>
<sequence>25748</sequence>
-
<logger>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</logger>
<level>WARNING</level>
<class>com.ibm.ws.install.configmanager.logging.LogUtils</class>
<method>logException</method>
<thread>1</thread>
-
<message>
The translated exception message is: wsadmin task failed with return code :103
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851818</millis>
<sequence>25749</sequence>
-
<logger>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</logger>
<level>WARNING</level>
<class>com.ibm.ws.install.configmanager.logging.LogUtils</class>
<method>logException</method>
<thread>1</thread>
<message>The stack trace follows</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851820</millis>
<sequence>25750</sequence>
-
<logger>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</logger>
<level>WARNING</level>
<class>com.ibm.ws.install.configmanager.logging.LogUtils</class>
<method>logException</method>
<thread>1</thread>
-
<message>
/opt/ibm/WebSphere/ESB/profileTemplates/default/actions/generateKeysForSingleProfile.ant:204: wsadmin task failed with return code :103
	at com.ibm.websphere.ant.tasks.WsAdminInProcess.execute(WsAdminInProcess.java:333)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
	at org.apache.tools.ant.Task.perform(Task.java:364)
	at org.apache.tools.ant.Target.execute(Target.java:341)
	at org.apache.tools.ant.Target.performTasks(Target.java:369)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
	at com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.runBuild(InProcessAntRunner.java:785)
	at com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.start(InProcessAntRunner.java:234)
	at com.ibm.ws.install.configmanager.actionengine.ANTAction.executeActionUsingAnInProcessANTCall(ANTAction.java:107)
	at com.ibm.ws.install.configmanager.actionengine.ANTAction.executeAction(ANTAction.java:54)
	at com.ibm.ws.install.configmanager.actionengine.ConfigAction.executeAction(ConfigAction.java:95)
	at com.ibm.ws.install.configmanager.ConfigManager.executeAllActionsFound(ConfigManager.java:1008)
	at com.ibm.ws.install.configmanager.ConfigManager.executeActions(ConfigManager.java:569)
	at com.ibm.ws.install.configmanager.ConfigManager.launch(ConfigManager.java:329)
	at com.ibm.ws.install.configmanager.launcher.Launcher.mainForInProcessCMTCallers(Launcher.java:65)
	at com.ibm.wsspi.profile.WSProfile.doCreate(WSProfile.java:404)
	at com.ibm.wsspi.profile.WSProfile.create(WSProfile.java:224)
	at com.ibm.ws.profile.cli.WSProfileCLICreateProfileInvoker.executeWSProfileAccordingToMode(WSProfileCLICreateProfileInvoker.java:255)
	at com.ibm.ws.profile.cli.WSProfileCLIModeInvoker.invokeWSProfile(WSProfileCLIModeInvoker.java:462)
	at com.ibm.ws.profile.WSProfileJob.run(WSProfileJob.java:94)
	at com.ibm.ws.profile.utils.WSProfileUtils.executeAllJobs(WSProfileUtils.java:793)
	at com.ibm.wsspi.profile.WSProfileCLI.invokeWSProfile(WSProfileCLI.java:199)
	at com.ibm.wsspi.profile.WSProfileCLI.mainForInProcessCalls(WSProfileCLI.java:90)
	at com.ibm.ws.pmt.command.executors.WSProfileCommandExecutor.runWSProfile(WSProfileCommandExecutor.java:122)
	at com.ibm.ws.pmt.command.executors.WSProfileCommandExecutor.executeCommand(WSProfileCommandExecutor.java:72)
	at com.ibm.ws.pmt.wizards.fragments.ProgressPanel.run(ProgressPanel.java:320)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: wsadmin task failed with return code :103
	at com.ibm.ws.ant.utils.ProjectUtils.reportError(ProjectUtils.java:30)
	at com.ibm.websphere.ant.tasks.WsAdminInProcess.execute(WsAdminInProcess.java:326)
	... 29 more
--- Nested Exception ---
wsadmin task failed with return code :103
	at com.ibm.ws.ant.utils.ProjectUtils.reportError(ProjectUtils.java:30)
	at com.ibm.websphere.ant.tasks.WsAdminInProcess.execute(WsAdminInProcess.java:326)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
	at org.apache.tools.ant.Task.perform(Task.java:364)
	at org.apache.tools.ant.Target.execute(Target.java:341)
	at org.apache.tools.ant.Target.performTasks(Target.java:369)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
	at com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.runBuild(InProcessAntRunner.java:785)
	at com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.start(InProcessAntRunner.java:234)
	at com.ibm.ws.install.configmanager.actionengine.ANTAction.executeActionUsingAnInProcessANTCall(ANTAction.java:107)
	at com.ibm.ws.install.configmanager.actionengine.ANTAction.executeAction(ANTAction.java:54)
	at com.ibm.ws.install.configmanager.actionengine.ConfigAction.executeAction(ConfigAction.java:95)
	at com.ibm.ws.install.configmanager.ConfigManager.executeAllActionsFound(ConfigManager.java:1008)
	at com.ibm.ws.install.configmanager.ConfigManager.executeActions(ConfigManager.java:569)
	at com.ibm.ws.install.configmanager.ConfigManager.launch(ConfigManager.java:329)
	at com.ibm.ws.install.configmanager.launcher.Launcher.mainForInProcessCMTCallers(Launcher.java:65)
	at com.ibm.wsspi.profile.WSProfile.doCreate(WSProfile.java:404)
	at com.ibm.wsspi.profile.WSProfile.create(WSProfile.java:224)
	at com.ibm.ws.profile.cli.WSProfileCLICreateProfileInvoker.executeWSProfileAccordingToMode(WSProfileCLICreateProfileInvoker.java:255)
	at com.ibm.ws.profile.cli.WSProfileCLIModeInvoker.invokeWSProfile(WSProfileCLIModeInvoker.java:462)
	at com.ibm.ws.profile.WSProfileJob.run(WSProfileJob.java:94)
	at com.ibm.ws.profile.utils.WSProfileUtils.executeAllJobs(WSProfileUtils.java:793)
	at com.ibm.wsspi.profile.WSProfileCLI.invokeWSProfile(WSProfileCLI.java:199)
	at com.ibm.wsspi.profile.WSProfileCLI.mainForInProcessCalls(WSProfileCLI.java:90)
	at com.ibm.ws.pmt.command.executors.WSProfileCommandExecutor.runWSProfile(WSProfileCommandExecutor.java:122)
	at com.ibm.ws.pmt.command.executors.WSProfileCommandExecutor.executeCommand(WSProfileCommandExecutor.java:72)
	at com.ibm.ws.pmt.wizards.fragments.ProgressPanel.run(ProgressPanel.java:320)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851821</millis>
<sequence>25751</sequence>
-
<logger>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</logger>
<level>INFO</level>
-
<class>
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
</class>
<method>buildFinished</method>
<thread>1</thread>
<message>Build stopped - FAILURE</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851821</millis>
<sequence>25752</sequence>
-
<logger>
com.ibm.ws.install.configmanager.actionengine.ANTAction
</logger>
<level>INFO</level>
-
<class>
com.ibm.ws.install.configmanager.actionengine.ANTAction
</class>
<method>executeAction</method>
<thread>1</thread>
-
<message>
Result of executing /opt/ibm/WebSphere/ESB/profileTemplates/default/actions/generateKeysForSingleProfile.ant was: false
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851821</millis>
<sequence>25753</sequence>
<logger>com.ibm.ws.install.configmanager.ConfigManager</logger>
<level>WARNING</level>
<class>com.ibm.ws.install.configmanager.ConfigManager</class>
<method>executeAllActionsFound</method>
<thread>1</thread>
-
<message>
Configuration action failed: com.ibm.ws.install.configmanager.actionengine.ConfigAction-/opt/ibm/WebSphere/ESB/profileTemplates/default/actions/generateKeysForSingleProfile.ant
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851821</millis>
<sequence>25754</sequence>
<logger>com.ibm.ws.install.configmanager.ConfigManager</logger>
<level>WARNING</level>
<class>com.ibm.ws.install.configmanager.ConfigManager</class>
<method>executeAllActionsFound</method>
<thread>1</thread>
-
<message>
Fatal configuration action failed: com.ibm.ws.install.configmanager.actionengine.ConfigAction-/opt/ibm/WebSphere/ESB/profileTemplates/default/actions/generateKeysForSingleProfile.ant
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851821</millis>
<sequence>25755</sequence>
<logger>com.ibm.ws.install.configmanager.ConfigManager</logger>
<level>SEVERE</level>
<class>com.ibm.ws.install.configmanager.ConfigManager</class>
<method>launch</method>
<thread>1</thread>
-
<message>
ConfigManager action execution failed on a fatal action
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851821</millis>
<sequence>25756</sequence>
<logger>com.ibm.ws.install.configmanager.ConfigManager</logger>
<level>INFO</level>
<class>com.ibm.ws.install.configmanager.ConfigManager</class>
<method>launch</method>
<thread>1</thread>
<message>Returning with return code: INSTCONFFAILED</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851822</millis>
<sequence>25757</sequence>
<logger>com.ibm.wsspi.profile.WSProfile</logger>
<level>SEVERE</level>
<class>com.ibm.wsspi.profile.WSProfile</class>
<method>doCreate</method>
<thread>1</thread>
-
<message>
Creation of profile ESB01 at path /opt/ibm/WebSphere/ESB/profiles/ESB01 failed.
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851822</millis>
<sequence>25758</sequence>
<logger>com.ibm.wsspi.profile.WSProfile</logger>
<level>INFO</level>
<class>com.ibm.wsspi.profile.WSProfile</class>
<method>doCreate</method>
<thread>1</thread>
<message>Unregistering profile ESB01</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851832</millis>
<sequence>25759</sequence>
<logger>com.ibm.wsspi.profile.registry.Profile</logger>
<level>INFO</level>
<class>com.ibm.wsspi.profile.registry.Profile</class>
<method>equals</method>
<thread>1</thread>
-
<message>
ESB01:/opt/ibm/WebSphere/ESB/profiles/ESB01:falsetrue and ESB01:/opt/ibm/WebSphere/ESB/profiles/ESB01:falsetrue are equal
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851833</millis>
<sequence>25760</sequence>
<logger>com.ibm.ws.profile.registry.FSProfileRegistry</logger>
<level>INFO</level>
<class>com.ibm.ws.profile.registry.FSProfileRegistry</class>
<method>getScriptPathForThisProfile</method>
<thread>1</thread>
-
<message>
The script path for this profile: ESB01:/opt/ibm/WebSphere/ESB/profiles/ESB01:falsetrue, is: /opt/ibm/WebSphere/ESB/properties/fsdb/ESB01.sh
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851833</millis>
<sequence>25761</sequence>
<logger>com.ibm.ws.profile.registry.FSProfileRegistry</logger>
<level>INFO</level>
<class>com.ibm.ws.profile.registry.FSProfileRegistry</class>
<method>deleteProfileFromRegistry</method>
<thread>1</thread>
-
<message>
Deleted profile: ESB01:/opt/ibm/WebSphere/ESB/profiles/ESB01:falsetrue from the FS DB
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851835</millis>
<sequence>25762</sequence>
<logger>com.ibm.wsspi.profile.WSProfile</logger>
<level>INFO</level>
<class>com.ibm.wsspi.profile.WSProfile</class>
<method>doCreate</method>
<thread>1</thread>
-
<message>
Resetting the system properties to remove custom properties
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851839</millis>
<sequence>25763</sequence>
-
<logger>
com.ibm.ws.profile.cli.WSProfileCLICreateProfileInvoker
</logger>
<level>SEVERE</level>
-
<class>
com.ibm.ws.profile.cli.WSProfileCLICreateProfileInvoker
</class>
<method>executeWSProfileAccordingToMode</method>
<thread>1</thread>
-
<message>
INSTCONFFAILED: The profile could not be created.  For more information, consult the /opt/ibm/WebSphere/ESB/logs/manageprofiles/ESB01_create.log file.
</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851839</millis>
<sequence>25764</sequence>
<logger>com.ibm.ws.profile.utils.WSProfileUtils</logger>
<level>INFO</level>
<class>com.ibm.ws.profile.utils.WSProfileUtils</class>
<method>executeAllJobs</method>
<thread>1</thread>
<message>Finished Execution: result:1</message>
</record>
-
<record>
<date>Feb 8, 2011 4:00:51 PM</date>
<millis>1297198851842</millis>
<sequence>25765</sequence>
<logger>com.ibm.wsspi.profile.WSProfileCLI</logger>
<level>INFO</level>
<class>com.ibm.wsspi.profile.WSProfileCLI</class>
<method>invokeWSProfile</method>
<thread>1</thread>
<message>Returning with return code: INSTCONFFAILED</message>
</record>
</log>

Open in new window


Any ideas ?
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Hi again,

did you also find this one?
http://www-01.ibm.com/support/docview.wss?uid=swg21376912

Looks interesting!

wmp
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Kerem ERSOY
Kerem ERSOY

Hi,

I guess you're trying to install over UBUNTU right?

The said procedure runs a shell script to perform the registration but it fails. The problem with UBUNTU is it links the default shell to /bin/dash not /bin/bash so please execute these commands and restart configuration:

sudo unlink /bin/sh
sudo ln -s /bin/bash /bin/sh


or use dpkg:

sudo dpkg-reconfigure dash
Avatar of Los Angeles1

ASKER

wmp:

The log you referred to says I have an unknown host exception, I am looking into that


KeremE:

I am not running on UBUNTU
Here is an interesting IBM document about UnknownHostException:
http://www-01.ibm.com/support/docview.wss?uid=swg21396856

It deals with z/OS only but if you "translate" it to Unix terms it seems to point in the direction of /etc/resolv/conf or maybe /etc/hosts, /etc/nsswitch.conf not being set up properly.
Ok would you please tell us what distro you're running if it is not classified :)) and can you please post the output of your:

ls -al /bin/sh

and

uname -a

and

/etc/hosts.conf

and make sure that your system  IP is not pointing to your localhost as it is common with some distros.

Cheers,
K.
Ooops sorry my bad. Your initial question clearly indicates that you're using RHEL 5.5.