adautocfg.sh with error ORA-27092: size of file exceeds file size limit of the process

$ adautocfg.sh
Enter the APPS user password:
The log file for this session is located at: /home/gasdb/AMGAS/tech_st/11.2.0/appsutil/log/PROD_app5_2/11071037/adconfig.log

AutoConfig is configuring the Database environment...

AutoConfig will consider the custom templates if present.
        Using ORACLE_HOME location : /home/gasdb/AMGAS/tech_st/11.2.0
        Classpath                   : :/home/gasdb/AMGAS/tech_st/11.2.0/jdbc/lib/ojdbc5.jar:/home/gasdb/AMGAS/tech_st/11.2.0/appsutil/java/xmlparserv2.jar:/home/gasdb/AMGAS/tech_st/11.2.0/appsutil/java:/home/gasdb/AMGAS/tech_st/11.2.0/jlib/netcfg.jar:/home/gasdb/AMGAS/tech_st/11.2.0/jlib/ldapjclnt11.jar

        Using Context file          : /home/gasdb/AMGAS/tech_st/11.2.0/appsutil/PROD_app5_2.xml

Context Value Management will now update the Context file

        Updating Context file...COMPLETED

        Attempting upload of Context file and templates to database...COMPLETED

Updating rdbms version in Context file to db112
Updating rdbms type in Context file to 64 bits
Configuring templates from ORACLE_HOME ...

AutoConfig completed with errors.
详细报错信息如下:

2018-11-06 17:37:33.607000 +08:00
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
Errors in file /home/gasdb/AMGAS/db/tech_st/11.2.0/admin/PROD_app5/diag/rdbms/prod/PROD/trace/PROD_m000_20447930.trc:
ORA-00600: internal error code, arguments: [kcidr_io_check_common_6], [10], [/home/gasdb/AMGAS/db/apps_st/data/system01.dbf], [8192], [2], [1], [], [], [], [], [], []
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 262145
ORA-01122: database file 1 failed verification check
ORA-01110: data file 1: '/home/gasdb/AMGAS/db/apps_st/data/system01.dbf'
ORA-01565: error in identifying file '/home/gasdb/AMGAS/db/apps_st/data/system01.dbf'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 262145
Checker run found 1 new persistent data failures
Dumping diagnostic data in directory=[cdmp_20181106173734], requested by (instance=1, osid=20447930 (M000)), summary=[incident=51402].


Enter value for 1: Enter value for 2: Enter value for 3: Connected.
begin
*
ERROR at line 1:
ORA-01116: error in opening database file 1
ORA-01110: data file 1: '/home/gasdb/AMGAS/db/apps_st/data/system01.dbf'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 262145
ORA-06512: at line 2


Enter value for 1: Enter value for 2: Enter value for 3: ERROR:
ORA-01116: error in opening database file 1
ORA-01110: data file 1: '/home/gasdb/AMGAS/apps_st/data/system01.dbf'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 262145


ERRORCODE = 1 ERRORCODE_END
.end std out.

.end err out.
****************************************************


File /home/gasdb/AMGAS/tech_st/11.2.0/appsutil/install/PROD_app5_2/txkConfigDbOcm.pl not instantiated in the current pass, this file will not be executed

Executing script in InstantiateFile:
/home/gasdb/AMGAS/tech_st/11.2.0/appsutil/install/PROD_app5_2/addbperms.sh
script returned:
****************************************************

addbperms.sh started at Wed Nov  7 10:20:55 CST 2018


