Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

rafw action was_60_install_rp2 fails

$ ./rafw.sh -e STAGEUAT -c stg_cell -node was_node02 -t was_60_install_rp2
Rational Automation Framework for WebSphere version 7.1.1.4 build 20101117-1831
Connected to 'brm-xyz-was-5.brocade.com'
Creating list of files already on the target system
Relative Path: product/lib/jython/wsadmin_lib
Relative Path:
put: logging.properties
Info: 1 files already on the target system were updated.
The files did not have file permissions changed.
No files or directories to transfer from /web/buildforge/rafw/user
No files or directories to transfer from /web/buildforge/rafw/user/environments/STAGEUAT/cells/stg_cell

Apache Ant version 1.7.0 compiled on December 13 2006

Buildfile: /web/buildforge/rafw/user/environments/STAGEUAT/cells/stg_cell/nodes/was_node02/build.xml

default:
Check /web/buildforge/rafw/logs/STAGEUAT/cells/stg_cell/nodes/was_node02/was_60_install_rp2.log if there are any errors

only_execute:

was_60_install_rp2:

only_execute:

prepare_shell:

decode_password:

was_60_install_patch_was:

decode_password:

was_common_configure_stop_all_app_servers_on_node:
stopServer command not found, are you sure WebSphere AppServer is installed
and a profile has been created?
Running ./update to ensure java is available
Result: 1

report_error_log:

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /web/buildforge/rafw/logs/STAGEUAT/cells/stg_cell/nodes/was_node02 ownership will not be modified.

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /web/buildforge/rafw/logs/STAGEUAT/cells/stg_cell/nodes/was_node02 ownership will not be modified.

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /web/buildforge/rafw/work/STAGEUAT/cells/stg_cell/nodes/was_node02 ownership will not be modified.
Computing list of files to transfer back to the framework server

BUILD FAILED
/web/buildforge/rafw/product/lib/RAFW_lib.xml:167: The following error occurred while executing this line:
/web/buildforge/rafw/product/actions/install/was/60/install_was60.xml:144: The following error occurred while executing this line:
/web/buildforge/rafw/product/actions/install/was/60/install_was60.xml:546: Patch failed: ./update returned error code: 1

Total time: 7 seconds
Relative Path: logs/STAGEUAT/cells/stg_cell/nodes/was_node02
get: was_60_install_rp2.log

0 votes



3 answers

Permanent link
Is there any additional info on why update failed in this file: /web/buildforge/rafw/logs/STAGEUAT/cells/stg_cell/nodes/was_node02/was_60_install_rp2.log?
Also, you can run the same action in preview mode, by adding the -z flag to the end:

./rafw.sh -e STAGEUAT -c stg_cell -node was_node02 -t was_60_install_rp2 -z
This will print out the commands RAFW is going to execute, it's often helpful to see the command and even run it manually to determine why the WAS update utility is failing.

--tim

$ ./rafw.sh -e STAGEUAT -c stg_cell -node was_node02 -t was_60_install_rp2
Rational Automation Framework for WebSphere version 7.1.1.4 build 20101117-1831
Connected to 'brm-xyz-was-5.brocade.com'
Creating list of files already on the target system
Relative Path: product/lib/jython/wsadmin_lib
Relative Path:
put: logging.properties
Info: 1 files already on the target system were updated.
The files did not have file permissions changed.
No files or directories to transfer from /web/buildforge/rafw/user
No files or directories to transfer from /web/buildforge/rafw/user/environments/STAGEUAT/cells/stg_cell

Apache Ant version 1.7.0 compiled on December 13 2006

Buildfile: /web/buildforge/rafw/user/environments/STAGEUAT/cells/stg_cell/nodes/was_node02/build.xml

default:
Check /web/buildforge/rafw/logs/STAGEUAT/cells/stg_cell/nodes/was_node02/was_60_install_rp2.log if there are any errors

