How to import and export Oracle 10g XE in Ubuntu
Hello everyone,
I'm a Linux (Ubuntu) user, I need to import my *.dmp* file in Ubuntu.
Can someone help me, how can I do this and also how can I export?
Thanx in advance.
Talha
Hi,
These might help
https://help.ubuntu.com/community/Oracle10g
http://www.debian-administration.org/articles/430
http://www.oracle.com/technology/tech/linux/install/xe-on-kubuntu.html
http://www.oracle.com/pls/xe102/homepage
You need set environment variables correctly
This might help with that and some other minor things
http://ubuntuforums.org/showpost.php?p=7838671&postcount=4
And XE comes with Apex version is 2.1.
You can upgrade it
http://www.oracle.com/technology/products/database/application_express/html/3.2_and_xe.html
Get SQL Developer, it is nice tool work with database
http://www.oracle.com/technology/products/database/sql_developer/index.html
Br,Jari
Edited by: jarola on May 3, 2010 12:37 PM
links corrected
Similar Messages
-
How to import and export the screen parameters
hi all
how to import and export the parameters of the screen
i need to export all the parameters and then import it
and also how to export and import a variable to the memory
thanks and regards
naval bhattHi,
Check this example for exporting and importing to memory..
DATA: V_VALUE(2) VALUE '2'.
EXPORT V_VALUE = V_VALUE TO MEMORY ID 'ZTEST'.
IMPORT V_VALUE = V_VALUE FROM MEMORY ID 'ZTEST'.
Thanks,
Naren -
How to install and configure Oracle 10g Express Edition on Fedora 11?
Hi everyone!
I have recently installed Oracle 10g XE on my Laptop Gateway T-1625, which has Fedora 11.
I followed the install instructions on [http://st-curriculum.oracle.com/tutorial/DBXETutorial/index.htm] , and configured the server as explained, but something is wrong... When I try to go to the database home page http://127.0.0.1:8080/apex, I get "Failed to Connect" on Firefox 3.5b4... I don't think it's because of the Firefox version because it's proved to be very stable (for a beta).
I've search for similar issues on GNU/Linux and I found this thread in these forums: [ http://forums.oracle.com/forums/thread.jspa?threadID=915218&tstart=0] , but the solution is for Ubuntu 9.04, and if it's possible I would like to know a specific solution for Fedora 11.
I also tried to see the oracle server status with:
# /etc/init.d/oracle-xe status
And I got this....
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-JUN-2009 22:10:31
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=talos)(PORT=1521)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
I hope someone can help me out and guide me on the right direction. Thanks a lot!Hi again!
After your last post I realized that the dba group and the oracle user already existed.
#groupadd dba
groupadd: group dba exists
#useradd oracle -d /home/oracle -s /bin/bash -g dba
useradd: user oracle existsHowever, I finally assigned a password for that account and changed the ownership of the /usr/lib/oracle/xe
with the commands you suggested:
passwd oracle
chown -R oracle:dba /usr/lib/oracle/xeAfter this, I can log in as the oracle user but the SELinux showed a warning and the /usr/lib/oracle/xe
is treated as the oracle home, and no .bashrc file is located on this home. This is the SELinux warning:
SELinux is preventing gdm-session-wor (xdm_t) "write" to /usr/lib/oracle/xe (lib_t).
Details:
SELinux denied access requested by gdm-session-wor. /usr/lib/oracle/xe may
be a mislabeled. /usr/lib/oracle/xe default SELinux type is user_home_dir_t, but its
current type is lib_t. Changing this file back to the default type, may fix your problem.
File contexts can be assigned to a file in the following ways.
* Files created in a directory receive the file context of the parent
directory by default.
* The SELinux policy might override the default label inherited from the parent directory
by specifying a process running in context A which creates a file in a directory
labeled B will instead create the file with label C.
An example of this would be the dhcp client running with the dhclient_t type and
creates a file in the directory /etc. This file would normally receive the etc_t type due
to parental inheritance but instead the file is labeled with the net_conf_t type
because the SELinux policy specifies this.
* Users can change the file context on a file using tools such as chcon, or restorecon.
This file could have been mislabeled either by user error, or if an normally confined
application was run under the wrong domain.
However, this might also indicate a bug in SELinux because the file should not have
been labeled with this type.
If you believe this is a bug, please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.
Allowing Acces:
You can restore the default system context to this file by executing the restorecon command.
restorecon '/usr/lib/oracle/xe', if this file is a directory, you can recursively restore using
restorecon -R '/usr/lib/oracle/xe'.
Fix command:
restorecon '/usr/lib/oracle/xe'I suppose the command #useradd oracle -d /home/oracle -s /bin/bash -g dba is where I can define the user's home, but if this user already exists how can I modify its settings?
is SELinux preventing the .bashrc file to be created? or what could be causing this?.
I hope you know how much I appreciate your help and want to thank you for your time. -
How do import and export pictures from my HP laptop
How do I import or export pictures and video from laptop to iPad.
Start Here > http://www.apple.com/support/ipad/syncing/
Also, see here > Ipad User Guide -
How to install and integrate oracle 10g and 11g Warehouse with EBS???
Hi,
We are using EBS r12 (12.0.6) and database 12.2.0.3.
Please give us the Doc Id's for installing and confihuration oracle Data Warehouse with EBS r12?
thxHi;
We are using EBS r12 (12.0.6) and database 12.2.0.3.you mean db version is 10.2.0.3 right? Coz there is no version like start 12 yet!
Please give us the Doc Id's for installing and confihuration oracle Data Warehouse with EBS r12?Check below:
Oracle E-Business Intelligence Embedded Data Warehouse Implementation Guide Release 4.1 [ID 246156.1]
Embedded Data Warehouse White Papers [ID 149406.1]
Embedded Data Warehouse Library [ID 149404.1]
Regard
Helios -
How to import and export trusted site
i have configured cisco sdm everthing loading fine from sdm to router when i lunch sdm give ip address 10.1.1.1 its showing one error untrusted site how do i fix that problem in mozila firefox
== URL of affected sites ==
http://10.1.1.1
== User Agent ==
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB0.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)i have configured cisco sdm everthing loading fine from sdm to router when i lunch sdm give ip address 10.1.1.1 its showing one error untrusted site how do i fix that problem in mozila firefox
== URL of affected sites ==
http://10.1.1.1
== User Agent ==
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB0.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2) -
Import and export in linux.
hi
can anyone guide me how to import and export dump files in Red Hat linux 5.2?
also i searched over the ineternet but i did not understand because i am newbie to linux.
can anyone help me out and guide me step by step?
i also posted on Database-General but i just got links there.
can anyone guide me step wise?
i am newbie to linux.
i tried the following commands.
$ imp system/pass@db file=file_name log=log_name full=y
but it gave me new problem something like this.
export-import>
i did not understand the above one.
thanks in advance.
sarah
Edited by: QGIRCO on Apr 27, 2010 4:58 AMUnfortunately based on what you have provided and what I read on your other post you probably won't get much more than links on this forum as well. The documentation is pretty clear on how to use IMP / EXP.
Have you been able to follow the documentation and the examples provided? You mentioned on your other thread that you know how to do it in Windows. Well the same logic applies in Linux except maybe the path to your file and permissions.
Also, in the future please don't double post (even across forums). -
Regarding import and export statement
hi experts,
how to import and export the internal table between programs...
Nice solutins with maximum points.....Example of a program exporting an internal table to ABAP memory.
Prog 1
parameters: pa_vbeln like vbak-vbeln.
data: itab type standard table of vbak.
* get data to fill the table
select * from vbak into table itab
where vbeln = pa_vbeln.
* now store the internal table to ABAP memory
export itab to Memory ID 'table''.
* here we call another program, prog 2
submit prog2 and return.
Prog 2 -> This imports the internal table exported by prog 1 and writes the content of the internal table to a list
data: jtab type standard table of vbak,
wa_vbak type vbak.
* importing the itab that was exported by prog1
import itab to jtab from memory id 'table'.
loop at jtab into wa_vbak.
write:/ wa_vbak-vbeln,
wa_vbak-erdat.
endloop.
* clear the specific memory id after required processing is complete
free memory id 'table'
Hope this solves your problem.
Cheers,
Sougata.
Subas,
Copy/paste your code, I'll have a look. First check if data is being selected before Export command.
Edited by: Sougata Chatterjee on Jan 11, 2008 12:31 PM
Also make sure you create prog2 as an executable program. Then, run prog1 with a valid Sales Order number. To understand it more clearly run it in debugging mode and step through. It should work fine in any system.
Edited by: Sougata Chatterjee on Jan 11, 2008 12:42 PM -
Query to do import and Export for Oracle 10g
For MYSQL we have queries available for import and export
import:-LOAD DATA INFILE 'filename' INTO TABLE tablename FIELDS TERMINATED BY ','
export:-SELECT * into OUTFILE 'file name' FIELDS TERMINATED BY ',' FROM tablename
Do we have similar query in Oracle which can be executed on SQL * PlusIs it a feedback opinion you want to get/put ?
If not, then use a proper forum, which you can find somewhere here below :
http://forums.oracle.com/forums/category.jspa?categoryID=18
Maybe Database General is the one for your question.
By the way, explain where you get the data from (flat file -sqlldr - or dump file -imp -?), and where you want to put the data (flat file - select - or dump file -exp - ?), be sure you know the format of file of your output.
Nicolas. -
Import and export xml file in Oracle
Hi Gurus,
Can any one explain , how can we Import and export an XML file in Oracle Please
ThanksSome examples can be found on this {thread:id=410714} forum and also on [Marco's blog|http://www.liberidu.com/blog/] (He's an Oracle Ace in the {forum:id=34} forum)
-
How to wrap import and export in a Unix shell script?
Hi all,
I want to write a simple korn shell Unix script to kick off export and import
for our Oracle 10g refresh databases. Do any of you have a script to do this?
The goal would be:
1. Take export using exp of 10 tables in PROD database on database server1
for the prod schema user
2. Use sftp or scp to copy over the export dump file to database server 2
3. Use a shell script to import the dump file into TEST database server for schema
test
4. use nohup to run the export and import in background through cron job
We are running Oracle 10g Release 2 on Red Hat Linux.
Thanks,
Ben PrusinskiWouldn't it be easier to have both databases in your tnsnames.ora file. Then you can export and import on the same server without copying the files to another server.
script:
exp <username>/<password>@PROD file=<file>.dmp log=<explog>.log owner=prod
imp <username>/<password>@TEST file=<file>.dmp log=<implog>.log fromuser=prod touser=test
run this script as: nohup <scriptname> &
Since you are on oracle10g you can also use datapump (expdp and impdp) for faster exporting and importing, but I do not know the syntax by heart -
Oracle Import and Export Utility
Hello All,
Could someone please explain me Oracle Import and Export Utility. I've gone through the below link and it has been mentioned to use keyword 'exp' but I'm not getting any idea where to use it. So kindly explain how the util works.Hello;
Export creates a logical backup its great for move tables, schemas etc.
Import bring that data back in.
You can use a parm file with either.
Import example :
imp parfile=in.parm
in.parm ( contains )
userid=system/<password>
fromuser=scott
touser=scott
file=in.dmp
log=in.logemp parfile=out.parm
out.parm ( contains )
userid=system/<password>
owner=scott
file=out.dmp
log=out.dmp
statistics=noneYou can use these commands at the OS level to get quick help.
imp help=y
enp help=yYou can export a subset of a table :
exp scott/t<password> tables=emp query="where deptno=20"You can use options like :
full=y
BUFFER=2000000
GRANTS=y
COMPRESS=yThis utility is being replaced by data pump.
Best Regards
mseberg
There's a short import and export examples here :
http://www.oracle-dba-online.com/export_and_import.htm
Edited by: mseberg on Sep 17, 2011 6:46 PM -
Is it possible to import and export dump between oracle 9 and oracle 11?
Is it possible to import and export dump between oracle 9 and oracle 11?
Source DB : Oracle 11g(unix0
Oracle client : Oracle 9(Windows)
Export import utility : Oracle 9's
Destination DB : oracle 9I am getting the Following Error and export utility is not responding after this.
Export: Release 9.2.0.1.0 - Production on Thu Jul 15 14:37:01 2010
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
server uses AL32UTF8 character set (possible charset conversion) -
How usnig manuplate the Import and export Key word.
How usnig manuplate the Import and export Key word? and
how do the clear of those variable?HI ,
For IMPORT Keyword :---
To retrieve data from the global memory area, use the IMPORT statement. The most basic form of the IMPORT statement is:
IMPORT <variable> FROM MEMORY.
To give the variable a different name in your program from what it is called in the global memory area, use the TO clause. You must define the local variable name with a DATA statement in your program. The format is:
IMPORT <global var> TO <program var> FROM MEMORY.
As with the EXPORT statement, you can specify multiple variables per statement, and you have the option of specifying which cluster ID you wish to import from.
After each IMPORT statement, SY-SUBRC is set to indicate whether or not the cluster ID you specified exists (but not whether specific variables were imported specifically). SY-SUBRC is zero if the cluster exists.
It is also possible to IMPORT and EXPORT to database tables .
ABAP memory that is used to store exported data is user and transaction specific, so when passing data between programs in this manner you must make sure that transaction boundaries are not crossed. Otherwise the contents of this memory will get destroyed and will not be available to the importing program.
For Export Keyword :---
The EXPORT statement moves data from your program into a global memory area. The most basic form of the EXPORT statement is:
EXPORT <variable> TO MEMORY.
This places the specified variable into a global memory area that another program can later read using the IMPORT statement.
You may specify multiple fields in the same EXPORT statement. For example:
EXPORT KNA1-KUNNR KNA1-BUKRS TO MEMORY.
You can give variables a different name in the global memory area using the FROM clause. For example, the following code exports SY-SUBRC and gives it the name RETVAL in the global memory area:
EXPORT RETVAL FROM SY-SUBRC TO MEMORY.
You can specify a cluster ID when exporting data to memory. You can freely choose the name of the cluster ID, which can be up to 32 characters long. Each cluster ID specifies a particular area in memory. Each time you EXPORT data to the same cluster ID, all data previously written to that ID is erased. For example:
EXPORT SY-SUBRC TO MEMORY ID u2018LJS1u2019.
Hope u understand
Thanks
Shambhu -
Issue while importing table from oracle to sql server using import and export wizard
Hi All,
I am trying to populate oracle table to sql server using import export wizard and i am getting the below error.the table is allready present in the database but still it throwing error like table doesn't exists.
Could not connect source component.
Error 0xc0202009: Source - JOB_ACTION_HISTORY [1]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
Error 0xc02020e8: Source - JOB_ACTION_HISTORY [1]: Opening a rowset for ""FLXUSER"."JOB_ACTION_HISTORY"" failed. Check that the object exists in the database.
(SQL Server Import and Export Wizard)
Kindly help me out
Thanks in advanceHi Snehasis,
Please check whether the table name in the Oracle database has lower case letters. The table name should be exactly correct.
In addition, the issue might be related to the Oracle driver. What provider/driver do you use? If you use Microsoft OLE DB Provider for Oracle, you can try the
Oracle OLE DB Provider. If you use Enterprise or Developer edition of SSIS 2008 or higher, you can also try the
Microsoft Connectors for Oracle by Attunity. The Oracle OLE DB Provider and Microsoft Connectors for Oracle are proved to have better performance.
Regards,
Mike Yin
TechNet Community Support
Maybe you are looking for
-
Can we do multiple blog summary pages instead of "go to archive"??
Hello, I have about 50 blog entries in my iWeb blog. I have 15 loading onto the first page. Any more really slows the front page loading times a lot. The only way to see the other blog entries is to click on "go to archive" which just shows a simple
-
Ok I have tried to make a DVD with IDVD about 14 different setting and they all have something wrong with the DVD. The fonts look like someone had eaten about the edges, or the whites have little spike lines in them. the wipes would look like I didn'
-
I need a mail after job is over in background ..
hi gurus can any one suggest me how to get a mail after background job is over either report or bdc job if job is not completed the queries should come to mail how to solve this issue. thank you regards kals.
-
Hi Folks, HP ENVY 14 Notebook (XQ101AV)Win7x64AMD/ATI Mobilty Radeon 5650 Display Adapter Need some help - had a perfectly functional laptop a few days ago - decided to try the Duet Apple App that allows you to run your iPad as a secondary monitor of
-
Hi All, Can anyone tell me how I can retrieve the LDAP groups from a User View? When I retrieve a user View I don't see where the LDAP groups are located on the View. Is there an attribute I'm missing or is there an alternative mechanism to retrieve