The environment settings are as follows ...

       ORACLE_HOME : /home/gasdb/AMGAS/tech_st/11.2.0
        ORACLE_SID : PROD
          TWO_TASK : 
              PATH : /home/gasdb/AMGAS/tech_st/11.2.0/perl/bin:/home/gasdb/AMGAS/tech_st/11.2.0/bin:/usr/ccs/bin:/usr/sbin:/home/gasdb/AMGAS/tech_st/11.2.0/jdk/jre/bin:/usr/bin:/etc:/usr/lbin:/usr/bin/X11:/usr/local/bin:/home/gasdb/AMGAS/tech_st/11.2.0/perl/bin:/home/gasdb/AMGAS/tech_st/11.2.0/perl/bin:/home/gasdb/AMGAS/tech_st/11.2.0/bin:/usr/ccs/bin:/usr/sbin:/home/gasdb/AMGAS/tech_st/11.2.0/jdk/jre/bin:/usr/bin:/etc:/usr/lbin:/usr/bin/X11:/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/gasdb/oragas/bin:/usr/bin/X11:/sbin:.:.:.
      Library Path : /home/gasdb/AMGAS/tech_st/11.2.0/lib:/usr/dt/lib:/usr/openwin/lib:/home/gasdb/AMGAS/tech_st/11.2.0/ctx/lib

SQLPLUS Executable : /home/gasdb/AMGAS/tech_st/11.2.0/bin/sqlplus

        Changing permissions for file sqlplus.
        Changing permissions for file extproc.
        Changing permissions for file tkprof.

addbperms.sh exiting with status 0

.end std out.

.end err out.
****************************************************


Executing script in InstantiateFile:
/home/gasdb/AMGAS/tech_st/11.2.0/appsutil/install/PROD_app5_2/adcrobj.sh
script returned:
****************************************************

adcrobj.sh started at Wed Nov  7 10:20:55 CST 2018

Parameters passed are : -nopromptmsg

The environment settings are as follows ...

       ORACLE_HOME : /home/gasdb/AMGAS/tech_st/11.2.0
        ORACLE_SID : PROD
          TWO_TASK : 
              PATH : /home/gasdb/AMGAS/tech_st/11.2.0/perl/bin:/home/gasdb/AMGAS/tech_st/11.2.0/bin:/usr/ccs/bin:/usr/sbin:/home/gasdb/AMGAS/tech_st/11.2.0/jdk/jre/bin:/usr/bin:/etc:/usr/lbin:/usr/bin/X11:/usr/local/bin:/home/gasdb/AMGAS/tech_st/11.2.0/perl/bin:/home/gasdb/AMGAS/tech_st/11.2.0/perl/bin:/home/gasdb/AMGAS/tech_st/11.2.0/bin:/usr/ccs/bin:/usr/sbin:/home/gasdb/AMGAS/tech_st/11.2.0/jdk/jre/bin:/usr/bin:/etc:/usr/lbin:/usr/bin/X11:/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/gasdb/oragas/bin:/usr/bin/X11:/sbin:.:.:.
      Library Path : /home/gasdb/AMGAS/tech_st/11.2.0/lib:/usr/dt/lib:/usr/openwin/lib:/home/gasdb/AMGAS/tech_st/11.2.0/ctx/lib

SQLPLUS Executable : /home/gasdb/AMGAS/tech_st/11.2.0/bin/sqlplus


SQL*Plus: Release 11.2.0.4.0 Production on Wed Nov 7 10:20:55 2018

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

Enter value for 1: Enter value for 2: Enter value for 3: ERROR:
ORA-01116: error in opening database file 1
ORA-01110: data file 1: '/home/gasdb/AMGAS/apps_st/data/system01.dbf'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 262145

 

查看alert日志发现:

ORA-01116: error in opening database file 1
ORA-01110: data file 1: '/home/gasdb/AMGAS/apps_st/data/system01.dbf'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 262145

错误信息相同,因此由错误信息得知,系统参数limits设置小了,因此设置:

ulimit -n unlimited
ulimit -m unlimited
ulimit -d unlimited
ulimit -f unlimited
ulimit -Hd unlimited
ulimit -Hs unlimited
ulimit -Hf unlimited

然后重新生成contextfile文件
$ ./adbldxml.pl

