Oracle8i full database export

while taking database export in ORACL8i it is terminating with errror. Please suggest remedial action. The messages given by system are appended below
Connected to: Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
With the Partitioning and Java options
PL/SQL Release 8.1.5.0.0 - Production
Export done in US7ASCII character set and US7ASCII NCHAR character set
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user DEEPAK
. exporting object type definitions for user DEEPAK
About to export DEEPAK's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export DEEPAK's tables via Conventional Path ...
. . exporting table XX 0 rows exported
. exporting synonyms
EXP-00008: ORACLE error 904 encountered
ORA-00904: invalid column name
EXP-00000: Export terminated unsuccessfully
Could this be related to following code which is present in /oraclehome/rdbms/admin/catexp.sql
These are the last few lines of catexp.sql
REM Add versioning support for export
REM This will get bumped up as the views evolve. The insert is needed
REM for upgrades from 7.0 or new databases. The update is needed for
REM databases that have older compatibility.
REM These are the releases when the compatibility was bumped:
REM 7.0.* - no compatibility - assume zero
REM 7.1.3 - set to one
REM 7.2.1 - set to two
REM 7.2.3 - set to three
REM 8.0.1 - set to four
REM 8.0.2 - set to five
REM 8.0.3 - set to six
REM 8.0.4 - set to seven
REM
insert into props$
select 'EXPORT_VIEWS_VERSION', '7', 'Export views revision #' from dual
where not exists
(select 'x' from props$ where name = 'EXPORT_VIEWS_VERSION')
update props$ set value$ = 7 where name = 'EXPORT_VIEWS_VERSION'

This forum is for feedback about the OTN program and problems with OTN accounts. Technical questions cannot be answered here. Please post your question in the appropriate product or technology forum. http://forums.oracle.com/forums/index.jsp?cat=48

Similar Messages

  • Full database export hangs (Oracle9i rel2)

    I recently migrated successfully from oracle8i rel 8.0. to oracle9i release 2,But now am not able to do a full database export.has anyone experienced this and whats the remedy?.
    the text i get is listed below.
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
    C:\Documents and Settings\Administrator>exp system/manager@ORCL file=C:\orclbk\p
    oll.dmp full=y
    Export: Release 9.2.0.1.0 - Production on Tue Aug 9 18:36:13 2005
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export the entire database ...
    . exporting tablespace definitions
    . exporting profiles
    . exporting user definitions
    . exporting roles
    . exporting resource costs
    . exporting rollback segment definitions
    . exporting database links
    . exporting sequence numbers
    . exporting directory aliases
    . exporting context namespaces
    . exporting foreign function library names
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions
    EXP-00090: cannot pin type "OE"."CUSTOMER_TYP"
    EXP-00056: ORACLE error 22303 encountered
    OCI-22303: type "OE"."CUSTOMER_TYP" not found
    EXP-00056: ORACLE error 24323 encountered
    ORA-24323: value not allowed
    EXP-00000: Export terminated unsuccessfully
    C:\Documents and Settings\Administrator>

    You have to run the export with the SYS user. This error may arise on any plattform ranging form 9.0.1 to 10.2.0.
    C:\>exp "'sys/oracle as sysdba'" full=y

  • Full database Export

    Hi
    We are having a database 10g running on solaris OS. We are getting a new server and I need to move the data. This is what I am planning to do.
    Take full database export from original server. (This includes tablespaces, all schemas and data)
    Import in new server, from SYS schema once Oracle is installed. so all the schemas and objects are imported.
    Can you let me know this approach is right any precautions to be taken?
    Thanks

    user625850 wrote:
    Hi
    We are having a database 10g running on solaris OS. We are getting a new server and I need to move the data. This is what I am planning to do.
    Take full database export from original server. (This includes tablespaces, all schemas and data)
    Import in new server, from SYS schema once Oracle is installed. so all the schemas and objects are imported.
    Can you let me know this approach is right any precautions to be taken?
    ThanksRMAN DUPLICATE

  • Full Database Export/Import

    I was attempting to export a full database from one server (DB files on the N: drive) and import it into a freshly created new database with the same instance name on a new server (DB files on the D: drive).
    I was told to:
    1) Export the full database as sys using full=y
    2) Pre-create all of the tablespaces on the target database that do not exist on the target database
    3) Import the full database as sys using full=y
    =========================================================
    Here are the steps I had to follow:
    1) Export the full database as sys using full=y
    2) Pre-create all of the tablespaces on the target database
    3) Import the full database as sys using full=y - Result: over 1900 invalid objects and thousands of errors
    4) Run Utlrp.sql - Result: 8 to 10 invalid objects
    5) Manually attempt to compile or rebuild objects. Several grants were required to get most of these to work. - Result: After quite a bit of hand crafting, two objects are still invalid.
    6) After spending almost two hours in a Collaborative Conference with an analyst who is working very hard to sold this, there are still two objects that are invalid.
    Note: From my perspective this is not a straight forward process
    =========================================================
    Questions:
    1) Has anyone successfully moved a database as described without all of these annoying steps?
    2) Is there a document that details the full database export/import?
    Thanks, RJZ

    Hello RJZ,
    There is not sufficient information to reply accurately to your queries,
    1. Could you post the error message that you're getting when you compile these two programs? Do they compile okay on the old server?
    2. What was the reason you choose exp and imp, to move your db to the new server and different disk? Were you migrating to a different version, or was it because of the db-reorg? It would have been possible to simple copy the db-files to the new location, and then rename the datafiles in mount-state. It would be more simpler I believe unless as stated above
    Did you check the import logs? While importing were there any errors? Actually it should have been pretty straight forward (no reason why you need documentation for exp / imp). Grants should have automatically come, unless you have select grants=n option
    I think because of the changes you have done for step-5, you might have changed some stuff somewhere. Please post the error message, and tell us if you have migrated the db to a higher version
    Regards
    Sudhanshu

  • Import from a full database export having  5 .dmp files

    i have a full database export having 5 .dmp files of 2g each, its having a user agvlc and which contains some partitioned tables,i imported the data for the user agvlc in a tablespace agvlc al the tables gets imported but the partitions are not getting imported what can i do to import the partitions as well
    thanx in advance

    Hello,
    al the tables gets imported but the partitions are not getting imported what can i do to import the partitions as wellHow do you see that the Partitions are not imported ? Do you have any error message ?
    Which options did you use for the Import ?
    Please, as previously said, post all the informations so that we can help you efficiently.
    Best regards,
    Jean-Valentin

  • Scheduled shutdown immediate and full database export

    Hi all,
    The database is Oracle 10g.
    How to make a scheduled shutdown immediate and full database export ? I want to use a batch file for it so I can make a sheduled task from the windows control panel everyday at 2 am. So what to write in the batch file because I am a bit new to 10g ?
    Thank you very much

    >
    How to make a scheduled shutdown immediate and full database export ? I want to use a batch file for it so I can make a sheduled task from the windows control panel everyday at 2 am. So what to write in the batch file because I am a bit new to 10g ?No, you can't take logical backup after shutdown database.
    If you want to schedule the logical backup of your database, just you can refer from here
    Schema level
    http://mohamedazar.wordpress.com/2010/04/18/datapump-scheduler-for-schema-level/
    Full export
    http://mohamedazar.wordpress.com/2010/02/16/dbms-scheduler-for-data-pump/

  • ORA-29540 during full database export

    Hi,
    Anyone encounter this error ORA-29540 during full database export. Have check out the web site for solution. Have check that the init file compatible is set to 8.1.0, the public synonym dba_java is been removed. However after the above remedies, the problem still occured. My database version is 8.1.5. Please let me know if there is other solution to this problem.
    Thank You ...
    regards,
    lbs

    Hi,
    Thanks...Any idea how to check whether the installation for the initjvm.sql is successful. cos I just took over from the previous DBA and he too have no idea...
    Thank You..

  • Getting error in full database export

    hi,
    I am exporting full database i am getting this error shown below:
    operating system:windows 2003 server
    oracle:oracle 10g
    C:\Documents and Settings\Administrator.SRCSD>exp system/systemsms file=d:\21041
    0.dmp log=d:\210410.log full=y
    Export: Release 10.1.0.2.0 - Production on ╟ط╟╤╚┌╟┴ ╟╚╤وط 21 11:15:42 2010
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Export done in AR8MSWIN1256 character set and AL16UTF16 NCHAR character set
    server uses AR8ISO8859P6 character set (possible charset conversion)
    About to export the entire database ...
    . exporting tablespace definitions
    . exporting profiles
    . exporting user definitions
    . exporting roles
    . exporting resource costs
    . exporting rollback segment definitions
    . exporting database links
    . exporting sequence numbers
    . exporting directory aliases
    . exporting context namespaces
    . exporting foreign function library names
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions
    . exporting system procedural objects and actions
    . exporting pre-schema procedural objects and actions
    . exporting cluster definitions
    EXP-00056: ORACLE error 4021 encountered
    ORA-04021: timeout occurred while waiting to lock object
    ORA-06512: at "SYS.DBMS_METADATA", line 1511
    ORA-06512: at "SYS.DBMS_METADATA", line 1548
    ORA-06512: at "SYS.DBMS_METADATA", line 1864
    ORA-06512: at "SYS.DBMS_METADATA", line 3707
    ORA-06512: at "SYS.DBMS_METADATA", line 3689
    ORA-06512: at line 1
    EXP-00056: ORACLE error 4021 encountered
    ORA-04021: timeout occurred while waiting to lock object
    ORA-06512: at "SYS.DBMS_METADATA", line 1511
    ORA-06512: at "SYS.DBMS_METADATA", line 1548
    ORA-06512: at "SYS.DBMS_METADATA", line 1864
    ORA-06512: at "SYS.DBMS_METADATA", line 3707
    ORA-06512: at "SYS.DBMS_METADATA", line 3689
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    C:\Documents and Settings\Administrator.SRCSD>
    plz reply me appropriate solution.
    thanks.

    Possibly bug 3386590 (4021: TIMEOUT OCCURRED WHILE WAITING TO LOCK OBJECT), upgrade to 10gR2 or even better 11gR2.
    Werner

  • EXPORT Problem. when i choose USER mode, it is exporting full database

    Dear OTN Members,
    we have a system ORacle 8i, 8.1.3 database, we created a user with DBA role, when we want to export data for a perticular user, after giving USER MODE Option, it is doing full database export including sys, system etc.
    what is the reason?
    Thanks in advance

    Any ideas please,
    Still im looking for this solution. I have a " user" with DBS role, we are trying to export only this user, it is coming up to type of mode like
    1)E ntire database 2)U 3) T ables >
    we are choosing user mode, but all the time it si taking Entire databse, including, Systtem and other users eetc.
    im struggling since 20 days. no success. Please

  • Impdp full Db export to remote database

    Hi techies,
    I have taken a full database export using expdp on my local server/database DEV1.
    We have Linux RHEL 5.6 and Oracle 11.2.0.2 versions.
    The DBA from other group has created a empty database DEV2 on other server.
    I can not connect to that server and start the impdp process there.
    Is there any way to start the impdp process from my local server and do the import to the remote database.
    Thanks,
    Rane

    No.
    Import needs to be done on the target database. If import is done from a file, the file needs to be local. If you dont have room forth local dump file, and you have a network link from the target db pointing to the remote db, then you can use that instead of the dump file.
    Hope this helps.
    Dean

  • Full database import and export

    Hi,
    i performed full database export and want to perform full import please suggest me how to perform full import..

    Oracle will change the data to the db characterset on import. This can be good or bad depending on what you have and what you want. So, what do you have and what do you want? Don't forget to check logs you should be keeping with these utilities. Edit: original exp/imp states the characterset in a log, expdp I guess you need to look at the 3rd line in the dump file. Don't edit dump files, if you are on unix you can use the strings command. It would help if you told us the exact version, patch set and platform you are on.
    Also, see the [url http://docs.oracle.com/cd/E11882_01/server.112/e10729/toc.htm]Globalization Guide.
    Edited by: jgarry on Apr 25, 2012 3:37 PM

  • Migrate Database- Export/Import

    Hi,
    I need to migrate an Oracle database 9i from Sun Solaris to Linux. The final target database version would be 11g.
    Since this is a 9i database, I see that we have only option of export and database. We have around 15 schemas.
    I have some queries related to it.
    1. If I perform a export with full=y rows=y, Does it export Sys, System Schema objects also?
    2. Can we perform export in Oracle 9i and use datapump import on targert 11g?
    3. What is the ebst approach - a) to perform schema by schema export or b) to perform a full database export with exp / file=xxx.dmp log=xxxx.log full=y?
    Since there is a database version different I dont want to touch sys, system schema objects.
    Appreciate your thoughts.
    Regards
    Cherrish Vaidiyan

    Hi,
    Let me try to answer some of these questions you queried for:
    1. If I perform a export with full=y rows=y, Does it export Sys, System Schema objects also?Export won't export sys objects. For example, there are tables in sys, like obj$ that contain information for other metadata objects, like scott.emp, etc. This is not exported becuase when scott.emp is exported, the data from obj$ is essentially exported that way. When the dumpfile is imported and scott.emp is recreated, the data in sys.obj$ will be restored through the create table statement. As far as the SYSTEM schema is concerned, some objects are exported and some are not. There are tables in system that contain information about queues, jobs, etc. These will probably not make any sense on the target system so those types of tables are excluded from the export job. Other objects make sense to export/import so those are done. This is all figured out in the internals of export/import. Thre are other schemas that are not exproted. Some that I can think of are DMSYS, ORDSYS, etc. This would be for the same reason as SYS.
    2. Can we perform export in Oracle 9i and use datapump import on targert 11g?No, the dumpfiles are formatted differently. If you use exp, then you must use imp. If you use expdp, then you must use impdp. You can do exp on 9i and imp on 11g with the dumfile that was created on 9i.
    3. What is the ebst approach - a) to perform schema by schema export or b) to perform a full database export with exp / file=xxx.dmp log=xxxx.log full=y?This is case by case decision. It depends on what you want. If you want the complete database moved, then I would personally think that a full=y is what you would want to do. If you just did schema exports, then you would never export the tablespaces. This would mean that you would have to create the tablespaces on the source system before you ran imp. There are other objects that are not exported when a schema level export is performed that are exproted when a full is performed. This information can be seen in the utilities guide. Look to see what is exported when in user/schema mode vs full/database mode.
    Since there is a database version different I dont want to touch sys, system schema objects.This is all done for you with the internal workings of exp/imp.
    Dean
    Edited by: Dean Gagne on Jul 29, 2009 8:38 AM

  • Importing full database in 8i

    I have a full database export of a database.
    I will have to import that into an oracle 8i database.
    May I know what are the considerations to be made/ precautions to be taken care of in precise?
    Shd I create all the tablespaces and users forehand? Or the full=y statement during import creates it all ?

    imp will attempt to run CREATE TABLESPACE statement with the DATAFILE names and sizes being the same as in the source database.
    If your filesystem structure / filesystem sizes are different at the target you should manually precreate each Tablespace.
    Also, manually precreating Tablespaces gives you the option to change DEFAULT STORAGE parameters.
    Hemant K Chitale

  • Importing full database xport

    Hello all,
    I have made a full database export.
    When I now do an import can I: 1) use the DBA user of the database in which i do the import?
    2) is there an automatical creation of the tabespaces and user from the import file
    3) If not what do I have to do to get the exact the same database
    Thanks in advance!
    Hans Puts

    Hi
    It creates the tablespaces and users.Check your export dump file in wordpad.U will find details whatall it creates.
    Jitesh

  • Import full database

    please tell me complete steps of importing database in full mode.
    the steps which I followed are:
    1.I created a database with system and undo tablespace
    2. I performed import using the following command
    imp userid=system/manager file=c:\abc.dmp full=y
    But there are so many errors
    and nothing could be imported
    somebody told me to create all the tablespaces and then to perform import
    then I created 'USERS' tablespace and again performed import,
    then even data of this tablespace could not be imported!! please help

    1.I created a database with system and undo tablespace
    2. I performed import using the following commandimp userid=system/manager file=c:\abc.dmp full=y
    First, what is your oracle version?
    Second,Was it a Full Database export?
    what was the export parameters used?

Maybe you are looking for