Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph
    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. oracle_imp_aleph_libs: "cannot drop a user that is currently connected"

    oracle_imp_aleph_libs: "cannot drop a user that is currently connected"

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Description:
    We are running the oracle_imp_aleph_libs procedure to import our v17 data into our v20 Oracle instance.

    Looking at the $TMPDIR/oracle_imp_aleph_libs.log.29625, we see these errors:

    aleph_admin@ALEPH20T> DROP USER abc01 CASCADE
    *
    ERROR at line 1:
    ORA-01940: cannot drop a user that is currently connected

    CREATE USER abc01 IDENTIFIED BY ABC01
    *
    ERROR at line 1:
    ORA-01920: user name 'ABC01' conflicts with another user or role name

    and later:

    Export file created by EXPORT:V09.02.00 via conventional path
    import done in UTF8 character set and UTF8 NCHAR character set
    . importing ABC01's objects into ABC01
    . . importing table "Z00" 311990 rows imported
    IMP-00017: following statement failed with ORACLE error 1452:
    "CREATE UNIQUE INDEX "Z00_ID" ON "Z00" ("Z00_DOC_NUMBER" ) PCTFREE 5 INITRA"
    "NS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1) TA"
    "BLESPACE "TS2X" NOLOGGING"
    IMP-00003: ORACLE error 1452 encountered
    ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found

    Resolution:
    The following two steps worked. (Probably only one was necessary, but I'm unsure which.)

    1. Had everyone dlib-ed to an ABCnn library, dlib to usm01 instead.

    2. Ran aleph_shutdown . (This just shuts down aleph, *not* Oracle.)

    Then I ran the "csh -f $aleph_proc/oracle_imp_aleph_libs ... " as described in the doc and as done before.

    This second run did *not* have the errors from the above Description.


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • oracle_imp_aleph_libs: "...export.gz_aa or ...data.export.gz_aa do not exist"
      • oracle_imp_demo_libs procedure stalls on import of usm01 z98
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Alma Specto
    2. Tags
      1. 20
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2026 Ex Libris Knowledge Center
    2. Powered by NiCE Knowledge Management ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved