Share the content if you found it is useful (You can share using 300 community websites) click "share" at the end of the post.

You are encouraged to leave a comment.








Thursday, March 05, 2009

HRMS - New Employee creation Errors out ORA-29861

Cause'PER_ADDRESSES_SPT' Index status is failed.
It should be valid.
unpublished bug 4440568 GET TRIGGER ERRORS ENTERING PEOPLE AND LOCATIONS IN HRMS
Reported issue points to a root cause of oracle spatial not being correctly installed on this environment.

Please fix your environment, re-run the index script noted above and recommence your testing.

Solution
To implement the solution, please execute the following steps in your test instance first:


1) ) Run $ORACLE_HOME/md/admin/mdinst.sql from 9iR2 Oracle_home.
connect as system/manager.

2) Forcefully drop the indexes.
connect apps/apps

drop index hr.HR_LOCATIONS_SPT force;
drop index HR.PER_ADDRESSES_SPT force;

3) Delete the entries from sdo_index_metadata_table
connect mdsys/mdsys

delete from sdo_index_metadata_table where sdo_index_name='HR_LOCATIONS_SPT';
delete from sdo_index_metadata_table wheresdo_index_name='PER_ADDRESSES_SPT';
commit;

4) rebuild the indexes.

sqlplus apps/apps @@$PER_TOP/patch/115/sql/irctxloc.sql HR applsys apps CTXSYS
sqlplus apps/apps @@$PER_TOP/patch/115/sql/irctxadr.sql HR applsys apps CTXSYS(
note : HR applsys apps CTXSYS are 4 parameters to the sql)

5) Verify that the index is valid by running

SQL > select DOMIDX_STATUS, DOMIDX_OPSTATUS from dba_indexes whereINDEX_NAME = 'PER_ADDRESSES_SPT';


BUT NONE OF THESE WORKED FOR ME. I DELETED THE INDEXES AND RETESTED THE ISSUE.. THE ISSUE GOT RESOLVED... :)

2 comments:

Anonymous said...

Dropping and index is not a solution, that is just avoiding the problem. You do not even know what all problem you created by solving this one.

Better check with Oracle before dropping a sedded object be it an index.

Balaji Srinivasan said...

It is the same solution, what we have already discussed on OTN too. Please follow the OTN Forum, before commenting on my blog. Dont you know the meaning of recreating the index after dropping? that too with oracle provided script. The script i have mentioned here is being used by all PER patches to recreate or alter indexes. The issue was resolved and our implementation went very well. The issue itself is not pertaining to PER, it is the Oracle Spatial is not installed in your database. Kindly check it and proceed further.

Related Posts Plugin for WordPress, Blogger...

Let us be Friends...

Share |

Popular Posts

Labels

11.5.1. to 11.5.5 Cloning Procedure. 11g 11i 11i and R12 11i Autoconfig 11i Cloning 12.1.1 SSL 2 Node RAC Adconfig.sh errors out adgennls.pl adop Advanced Replication Apache version Apex Apex for Oracle database Apex Installation Apex Installation on Oracle E Business Suite. 11i with Apex Apex on 11i Apex on Oracle 11i Apex402 apexins.sql APPL_TOP Character Application Express Application server Issue APPLSYS password Apps Password Asynchronous Replication Autoconfig Autoconfig Managed Beehive Bit of operating system Block block media corrupt BPEL Central Inventory Character Set Conversion Cloning of 11i Cloning of Oracle Applications Clusterware Concurrent CPU 2011 CPU 2012 April CPU 2012 January. CPU 2012 October CRS custom top Custom Top Creation Database . Database Query Dataguard DBMS_REPAIR Demantra . Domain Name E Business Suite Migration EBS 12.2 EPM exp/imp Oracle Applications Flashback table flows_020200 FND_TOP/resource FNDCPASS FNDCPUCF Forms server upgrade Forms startup FRM-92101 Fusion Middleware Hostname Hot Backup Hot cloning HotBackup Hotbackup Cloning of Oracle Apps hrglobal.drv. NLS Saudi Arabian HRMS hyperion Import and Export Oracle Applications Install Oracle Installation of R12 Installation Steps integration Oracle EBS Issues Database issues Oracle EBS Issues with Upgrade 12.1.1 Java Mission Control Java Upgrade java/sql/SavePoint JInitiator Junk Characters Language Translation Linux Linux Migration listener trace Listner version Local Inventory Login Page Master-Master Replication Memory Tuning Multiple Language NLS Non-Autoconfig Enabled OBIEE 11g Installation OBIEE Issues OIM Opatch version OpenSSL ora-01031 Oracle oracle 11g Oracle Announcement Oracle Application servers Oracle Application services Oracle Applications Oracle Applications 11i oracle applications 12.2 Oracle Applications Cloning Oracle Applications Upgrade Oracle Applications. Oracle Apps cloning Oracle BPEL oracle certifications oracle database Oracle Database RMAN Oracle Database upgradation Oracle DB oracle E Business suite 12.2 Oracle EBS oracle EPM Oracle Forms Logo oracle Fusion Applications Oracle Inventory oracle news Oracle OUI Oracle R12 oracle Sun Solaris Oracle Tuning Oracle Virtual Box Oracle Webgate Oracle WMA configuration orcladmin password for Oracle Applications Pasta Configuration pasta.cfg patch PDF Performance Physical Standby Platform migration Printer Configuration Profile Option R12 RAC Rapid Install Rapidwiz Real Application Clusters 10g Recovery RMAN RMAN Recovery SA Gosi Service Oriented Architecture SOA SQLTXPLAIN SSL Configuration step-by-step upgrade Sun solaris Swap Tablespace Trace Enable Trace file Translation Synchronization Patch transport tablespace tuning Tuning SGA uifont.ali Underscore Universal Content Management updates.oracle.com Upgradation of 12.0.5 to 12.1.1 Upgrade Upgrade 11g Upgrade Apps Upgrade DB Upgrade to 11g UTF8 version of oracle applications versions Web server upgrade weblogic windows workflow version XML Publisher version