Starting context file generation for db tier..
Using JVM from /home/gasdb/AMGAS/tech_st/11.2.0/jdk/jre/bin/java to execute java programs..
APPS Password: apps1234

The log file for this adbldxml session is located at:
/home/gasdb/AMGAS/tech_st/11.2.0/appsutil/log/adbldxml_11071035.log

Could not Connect to the Database : ORA-00604: error occurred at recursive SQL level 2
ORA-01116: error in opening database file 1
ORA-01110: data file 1: '/home/gasdb/AMGAS/apps_st/data/system01.dbf'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 262145
ORA-00604: error occurred at recursive SQL level 2
ORA-01116: error in opening database file 2
ORA-01110: data file 2: '/home/gasdb/AMGAS/apps_st/data/system02.dbf'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 262145

 Connecting to the PROD database instance...

Connection paramaters values: 
     Database server hostname     ==>  APP5_2.ZJRCU.COM
     Database listener port       ==>  1562
     Database SID                 ==>  PROD
     Database schema name         ==>  apps

Could not Connect to the Database : ORA-00604: error occurred at recursive SQL level 2
ORA-01116: error in opening database file 1
ORA-01110: data file 1: '/home/gasdb/AMGAS/apps_st/data/system01.dbf'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 262145
ORA-00604: error occurred at recursive SQL level 2
ORA-01116: error in opening database file 2
ORA-01110: data file 2: '/home/gasdb/AMGAS/apps_st/data/system02.dbf'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 262145


AC-40000: Error: Exception - java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 2
ORA-01116: error in opening database file 1
ORA-01110: data file 1: '/home/gasdb/AMGAS/apps_st/data/system01.dbf'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 262145
ORA-00604: error occurred at recursive SQL level 2
ORA-01116: error in opening database file 2
ORA-01110: data file 2: '/home/gasdb/AMGAS/apps_st/data/system02.dbf'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 262145
 occurred while connecting to the database - PROD

Could not Connect to the Database with the above parameters, Please answer the Questions below


Enter Hostname of Database server[APP5_2.ZJRCU.COM]:$ 

 

同样还是报错,得知不能正常连接数据库,因此做如下验证:

$ sqlplus apps/apps1234@PROD

SQL*Plus: Release 11.2.0.4.0 Production on Wed Nov 7 10:35:55 2018

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

ERROR:
ORA-00604: error occurred at recursive SQL level 2
ORA-01116: error in opening database file 1
ORA-01110: data file 1: '/home/gasdb/AMGAS/apps_st/data/system01.dbf'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 262145
ORA-00604: error occurred at recursive SQL level 2
ORA-01116: error in opening database file 2
ORA-01110: data file 2: '/home/gasdb/AMGAS/apps_st/data/system02.dbf'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 262145


Enter user-name:  
$ sqlplus apps/apps1234

SQL*Plus: Release 11.2.0.4.0 Production on Wed Nov 7 10:36:05 2018

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> exit

验证发现参数设置之后,监听没有重启,因此重启:

lsnrctl stop PROD

LSNRCTL for IBM/AIX RISC System/6000: Version 11.2.0.4.0 - Production on 07-NOV-2018 10:36:15

Copyright (c) 1991, 2017, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=app5_2.zjrcu.com)(PORT=1562)))
The command completed successfully
$ lsnrctl start PROD

LSNRCTL for IBM/AIX RISC System/6000: Version 11.2.0.4.0 - Production on 07-NOV-2018 10:36:18

Copyright (c) 1991, 2017, Oracle.  All rights reserved.

Starting /home/gasdb/AMGAS/tech_st/11.2.0/bin/tnslsnr: please wait...