only_execute:

was_60_install_rp2:

only_execute:

prepare_shell:

decode_password:

was_60_install_patch_was:

decode_password:

was_common_configure_stop_all_app_servers_on_node:
stopServer command not found, are you sure WebSphere AppServer is installed
and a profile has been created?
Running ./update to ensure java is available
Result: 1

report_error_log:

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /web/buildforge/rafw/logs/STAGEUAT/cells/stg_cell/nodes/was_node02 ownership will not be modified.

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /web/buildforge/rafw/logs/STAGEUAT/cells/stg_cell/nodes/was_node02 ownership will not be modified.

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /web/buildforge/rafw/work/STAGEUAT/cells/stg_cell/nodes/was_node02 ownership will not be modified.
Computing list of files to transfer back to the framework server

BUILD FAILED
/web/buildforge/rafw/product/lib/RAFW_lib.xml:167: The following error occurred while executing this line:
/web/buildforge/rafw/product/actions/install/was/60/install_was60.xml:144: The following error occurred while executing this line:
/web/buildforge/rafw/product/actions/install/was/60/install_was60.xml:546: Patch failed: ./update returned error code: 1

Total time: 7 seconds
Relative Path: logs/STAGEUAT/cells/stg_cell/nodes/was_node02
get: was_60_install_rp2.log

0 votes


Permanent link
Here is the command execution is preview mode:

$ ./rafw.sh -e STAGEUAT -c stg_cell -node wp_node02 -t was_60_install_rp2 -z
Rational Automation Framework for WebSphere version 7.1.1.4 build 20101117-1831
Connected to 'brm-uu-portal-5.brocade.com'
Creating list of files already on the target system
Relative Path: product/lib/jython/wsadmin_lib
No files or directories to transfer from /web/buildforge/rafw
No files or directories to transfer from /web/buildforge/rafw/user
No files or directories to transfer from /web/buildforge/rafw/user/environments/STAGEUAT/cells/stg_cell

Apache Ant version 1.7.0 compiled on December 13 2006

Buildfile: /web/buildforge/rafw/user/environments/STAGEUAT/cells/stg_cell/nodes/wp_node02/build.xml

default:
Beginning was_60_install_rp2 in trace only mode.
Check /web/buildforge/rafw/logs/STAGEUAT/cells/stg_cell/nodes/wp_node02/was_60_install_rp2.log if there are any errors

only_execute:

was_60_install_rp2:

only_execute:

prepare_shell:

decode_password:
--- Password State ---
WAS_PASSWORD: *****
WP_PASSWORD: *****
Supply -opt showPassword=true to show and troubleshoot password values

was_60_install_patch_was:

decode_password:
--- Password State ---
WAS_PASSWORD: *****
WP_PASSWORD: *****
Supply -opt showPassword=true to show and troubleshoot password values

was_common_configure_stop_all_app_servers_on_node:
Stopping all potential servers on this node.
Note: This action may attempt to stop servers which have not yet been created
or do not exist anymore. This is expected behavior and is used to ensure
that all servers are stopped prior to continuing.
Attempting to stop server: wp02

prepare_shell:

execute:
Working Dir: .
/web/IBM/WebSphere/AppServer/profiles/wp_profile02/bin/stopServer.sh wp02 -username wasadmin -password *****
Attempting to stop server: server1

prepare_shell:

execute:
Working Dir: .
/web/IBM/WebSphere/AppServer/profiles/wp_profile02/bin/stopServer.sh server1 -username wasadmin -password *****
Attempting to stop server: WebSphere_Portal

prepare_shell:

