Monday, April 10, 2017

UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed. Weblogic server patch installation error

Weblogic Server patch installation error


UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.


Solution --->
If you get this error . Check the log file mentioned below error message.
It will have following note at the start after initial checks.


 Following files are active :


So basically your weblogic is being used by any PIA or some Java processes. Make sure to stop all weblogic services and process and try installation again.


If that still fails, you will have to use some OS tools to find out which process is holding onto the files that are listed.
              
For more details -> Oracle Doc ID 1488501.1

Thursday, April 6, 2017

Issue in Tuxedo rolling patch installation - Error! An existing Rolling Patch of the Tuxedo RP software has been detected ...

Issue in Tuxedo rolling patch installation - Error! An existing Rolling Patch of the Tuxedo RP software has been detected ...


There are some cases when you uninstall older version of rolling patch and install new rolling patch but installation don't complete as expected. In that scenario if you attempt to install same new version again it gives following message.





Follow these steps to clean your existing version rolling patch information before attempting new version installation. Based on my experience there 3 ways to fix this but mostly Ist worked most of the time.

I. Removing rolling patch with administrator rights.
1. Shutdown application server and process scheduler server. Stop and make sure to set the TLISTEN and ORACLE MGR services to manual.
2. Search in Windows Programs for Uninstall Tuxedo RP and Run as administrator. Once un-installed all you need to refresh and run the new Rolling patch as usual.


II.
1. Windows Run type regedit and navigate to HK_LOCAL_MACHINE -> Software -> ORACLE -> TUXEDO v12.1.1 XXX . If you see patch nested to this then delete it. Refresh the registry.
2. Clean your temp directory %TEMP%
3. Make sure to set the TLISTEN and ORACLE MGR services to manual
4. Make sure %PATH% variable do not have any other ORACLE Tuxedo version present. If yes then remove it. ECHO %TUXDIR% to make sure correct tuxedo home. Delete RP_Uninstaller folder from tuxedo home.
5. Try re-installing patch using administrator rights.
6. If nothing works then uninstall entire Tuxedo and re-install fresh tuxedo and tuxedo patch immediately.

III.
Alternate way or when you plan to uninstall tuxedo patch.
1. Shutdown application server and process scheduler server. Stop and make sure to set the TLISTEN and ORACLE MGR services to manual.
2. Navigate to Tuxedo home and look for RP_Uninstaller folder. Inside there would be executable file to uninstall patch. Run it as admin. If we already had issue then copy this folder from another similar patch(Rolling patch version which is failed) windows server and run as admin to uninstall it.
3. Make sure it uninstalls successfully. The uninstall wizard deletes RP_Uninstall folder as well.
4. Install new patch executing as admin.
run following command to check tuxedo version
tmadmin -v

Steps to uninstall Tuxedo rolling patch in Windows Server

Steps to uninstall Oracle Tuxedo rolling patch in Windows Server


If you try to install Oracle Tuxedo Rolling patch on existing patch it will prompt message to de-install existing patch first. Follow these steps to uninstall existing tuxedo rolling patch.


1. Tuxedo patches usually includes existing patch code fixes as well.
Goto All Programs -> Choose the Tuxedeo Version and then the “Uninstall” option


OR


Goto All Programs -> Control Panel -> Uninstall Program and look for Tuxedo RP patch installation. Select it and click Change/Uninstall button.










Once uninstall check version of tuxedo. Make sure %TUXDIR% is set before running following command. And %PATH% variable has %TUXDIR%/bin added.
> tmadmin -v