Unique constraint errors are showing up in alert.log for Spotlight objects.
From the alert.log:
Sun Jun 29 15:26:02 2008
Errors in file /home/oracle/admin/instance/bdump/tlit_j000_23699474.trc:
ORA-12012: error on auto execute of job 192
ORA-00001: unique constraint (QUEST.PK_QUEST_PPCM_SQL_TEXT) violated
ORA-06512: at QUEST.QUEST_PPCM_SNAPSHOT_PKG, line 771
ORA-06512: at QUEST.QUEST_PPCM_SNAPSHOT_PKG, line 835
ORA-06512: at QUEST.QUEST_PPCM_SNAPSHOT_PKG, line 1032
ORA-06512: at QUEST.QUEST_PPCM_SNAPSHOT_PKG, line 1041
ORA-06512: at line 1
or
ORA-00001: unique constraint (SPOTLIGHT_USER.QUEST_PPCM_TIMED_STATISTIC_PK) violated
ORA-06512: at SPOTLIGHT_USER.QUEST_PPCM_BOTTLENECK, line 365
ORA-06512: at SPOTLIGHT_USER.QUEST_PPCM_BOTTLENECK, line 569
ORA-06512: at line 1
From the Trace file:
Dump file /home/oracle/admin/instance/bdump/tlit_j000_23699474.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /home/oracle/orahome
System name: AIX
Node name: <node_name>
Release: 3
Version: 5
Machine: <machine>
Instance name: <instance_name>
Redo thread mounted by this instance: 1
Oracle process number: 297
Unix process pid: 23699474, image: oracle@<node_name> (J000)
Re-install the objects with the Oracle User Wizard in Spotlight under the File menu.
The manual script for the Spotlight useris availabe in Spotlight on Oracle 6.0 under:
C:\Program Files\Quest Software\Spotlight\Plug-ins\SoO\OracleScripts.
The instructions are on under Manual Oracle User Installation Scripts.htm and the manual script to create Spotlight objects are under install.sql.