Skip to main content

Hi All,

 

We are trying to change the MWS password in IFS8 and getting the below error. Is it a bug in the script? It is trying to run sh command on Windows machine.

 

E:\IFSHome\instance\<ENVNAME>\bin>change_mws_password.cmd

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

This will change your current IFS Middleware Server password. It is highly recom
mended to perform a backup before continuing.
Do you wish to proceed? (Y/N NN])Y
Please enter the old password:
Please enter the new password:
Please re-enter the new password:
Problem invoking WLST - Traceback (innermost last):
  File "E:\IFSHome\instance\<ENVNAME>\bin\change_mws_password.py", line 65, in ?
  File "E:\IFSHome\mw_home\as\wlserver\common\wlst\modules\jython-modules.jar\Li
b/javaos$py.class", line 334, in system
  File "E:\IFSHome\mw_home\as\wlserver\common\wlst\modules\jython-modules.jar\Li
b/popen2.py", line 235, in system
  File "E:\IFSHome\mw_home\as\wlserver\common\wlst\modules\jython-modules.jar\Li
b/popen2.py", line 72, in __init__
  File "E:\IFSHome\mw_home\as\wlserver\common\wlst\modules\jython-modules.jar\Li
b/javashell.py", line 64, in execute
OSError: (0, 'Failed to execute command (m\'sh\', \'-c\', \'start_as_nodemanager
.cmd\']): java.io.IOException: Cannot run program "sh": CreateProcess error=2, T
he system cannot find the file specified')

 

Press any key to continue . . .

Be the first to reply!

Reply