Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

ORACLE error 1452 on Virtual machine

ORACLE error 1452 on Virtual machine

Hi - I'm having problems importing a customer's dump files on a virtual pc. I have imported the same files on a host pc with no problem. The users and tablespaces are unique. So it's confusing as to why it happens on one and not the other. The error is happening once about 1/3 into the import and again about 1/2 way through. Here's the first error - any ideas?

IMP-00017: following statement failed with ORACLE error 1452:
 "S 1 FREELIST GROUPS 1)                             LOGGING"
IMP-00003: ORACLE error 1452 encountered
ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found
IMP-00017: following statement failed with ORACLE error 20000:
 "190,21771,1,1,989,1,0); END;"
IMP-00003: ORACLE error 20000 encountered
ORA-20000: Unable to set values for index PK_ENUMDET: does not exist or insuffi
ient privileges
ORA-06512: at "SYS.DBMS_STATS", line 3613
ORA-06512: at "SYS.DBMS_STATS", line 3718
ORA-06512: at line 1

RE: ORACLE error 1452 on Virtual machine

Error is: ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found

1) Truncate tables BEFORE import
2) Look for triggers

The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

RE: ORACLE error 1452 on Virtual machine

Thanks - but the problem is that the user and tablespace were dropped (via bat file) prior to the import - so there should be nothing there to truncate, correct?

RE: ORACLE error 1452 on Virtual machine

How could you drop user via bat file??? If you called sql*plus you should spool some info to log file, most probably either user or some objects have not been dropped successfully.

Regards, Dima

RE: ORACLE error 1452 on Virtual machine

Thanks, Dima. Makes sense, so I dropped user and tablespace from the command line before reattempting the import, but same results

drop user spf36admin1 cascade;

drop tablespace spf36admin1space including contents cascade constraints;

RE: ORACLE error 1452 on Virtual machine

As user's name is quite cumbersome, is it possible that you're importing to a wrong schema? Another database? Could you try to connect using [b]the same connect string[b] from sql*plus right before import?

Regards, Dima

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close