execute:
Working Dir: .
/web/IBM/WebSphere/AppServer/profiles/wp_profile02/bin/stopServer.sh WebSphere_Portal -username wasadmin -password *****
/proj/media/rafw-media/linux/X32/was/60/patches/was60_rp2/updateinstaller/update
-W maintenance.package=/proj/media/rafw-media/linux/X32/was/60/patches/was60_rp2/updateinstaller/maintenance/6.0-WS-WAS-LinuxX32-RP0000002.pak
-W product.location=/web/IBM/WebSphere/AppServer
-W update.type=install
-W relaunch.active=false
-is:javahome /web/IBM/WebSphere/AppServer/java
-silent

/proj/media/rafw-media/linux/X32/was/60/patches/was60_rp2/updateinstaller/update
-W maintenance.package=/proj/media/rafw-media/linux/X32/was/60/patches/was60_rp2/updateinstaller/maintenance/6.0-WS-WAS-LinuxX32-RP0000002.pak
-W product.location=/web/IBM/WebSphere/AppServer
-W update.type=install
-silent
Finished was_60_install_rp2 in trace only mode.

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /web/buildforge/rafw/logs/STAGEUAT/cells/stg_cell/nodes/wp_node02 ownership will not be modified.

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /web/buildforge/rafw/work/STAGEUAT/cells/stg_cell/nodes/wp_node02 ownership will not be modified.
Computing list of files to transfer back to the framework server

BUILD SUCCESSFUL
Total time: 3 seconds
Relative Path: logs/STAGEUAT/cells/stg_cell/nodes/wp_node02
get: was_60_install_rp2.log













only_execute:

was_60_install_rp2:

only_execute:

prepare_shell:

decode_password:

was_60_install_patch_was:

decode_password:

was_common_configure_stop_all_app_servers_on_node:
stopServer command not found, are you sure WebSphere AppServer is installed
and a profile has been created?
Running ./update to ensure java is available
Result: 1

report_error_log:

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /web/buildforge/rafw/logs/STAGEUAT/cells/stg_cell/nodes/was_node02 ownership will not be modified.

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /web/buildforge/rafw/logs/STAGEUAT/cells/stg_cell/nodes/was_node02 ownership will not be modified.

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /web/buildforge/rafw/work/STAGEUAT/cells/stg_cell/nodes/was_node02 ownership will not be modified.
Computing list of files to transfer back to the framework server

BUILD FAILED
/web/buildforge/rafw/product/lib/RAFW_lib.xml:167: The following error occurred while executing this line:
/web/buildforge/rafw/product/actions/install/was/60/install_was60.xml:144: The following error occurred while executing this line:
/web/buildforge/rafw/product/actions/install/was/60/install_was60.xml:546: Patch failed: ./update returned error code: 1

Total time: 7 seconds
Relative Path: logs/STAGEUAT/cells/stg_cell/nodes/was_node02
get: was_60_install_rp2.log

0 votes


Permanent link
Here is the command execution is preview mode:


Hi Timothy,

The issue is fixed. The problem was the rafw-media mount where it gets the media from is remounted recently during which the owner(permissions) changed to the directories under the mount. which is the reason why rafw cannot find the resourcepack 6.0.2.
Changing the permissions helped in fixing the issue.

But the error message rafw is throwing after this failure doesnt explain anything..
Thanks for looking into the this.

Regards,
Rajesh
_cell

Apache Ant version 1.7.0 compiled on December 13 2006

Buildfile: /web/buildforge/rafw/user/environments/STAGEUAT/cells/stg_cell/nodes/wp_node02/build.xml

default:
Beginning was_60_install_rp2 in trace only mode.
Check /web/buildforge/rafw/logs/STAGEUAT/cells/stg_cell/nodes/wp_node02/was_60_install_rp2.log if there are any errors

only_execute:

was_60_install_rp2:

only_execute:

prepare_shell:

decode_password:
--- Password State ---
WAS_PASSWORD: *****
WP_PASSWORD: *****
Supply -opt showPassword=true to show and troubleshoot password values

was_60_install_patch_was:

decode_password:
--- Password State ---
WAS_PASSWORD: *****
WP_PASSWORD: *****
Supply -opt showPassword=true to show and troubleshoot password values

