Export oracle database failure
hi all,
i have just exported oracle database and result failure. I export oracle database as user SYS, and in the logfile i receive a error as follow:
EXP-00084: Unexpected DbmsJava error -1031 at step 6661
EXP-00008: ORACLE error 1031 encountered
ORA-01031: insufficient privileges
EXP-00000: Export terminated unsuccessfully
before i exported, i met this error and then i compile the package that invalid, but now after the packages are compiled , unsucessful export db.
can anyone help me handle this error?
thanks,
TyL wrote:
hi all,
after i connect the DB through exp utility without "as sysdba", then i exported the DB sucessful.
so can anyone explain for me why is?
Edited by: TyL on Oct 18, 2011 1:25 AM
>hi all,
after i connect the DB through exp utility without "as sysdba", then i exported the DB sucessful.
so can anyone explain for me why is?
Edited by: TyL on Oct 18, 2011 1:25 AM
I"m not sure why, but the utilities manual has been consistent over the versions about warning not to export "as sysdba"
*From the 8i Utilities* (http://download.oracle.com/docs/cd/A87860_01/doc/server.817/a76955/ch01.htm#16802)
Invoking Export As SYSDBA
SYSDBA is used internally and has specialized functions; its behavior is not the same as for generalized users. Therefore, you should not typically need to invoke Export as SYSDBA. However, there may be a few situations in which you need to do so, usually at the request of Oracle technical support.
*From the 9.2 Utilities* (http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#1004778)
Invoking Export As SYSDBA
SYSDBA is used internally and has specialized functions; its behavior is not the same as for generalized users. Therefore, you should not typically need to invoke Export as SYSDBA, except in the following situations:
- At the request of Oracle technical support
- When using transportable tablespaces (see Transportable Tablespaces)
*From the 10.2 Utilities *(http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#sthref2155)
Invoking Export and Import As SYSDBA
SYSDBA is used internally and has specialized functions; its behavior is not the same as for generalized users. Therefore, you should not typically need to invoke Export or Import as SYSDBA, except in the following situations:
- At the request of Oracle technical support
- When importing a transportable tablespace set
Similar Messages
-
Export oracle database schema without data
Hi All,
cany any one tell me how to export oracle database schema without data using exp command not datapump command.step 1
type exp help=y
step 2
read the output
step 3 now run exp ... rows=n
Life can be so easy when you aren't lazy. You don't waste time asking to be spoon fed by others if you can do something yourself in 2 seconds.
Sybrand Bakker
Senior Oracle DBA -
Exporting data from SQL Server database to Oracle database
Hello All,
We need to replicate a table's data of SQL Server database to Oracle database.
Can this task be accomplished using Import/Export wizard or Linked servers?
Can help me regarding which Oracle data access components should i download to do this?
I am using SQL Server 2012.
And i have Oracle 11g release 2 client installed in my system.
Thanks in Advance.
Thanks and Regards, Readers please vote for my posts if the questions i asked are helpful.Yes you can definitely transfer data from SQL server to Oracle Have a look at below links
Export SQL server data to Oracle Using SSIS
Use OLEDB data provider to transfer data from SQL server to Oracle
Using Import Export Wizard
Similar thread
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles -
How to export the data from an excel file to Oracle database by using macro
Hi,
I want to export data from an excel file into Oracle database.There is one method that by creating the macros through excel we are able to do this.
can anybody please send me the code to create macros?
Thanks in advance.
Regards,
Surendra.VThere are several resources on the web, but you could start analyzing if this code fits your needs --> VBA Macro for Excel 2003 Export of Text File with Comma and Quote Delimiters.
~ Madrid -
How to export an XML file from oracle database?
plz help me its urgent requirement....could u pls tell me the step by step procedure for following questions...?how to export a data as an XML file from oracle database?
thanks in advance,
Bala.
Edited by: user3523292 on Nov 14, 2008 5:43 AMuser3523292 wrote:
plz help me its urgent requirement....could u pls tell me the step by step procedure for following questions...?how to export a data as an XML file from oracle database?
thanks in advance,
Bala.
Edited by: user3523292 on Nov 14, 2008 5:43 AMThis is a forum of volunteers. There is no "urgent" here. Nevertheless, a google search of 'xml oracle export' quickly lead me to this Oracle site:
otn.oracle.com/sample_code/tech/xml/index.html
I also see lots of hits when I search the documentation library at tahiti.oracle.com for 'xml'. This one in particular may be what you are looking for:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14252/adx_j_xsu.htm#ADXDK070 -
Export an XML file from oracle database
plz help me its urgent requirement....could u pls tell me the step by step procedure for following questions...?how to export a data as an XML file from oracle database? is it possible..?
thanks in advance,
Bala. is it possible?
Edited by: user3523292 on Nov 14, 2008 5:45 AMHere's the quick and dirty method using SQL*Plus...
SQL> select * from emp where deptno = 10;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7782 CLARK MANAGER 7839 09-JUN-81 2450 10
7839 KING PRESIDENT 17-NOV-81 5000 10
7934 MILLER CLERK 7782 23-JAN-82 1300 10
SQL> set markup html on
SQL> select * from emp where deptno = 10;
<br>
<p>
<table border='1' width='90%' align='center' summary='Script output'>
<tr>
<th scope="col">
EMPNO
</th>
<th scope="col">
ENAME
</th>
<th scope="col">
JOB
</th>
<th scope="col">
MGR
</th>
<th scope="col">
HIREDATE
</th>
<th scope="col">
SAL
</th>
<th scope="col">
COMM
</th>
<th scope="col">
DEPTNO
</th>
</tr>
<tr>
<td align="right">
7782
</td>
<td>
CLARK
</td>
<td>
MANAGER
</td>
<td align="right">
7839
</td>
<td>
09-JUN-81
</td>
<td align="right">
2450
</td>
<td align="right">
</td>
<td align="right">
10
</td>
</tr>
<tr>
<td align="right">
7839
</td>
<td>
KING
</td>
<td>
PRESIDENT
</td>
<td align="right">
</td>
<td>
17-NOV-81
</td>
<td align="right">
5000
</td>
<td align="right">
</td>
<td align="right">
10
</td>
</tr>
<tr>
<td align="right">
7934
</td>
<td>
MILLER
</td>
<td>
CLERK
</td>
<td align="right">
7782
</td>
<td>
23-JAN-82
</td>
<td align="right">
1300
</td>
<td align="right">
</td>
<td align="right">
10
</td>
</tr>
</table>
<p>
SQL>which you can spool to a file. -
Oracle Database Export - 8.1.7.4 on linux
Hello All,
With reference to the below Link.
Oracle Upgrade 8.1.7.4 to 10g in Red hat linux
I am trying to export the oracle database (8.1.7.4) in our landscape using the installation master - system copy. But I am not able to export the database due to the options like (database version 920 and 102) and due to this not able to export the 817 database. But In the sap press books guide they clearly mentioned that its possible to export the database of oracle 817 database. So, I believe I am using the wrong isntallation master.
If anyone having idea about exporting the 817 oracle database, please let me know
Enviornment : 8.1.7.4 database with linux2.4 and SAP R/34.7
Kind Regards
VIjayHello Markus,
Thanks for your reply.
The error as shown below. Our landscape details SAP R/3 4.7 110 , oracle 8.1.7.4 and linux
TRACE [iaxxccntrl.cpp:595]
CController::stepExecuted()
The step generalR3loadParameters with key SAPSYSTEM_DBEXP|ind|ind|ind|ind|ind|0|SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseExport|ind|ind|ind|ind|ind|0|DbExport|ind|ind|ind|ind|ind|0|DatabaseLoadForExport|ind|ind|ind|ind|ind|0|generalR3loadParameters has been executed successfully.
TRACE [iaxxejsexp.cpp:138]
EJS_Installer::writeTraceToLogBook()
loadStrategy = ALPHABETICAL
TRACE [iaxxcdgprc.cpp:588]
CCheckCollectingWalker::processDialogs()
The controller is about to execute the dialog step SAPSYSTEM_DBEXP|ind|ind|ind|ind|ind|0|SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseExport|ind|ind|ind|ind|ind|0|DbExport|ind|ind|ind|ind|ind|0|DatabaseLoadForExport|ind|ind|ind|ind|ind|0|DatabaseLoad_Db_Hook|ind|ind|ora|ind|ind|0|diPrepareProgramEnvironment
ERROR 2009-10-12 19:51:28 [iaxxinscbk.cpp:219]
abortInstallation
CJS-00081 Assertion failed: OraConfigFile.setFilePath: Argument filePath is not valid: '/oracle/DEV/920_32/network/admin/tnsnames.ora'
TRACE [iaxxejsbas.hpp:156]
EJS_Base::dispatchFunctionCall()
JS Callback has thrown exception
ERROR 2009-10-12 19:51:28 [iaxxejsctl.cpp:241]
EJS_ControllerImpl::executeScript()
FJS-00012 Error when executing script.
ERROR 2009-10-12 19:51:28 [iaxxccntrl.cpp:579]
CController::stepExecuted()
FCO-00011 The step diPrepareProgramEnvironment with step key SAPSYSTEM_DBEXP|ind|ind|ind|ind|ind|0|SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseExport|ind|ind|ind|ind|ind|0|DbExport|ind|ind|ind|ind|ind|0|DatabaseLoadForExport|ind|ind|ind|ind|ind|0|DatabaseLoad_Db_Hook|ind|ind|ora|ind|ind|0|diPrepareProgramEnvironment executed with status ERROR.
TRACE [iaxxgenimp.cpp:428]
processUserInput()
got notification...
TRACE [iaxxsubjct.cpp:58]
notify()
releasing notifyLock -
Export import - using TOAD FOR ORACLE and ORACLE DATABASE 10G EXPRESS or s
Hi all,
Could you please kindly help me?
I am using TOAD FOR ORACLE to export a table to flat file A. The tool just supports to distinguish fields by "spaces".
And the web page of ORACLE DATABASE 10G EXPRESS to import the data from flat file A to another database. To load data to a table from a text file, the web page bases on "comma" to distinguish fields.
So could you have any suggestion for me? I need to export data via TOAD FOR ORACLE. And then import it to another database by the home page of ORACLE DATABASE 10G EXPRESS or sqlplus.
Thank you so much for your help!Dont use TOAD for exporting your data. Use PL/SQL. Below is the code given in Asktom.com that does what you want.
create or replace function dump_csv( p_query in varchar2,
p_separator in varchar2 default ',',
p_dir in varchar2 ,
p_filename in varchar2 )
return number
is
l_output utl_file.file_type;
l_theCursor integer default dbms_sql.open_cursor;
l_columnValue varchar2(2000);
l_status integer;
l_colCnt number default 0;
l_separator varchar2(10) default '';
l_cnt number default 0;
begin
l_output := utl_file.fopen( p_dir, p_filename, 'w' );
dbms_sql.parse( l_theCursor, p_query, dbms_sql.native );
for i in 1 .. 255 loop
begin
dbms_sql.define_column( l_theCursor, i, l_columnValue, 2000 );
l_colCnt := i;
exception
when others then
if ( sqlcode = -1007 ) then exit;
else
raise;
end if;
end;
end loop;
dbms_sql.define_column( l_theCursor, 1, l_columnValue, 2000 );
l_status := dbms_sql.execute(l_theCursor);
loop
exit when ( dbms_sql.fetch_rows(l_theCursor) <= 0 );
l_separator := '';
for i in 1 .. l_colCnt loop
dbms_sql.column_value( l_theCursor, i, l_columnValue );
utl_file.put( l_output, l_separator || l_columnValue );
l_separator := p_separator;
end loop;
utl_file.new_line( l_output );
l_cnt := l_cnt+1;
end loop;
dbms_sql.close_cursor(l_theCursor);
utl_file.fclose( l_output );
return l_cnt;
end dump_csv;
/Here is the link to this thread in asktom.
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:95212348059 -
How can I export my database created in Oracle8 into Oracle 8i/9i..
I am running my database in Oracle8 and want to switch to Oracle8i. What procedure should I take to export my database into Oracle 8i/9i. Please help me .....
my email is [email protected]
Thanks in anticipation.
Nadeem Iqbal BhattiPlease see the Oracle8i Migration Guide for 8i migrations.
http://download.oracle.com/docs/cd/A87860_01/doc/server.817/a86632/toc.htm -
Could I export and import my oracle database via Stored Procedure???
Hi all,
I need to export my database using stored procedure, the stored procedure will be called by java application and it works well
Now I still get the "BIG QUESTION", could I export and import database using stored procedure???
Really thanks for the response.
Regards,
KahlilHi,
I think you can use DBMS_DATAPUMP (10.1+), see [DBMS_DATAPUMP|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_datpmp.htm#i1007277], for examples see [http://www.psoug.org/reference/dbms_datapump.html]
Regards, -
Export database from BerkeleyDB to Oracle Database
Hi,
Within the framework of some projetc, for creating reports, I need to export data from BerkeleyDB to Oracle database.
How can I do it ?Hello,
One way to export data from a Berkeley DB database into an Oracle DB table
is to use the OCI interface on the Oracle DB side and the C API on the Berkeley DB side. If you have access to "My Oracle Support" an example can be found in Note 797537.1.
Thanks,
Sandra -
Export of Oracle Database objects
Hi,
I have question on exporting oracle objects.
Can we export all of oracle objects in form of xml file?
Like we have exp command to take the dump of database, is there a way to take db dump in form of xml.
Why xml, because it can be easily read by other languages like Java, plsql, VB and later objects can be created in Database.
Please suggest me a way to achieve the requirement.
Thanks in advance
Regards,
Prasaduser10302855 wrote:
Hi,
I have question on exporting oracle objects.
Can we export all of oracle objects in form of xml file?
Like we have exp command to take the dump of database, is there a way to take db dump in form of xml.
Why xml, because it can be easily read by other languages like Java, plsql, VB and later objects can be created in Database.
Please suggest me a way to achieve the requirement.I am not sure that your requirement is a valid requirement. When you talk about XML, do you think that it can store data like a datafile does? I am not an XML expert but as much as I know about it, it just have tags and you don't want to show your client's credit card number in a text based XML based file under a tag called CreditCard would you? What you can do is that you can get the structure of the table of yours in the XML format using the package dbms_metadata . The data is going to be , at least in my knowledge, would be exported through the export binary and not in XML. Again, I am not an XML expert so I may be wrong too.
Aman.... -
I export dump from oracle database 8.1.7 and try to import in 10.2.0. while import its prompt error as follow
8.1.7
SQL> select * from nls_database_parameters where parameter like '%SET%';
PARAMETER VALUE
NLS_CHARACTERSET US7ASCII
NLS_NCHAR_CHARACTERSET US7ASCII
10.2.0
SQL> select * from nls_database_parameters where parameter like '%SET%';
PARAMETER VALUE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_CHARACTERSET WE8MSWIN1252
C:\Documents and Settings\Administrator>imp system/manager file=H:\CGlByte\cglby
te_03-07-2013Wed.dmp fromuser=system touser=cglbyte ignore=y
Import: Release 10.2.0.4.0 - Production on Thu Jul 4 16:11:49 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Produc
tion
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export file created by EXPORT:V08.01.07 via conventional path
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses WE8MSWIN1252 character set (possible charset conversion)
export client uses WE8ISO8859P1 character set (possible charset conversion)
export server uses US7ASCII NCHAR character set (possible ncharset conversion)
Import terminated successfully without warnings.
Pl suggest remedy
Regards,8.1.7
AMERICAN_AMERICA.WE8ISO8859P1
10.2.0
AMERICAN_AMERICA.WE8MSWIN1252
exp system/manager file=d:\cgl.dmp owner=cgl, even i set character set before export but no impact -
Exports with Oracle Database Vault
Hi!
I've running a Database in version 10.2.0.4 and it has installed Oracle Database Vault, wich is running quite well...
I'm trying to export a schema that is protected with a REALM and only the owner of that schema has permision to access the data. So, users like sys o system can´t access to the data of the schema. It's the aim of Database Vault and it do it well.
The problem is that I'm performing a export of that schema and it run successfully! I have the .dmp file which I can import in other Databases (with Database Vault no installed) and it runs perfectly!
So... if Database Vault avoid that user sys can access the data, why it permit to perfom EXPORTS??
Thank,
tomBump. Thanks.
-
Export 11g-32 bit Oracle database- import 11g to 64 bit Oracle DB posible
Hi experts,
i want to export from 11gR2- 32 bit oracle production database and import into 11gR2 -64 bit oracle database.
Can it possible or not???EdStevens wrote:
Harshit DBA india wrote:
Hi experts,
i want to export from 11gR2- 32 bit oracle production database and import into 11gR2 -64 bit oracle database.
Can it possible or not???What does it cost you to try it for yourself and see?“Only those who dare to fail greatly can ever achieve greatly.”
Maybe you are looking for
-
Passing null/empty values from a actionscript VO to a Coldfusion ORM object
This is the situation. If you have an actionscript VO that binds to a Coldfusion ORM object via the RemoteClass metadata and some of the values are not set, null, or empty strings and you pass it from Flex to Coldfusion then the Coldfusion deserializ
-
IPhone 6plus apps stopped working after 8.1.1 update
updated my new iPhone 6 plus to 8.1.1 and the maps app won't work just crashes everytime it's opened so everything that uses a link to it eg:- find my friend, find my phone, Argos app facebook if someone puts their location on which shows the map all
-
Where is file sharing in iTunes 12?
Where is file sharing in iTunes 12? I used to click on the iPhone or iPad device, then select the 'apps' tab and then file sharing apps like VLC would show at the bottom. Now clicking on the device doesn't do anything.
-
Macbook refusing to allow log on
My macbook pro refused to allow me to log on for several hours yesterday. It was suggested by someone in the IT department at work that it sounded as if someone else was in control of my computer. Is this possible?
-
Hi, I wonder if this is a missing feature or an error in our system: I open the search form for articles, go to the article properties tab, choose one property and click on the search button, but nothing happens. When i additionally choose an article