AutoConfig is exiting with status 2
Error:
RC-50014: Fatal: Execution of AutoConfig was failed
Raised by oracle.apps.ad.clone.ApplyApplTop
ERROR: AutoConfig completed with errors. Check logfile at /uatapp1/UAT/inst/apps/UAT_acopprka001/admin/log/ApplyAppsTier_12220745.log for details.
ApplyApplTop Completed Successfully.
# Checking the status of AutoConfig run of ApplyApplTop
Warning : AutoConfig has completed with errors .
Please review the AutoConfig section in the logfile. If required, you can re-run AutoConfig from command line after fixing the problem
[kxk129@acopprka001 ~]$ tail -20f /uatapp1/UAT/inst/apps/UAT_acopprka001/admin/log/ApplyAppsTier_12220745.log
The report format is:
<filename> <phase> <return code where appropriate>
[BINCPY PHASE]
Autoconfig could not process the following files:
Directory: /uatapp1/UAT/inst/apps/UAT_acopprka001/ora/10.1.3/Apache/Apache/bin
.apachectl BINCPY
.apachectl BINCPY
AutoConfig is exiting with status 2
RC-50014: Fatal: Execution of AutoConfig was failed
Raised by oracle.apps.ad.clone.ApplyApplTop
ERROR: AutoConfig completed with errors. Check logfile at /uatapp1/UAT/inst/apps/UAT_acopprka001/admin/log/ApplyAppsTier_12220745.log for details.
ApplyApplTop Completed Successfully.
# Checking the status of AutoConfig run of ApplyApplTop
Warning : AutoConfig has completed with errors .
Please review the AutoConfig section in the logfile. If required, you can re-run AutoConfig from command line after fixing the problem
Solution:
The workaround for this is simply to change the permissions on .apachectl, run AutoConfig, and then put them back:
1. As applmgr, stop the web tier services (adopmnctl.sh stop).
2. Switch to the root user (su root)
3. Run the following commands (assumes applmgr environment and that "applmgr" is your actual applmgr user name):
a. ls -l $ORA_CONFIG_HOME/10.1.3/Apache/Apache/bin/.apachectl
b. chown applmgr $ORA_CONFIG_HOME/10.1.3/Apache/Apache/bin/.apachectl
c. chmod 0700 $ORA_CONFIG_HOME/10.1.3/Apache/Apache/bin/.apachectl
d. ls -l $ORA_CONFIG_HOME/10.1.3/Apache/Apache/bin/.apachectl
4. Switch back to the applmgr user (exit)
5. Run AutoConfig
6. Reverse step 3 so that the result looks like step 3a:
a. su root
b. chown root .apachectl
c. chmod 6750 .apachectl
d. exit
No comments:
Post a Comment