ORA-12012/ORA-12005 Errors Appear In the Collaboration Suite Database's Alert.log (文档 ID 370687.1)

APPLIES TO:

Oracle Content Services - Version 10.1.2.0.0 to 10.2.1.0.27 [Release AS10gR2 to AS10gR3]
Information in this document applies to any platform.

SYMPTOMS

  • The OCS database's alert.log file contains following error messages :
Fri May 12 15:02:27 2006


Errors in file /u01/oracle/admin/OCS/bdump/ocs_j000_4213.trc:


ORA-12012: error on auto execute of job 76


ORA-12005: may not schedule automatic refresh for times in the past
  • The error messages are raised at regular interval, and the job is not executed.
  • The failing job is the one that is listening on the Content Services event queue
SQL> select job,what from dba_jobs where job=76;  





JOB        WHAT


---------- ---------------------------------


       76 wf_event.listen('ECM_OUT');

CAUSE

By default, the wf_event.listen('ECM_OUT') job executes every 5 seconds.

On loaded systems, the 5 seconds refresh time for the job is too low, and causes the job to get out of sync.  When the next execution date is already in the past, the error messages above are raised in the database's alert.log file.

SOLUTION

To implement the solution, please execute the following steps:

  1. Connect with sqlplus as OWF_MGR user to the OCS database
  2. Run the ClearJobs.sql script to drop the job : 
    $ORACLE_HOME/content/admin/sql/workflow/ClearJobs.sql
  3. Reconnect with sqlplus as OWF_MGR user
  4. Run SetupJobs.sql script to recreate the job :
    $ORACLE_HOME/content/admin/sql/workflow/SetupJobs.sql 15
    The argument passed to the script is the job's refresh rate : 15 seconds in the example above.

** Note: An alternate solution is attached to this document that provides a more accurate interval calculation.

See attached:  Addendum to Doc ID 370687.1.txt


The password for the OWF_MGR schema is stored in OID, and can be retrieved as follows :

Using Oracle Directory Manager :

  1. Start oidadmin (Oracle Directory Manager on Windows) and login as orcladmin to OID
  2. Click on the '+' sign next to 'Entry Management'
  3. Drill down : cn=OracleContext -> cn=Products -> cn=IAS -> cn=IAS Infrastructure Databases -> orclReferenceName=<your db name> -> OrclResourceName=OWF_MGR
  4. The attribute 'orclpasswordattribute' contains the schema password for the OWF_MGR user.

Using ldapsearch (instead of Oracle Directory Manager) :

$ORACLE_HOME/bin/ldapsearch -h <hostname> -p <port> -D cn=orcladmin -w <cn=orcladmin pwd> \


    -b "cn=IAS Infrastructure Databases,cn=IAS,cn=Products,cn=oracleContext" \


    -s sub orclResourceName="OWF_MGR" orclpasswordattribute
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值