Wednesday, April 30, 2014

Error:
Autoconfig could not process the following files:
    Directory: /u01/app/oracle/inst/apps/SVRPRD_svrprdebsal1/ora/10.1.3/Apache/Apache/bin
      .apachectl              BINCPY
      .apachectl              BINCPY

AutoConfig is exiting with status 2

(Or)

AC-00429: Binary copy failed for source file: .../apps/tech_st/10.1.3/Apache/Apache/bin/.apachectl
to destination file: .../ora/10.1.3/Apache/Apache/bin/.apachectl

Raised by oracle.apps.ad.autoconfig.InstantiateProcess
setting permissions: .../ora/10.1.3/Apache/Apache/bin/.apachectl 700

AC-00425: Setting permissions failed for file: .../ora/10.1.3/Apache/Apache/bin/.apachectl

Raised by oracle.apps.ad.autoconfig.InstantiateProcess...

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