- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to stop adpatch workers so they will restart a...
Operating System - HP-UX
1823914
Members
3278
Online
109667
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2003 04:47 AM
тАО11-14-2003 04:47 AM
Hello,
I am running adpatch on a large Oracle 11i patch (been a few days with interuptions). I want to stop all workers, shutdown the database, maybe reboot - to fix memory problems (like being out of it - see post with usdsop). Can I do this with adctrl option 3? My main concern is to restart the patch where it left off...
Thanks
I am running adpatch on a large Oracle 11i patch (been a few days with interuptions). I want to stop all workers, shutdown the database, maybe reboot - to fix memory problems (like being out of it - see post with usdsop). Can I do this with adctrl option 3? My main concern is to restart the patch where it left off...
Thanks
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2003 06:59 AM
тАО11-14-2003 06:59 AM
Solution
I suggest you review Metalink article 76535.1
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=76535.1
It discusses how to recover from failed patch attempts, including issues with workers dying.
....
You have decided to start all over and resubmit ADPATCH from the beginning, but you get the error that FND_INSTALL_PROCESSES already exits. How is FND_INSTALL_PROCESSES related and why does ADPATCH have a problem with it?
FND_INSTALL_PROCESSES is a table that is created by AUTOINSTALL, ADPATCH and ADADMIN utilities. Normally the above utilities will remove this table after they complete. This table might exist if you are running any of the above processes. So, if you are also applying another application patch at the same time, the table might exist for the other patch. AUTOINSTALL and ADPATCH should NEVER be run at the same time. Dropping the FND_INSTALL_PROCESSES table should only be done if you are NOT in the middle of running AUTOINSTALL, ADADMIN or applying another patch. In the case of AUTOINSTALL this table along with the restart files in the $APPL_TOP contains all of the inormation needed to restart AUTOINSTALL. Consider this scenario: You are running the install and you get instructions to obtain a patch (usually this would be an FND patch) and you attempt to use ADPATCH to install the patch. If you were to drop FND_INSTALL_PROCESSES at this point, you would have to start your install over. However, you could backup FND_INSTALL_PROCESSES and the restart files. Then run adpatch to install the patch. Then restore FND_INSTALL_PROCESSES and the restart files, and continue the installation. If you want to drop the table, you will need to login as the owner of the FND tables. Normally this is APPLSYS. Then type the following: drop table fnd_install_processes;
16. ADPATCH has failed and it indicated there was an error with a worker. What steps can be taken to investigate this problem?
When ADPATCH is using workers, it (ADPATCH) keeps track of what jobs the workers are doing with a table in the database called FND_INSTALL_PROCESSES. Look at the bottom of the log file associated with the worker that failed (i.e. adwork01.log or adwork02.log or adwork03.log) There is a utility ADCTRL that can be used to update FND_INSTALL_PROCESSES. This utility will allow you to reset a flag in FND_INSTALL_PROCESSES. This will allow ADPATCH to restart the failed step. ADCTRL has a menu with 7 options. Choose option one on the ADCTRL menu to review the worker status. Other workers will wait for the failed worker. Choose option two on the menu to fix the worker. Place in the worker number and hit return. Check the status of worker again using option one. The status should have changed to "fixed restart." Try restarting the patch again. (This assumes you have fixed the problem that caused the worker to fail, increased rollback segments, max extents, etc...)
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=76535.1
It discusses how to recover from failed patch attempts, including issues with workers dying.
....
You have decided to start all over and resubmit ADPATCH from the beginning, but you get the error that FND_INSTALL_PROCESSES already exits. How is FND_INSTALL_PROCESSES related and why does ADPATCH have a problem with it?
FND_INSTALL_PROCESSES is a table that is created by AUTOINSTALL, ADPATCH and ADADMIN utilities. Normally the above utilities will remove this table after they complete. This table might exist if you are running any of the above processes. So, if you are also applying another application patch at the same time, the table might exist for the other patch. AUTOINSTALL and ADPATCH should NEVER be run at the same time. Dropping the FND_INSTALL_PROCESSES table should only be done if you are NOT in the middle of running AUTOINSTALL, ADADMIN or applying another patch. In the case of AUTOINSTALL this table along with the restart files in the $APPL_TOP contains all of the inormation needed to restart AUTOINSTALL. Consider this scenario: You are running the install and you get instructions to obtain a patch (usually this would be an FND patch) and you attempt to use ADPATCH to install the patch. If you were to drop FND_INSTALL_PROCESSES at this point, you would have to start your install over. However, you could backup FND_INSTALL_PROCESSES and the restart files. Then run adpatch to install the patch. Then restore FND_INSTALL_PROCESSES and the restart files, and continue the installation. If you want to drop the table, you will need to login as the owner of the FND tables. Normally this is APPLSYS. Then type the following: drop table fnd_install_processes;
16. ADPATCH has failed and it indicated there was an error with a worker. What steps can be taken to investigate this problem?
When ADPATCH is using workers, it (ADPATCH) keeps track of what jobs the workers are doing with a table in the database called FND_INSTALL_PROCESSES. Look at the bottom of the log file associated with the worker that failed (i.e. adwork01.log or adwork02.log or adwork03.log) There is a utility ADCTRL that can be used to update FND_INSTALL_PROCESSES. This utility will allow you to reset a flag in FND_INSTALL_PROCESSES. This will allow ADPATCH to restart the failed step. ADCTRL has a menu with 7 options. Choose option one on the ADCTRL menu to review the worker status. Other workers will wait for the failed worker. Choose option two on the menu to fix the worker. Place in the worker number and hit return. Check the status of worker again using option one. The status should have changed to "fixed restart." Try restarting the patch again. (This assumes you have fixed the problem that caused the worker to fail, increased rollback segments, max extents, etc...)
Remember, wherever you go, there you are...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2003 04:01 PM
тАО11-14-2003 04:01 PM
Re: how to stop adpatch workers so they will restart again?
Your approach is right. If a patch has failed, adpatch automatically checks and it prompts you with "restart from previous session". Choose Yes to proceed. Otherwise drop fnd_install_processes and re-apply the entire patch.
-Madhu
-Madhu
Think Positive
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP