Error while running the autoconfig on the apps Node

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


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
  • June 12, 2016 | 15 views
  • Comments