TNSLSNR for IBM/AIX RISC System/6000: Version 11.2.0.4.0 - Production
System parameter file is /home/gasdb/AMGAS/tech_st/11.2.0/network/admin/PROD_app5_2/listener.ora
Log messages written to /home/gasdb/AMGAS/tech_st/11.2.0/admin/PROD_app5_2/diag/tnslsnr/APP5_2/prod/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=APP5_2.zjrcu.com)(PORT=1562)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=app5_2.zjrcu.com)(PORT=1562)))
STATUS of the LISTENER
------------------------
Alias                     PROD
Version                   TNSLSNR for IBM/AIX RISC System/6000: Version 11.2.0.4.0 - Production
Start Date                07-NOV-2018 10:36:19
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      ON
Listener Parameter File   /home/gasdb/AMGAS/tech_st/11.2.0/network/admin/PROD_app5_2/listener.ora
Listener Log File         /home/gasdb/AMGAS/tech_st/11.2.0/admin/PROD_app5_2/diag/tnslsnr/APP5_2/prod/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=APP5_2.zjrcu.com)(PORT=1562)))
Services Summary...
Service "PROD" has 1 instance(s).
  Instance "PROD", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
$ sqlplus apps/apps1234@PROD

SQL*Plus: Release 11.2.0.4.0 Production on Wed Nov 7 10:36:26 2018

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

 

验证登陆成功,然后重新生成contextfile文件,过程如下:

$ pwd
/home/gasdb/AMGAS/tech_st/11.2.0/appsutil/bin
$ ./adbldxml.pl

Starting context file generation for db tier..
Using JVM from /home/gasdb/AMGAS/tech_st/11.2.0/jdk/jre/bin/java to execute java programs..
APPS Password: apps1234

The log file for this adbldxml session is located at:
/home/gasdb/AMGAS/tech_st/11.2.0/appsutil/log/adbldxml_11071036.log

Enter the value for Display Variable: app5_2:0.0

Context File  /home/gasdb/AMGAS/tech_st/11.2.0/appsutil/PROD_app5_2.xml
 already exists.

Overwriting Context File may cause loss of existing settings, hence
 backing it up as: /home/gasdb/AMGAS/tech_st/11.2.0/appsutil/PROD_app5_2.xml.bak

The context file has been created at:
/home/gasdb/AMGAS/tech_st/11.2.0/appsutil/PROD_app5_2.xml

contextfile文件重新生产之后,执行autocfg操作,过程如下:
$ cd $ORACLE_HOME/appsutil/scripts

$ adautocfg.sh
Enter the APPS user password:
The log file for this session is located at: /home/gasdb/AMGAS/tech_st/11.2.0/appsutil/log/PROD_app5_2/11071037/adconfig.log

AutoConfig is configuring the Database environment...

AutoConfig will consider the custom templates if present.
        Using ORACLE_HOME location : /home/gasdb/AMGAS/tech_st/11.2.0
        Classpath                   : :/home/gasdb/AMGAS/tech_st/11.2.0/jdbc/lib/ojdbc5.jar:/home/gasdb/AMGAS/tech_st/11.2.0/appsutil/java/xmlparserv2.jar:/home/gasdb/AMGAS/tech_st/11.2.0/appsutil/java:/home/gasdb/AMGAS/tech_st/11.2.0/jlib/netcfg.jar:/home/gasdb/AMGAS/tech_st/11.2.0/jlib/ldapjclnt11.jar

        Using Context file          : /home/gasdb/AMGAS/tech_st/11.2.0/appsutil/PROD_app5_2.xml

Context Value Management will now update the Context file

        Updating Context file...COMPLETED

        Attempting upload of Context file and templates to database...COMPLETED

Updating rdbms version in Context file to db112
Updating rdbms type in Context file to 64 bits
Configuring templates from ORACLE_HOME ...

AutoConfig completed successfully.
重新执行,可以正常执行完成。

至此问题解决。

 

 

(笔者原创文章,转载请注明出处:https://blog.csdn.net/LFCuiYs)谢谢!

你可能感兴趣的:(EBS,问题解决,Oracle,Database,问题解决)