ITPub博客

首页 > Linux操作系统 > Linux操作系统 > R12 rup3 做autocfg报错0RA-12705

R12 rup3 做autocfg报错0RA-12705

原创 Linux操作系统 作者:fhtt0606 时间:2019-03-10 21:15:04 0 删除 编辑

[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:

[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/install/PROD_oper
afdbprf.sh INSTE8_PRF 1

[APPLY PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /u01/oracle/PROD/db/tech_st/10.2.0/appsutil/install/PROD_oper
adcrobj.sh INSTE8_APPLY 1


按照clone要求做autocfg

  • Copy AutoConfig to the RDBMS ORACLE_HOME
    Update the RDBMS ORACLE_HOME file system with the AutoConfig files by performing the following steps:
    • On the application tier (as the APPLMGR user):
      • Log in to the APPL_TOP environment (source the environment file)
      • Create appsutil.zip file
        perl /bin/admkappsutil.pl
      • This will create appsutil.zip in /admin/out
    • On the database tier (as the ORACLE user):
      • Copy or FTP the appsutil.zip file to the
      • cd
      • unzip -o appsutil.zip

  • Run AutoConfig on the database tier

在database tier的时候报上面的错误,单独运行其中脚本又出现错误信息如下:

[oraprod@oper PROD_oper]$ ./afdbprf.sh

afdbprf.sh started at Tue Nov 6 18:50:59 CST 2007


The environment settings are as follows ...

ORACLE_HOME : /u01/oracle/PROD/db/tech_st/10.2.0
ORACLE_SID : PROD
PATH : /u01/oracle/PROD/db/tech_st/10.2.0/perl/bin:/u01/oracle/PROD/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/u01/oracle/PROD/db/tech_st/10.2.0/perl/bin:/u01/oracle/PROD/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oraprod/bin
Library Path : /u01/oracle/PROD/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/u01/oracle/PROD/db/tech_st/10.2.0/lib:/usr/dt/lib:/u01/oracle/PROD/db/tech_st/10.2.0/ctx/lib

Executable : /u01/oracle/PROD/db/tech_st/10.2.0/bin/sqlplus


Enter the APPS username: apps

Enter the APPS password:

SQL*Plus: Release 10.2.0.2.0 - Production on Tue Nov 6 18:51:03 2007

Copyright (c) 1982, 2005, Oracle. All Rights Reserved.

Enter value for 1: Enter value for 2: Enter value for 3: ERROR:
ORA-12705: Cannot access NLS data files or invalid environment specified


ERRORCODE = 1 ERRORCODE_END

根据错误信息,怀疑是环境变量中的NLS10有问题,登录也报127错误

[oraprod@oper ~]$ env|grep NLS10
ORA_NLS10=/u01/oracle/PROD/db/tech_st/10.2.0/ocommon/nls/admin/data

明显不对,没有ocommon这个目录不说,ORA_NLS10这个变量对应的位置应该是ORACLE_HOME/nls/data/9idata

修改环境变量,通过

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/594850/viewspace-577993/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2005-09-14

  • 博文量
    30
  • 访问量
    23457