was_common_configure_stop_all_app_servers_on_node:
Stopping all potential servers on this node.
Note: This action may attempt to stop servers which have not yet been created
or do not exist anymore. This is expected behavior and is used to ensure
that all servers are stopped prior to continuing.
Attempting to stop server: wp02

prepare_shell:

execute:
Working Dir: .
/web/IBM/WebSphere/AppServer/profiles/wp_profile02/bin/stopServer.sh wp02 -username wasadmin -password *****
Attempting to stop server: server1

prepare_shell:

execute:
Working Dir: .
/web/IBM/WebSphere/AppServer/profiles/wp_profile02/bin/stopServer.sh server1 -username wasadmin -password *****
Attempting to stop server: WebSphere_Portal

prepare_shell:

execute:
Working Dir: .
/web/IBM/WebSphere/AppServer/profiles/wp_profile02/bin/stopServer.sh WebSphere_Portal -username wasadmin -password *****
/proj/media/rafw-media/linux/X32/was/60/patches/was60_rp2/updateinstaller/update
-W maintenance.package=/proj/media/rafw-media/linux/X32/was/60/patches/was60_rp2/updateinstaller/maintenance/6.0-WS-WAS-LinuxX32-RP0000002.pak
-W product.location=/web/IBM/WebSphere/AppServer
-W update.type=install
-W relaunch.active=false
-is:javahome /web/IBM/WebSphere/AppServer/java
-silent

/proj/media/rafw-media/linux/X32/was/60/patches/was60_rp2/updateinstaller/update
-W maintenance.package=/proj/media/rafw-media/linux/X32/was/60/patches/was60_rp2/updateinstaller/maintenance/6.0-WS-WAS-LinuxX32-RP0000002.pak
-W product.location=/web/IBM/WebSphere/AppServer
-W update.type=install
-silent
Finished was_60_install_rp2 in trace only mode.

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /web/buildforge/rafw/logs/STAGEUAT/cells/stg_cell/nodes/wp_node02 ownership will not be modified.

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /web/buildforge/rafw/work/STAGEUAT/cells/stg_cell/nodes/wp_node02 ownership will not be modified.
Computing list of files to transfer back to the framework server

BUILD SUCCESSFUL
Total time: 3 seconds
Relative Path: logs/STAGEUAT/cells/stg_cell/nodes/wp_node02
get: was_60_install_rp2.log













only_execute:

was_60_install_rp2:

only_execute:

prepare_shell:

decode_password:

was_60_install_patch_was:

decode_password:

was_common_configure_stop_all_app_servers_on_node:
stopServer command not found, are you sure WebSphere AppServer is installed
and a profile has been created?
Running ./update to ensure java is available
Result: 1

report_error_log:

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /web/buildforge/rafw/logs/STAGEUAT/cells/stg_cell/nodes/was_node02 ownership will not be modified.

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /web/buildforge/rafw/logs/STAGEUAT/cells/stg_cell/nodes/was_node02 ownership will not be modified.

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /web/buildforge/rafw/work/STAGEUAT/cells/stg_cell/nodes/was_node02 ownership will not be modified.
Computing list of files to transfer back to the framework server

BUILD FAILED
/web/buildforge/rafw/product/lib/RAFW_lib.xml:167: The following error occurred while executing this line:
/web/buildforge/rafw/product/actions/install/was/60/install_was60.xml:144: The following error occurred while executing this line:
/web/buildforge/rafw/product/actions/install/was/60/install_was60.xml:546: Patch failed: ./update returned error code: 1

Total time: 7 seconds
Relative Path: logs/STAGEUAT/cells/stg_cell/nodes/was_node02
get: was_60_install_rp2.log

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 10 '11, 2:25 a.m.

Question was seen: 4,700 times

Last updated: Aug 10 '11, 2:25 a.m.

Confirmation Cancel Confirm