I have remote server and access through oracle client and dbartisan.I do have resource and connect privileges.When I am exporting tables from my schema this problem is encountered(ora-12560: TNSrotocol adapter error).I did look into TNSnames.ora file on my computer , which already contains the name of the database I am trying to export from.
Could not understand why ?? I would appreciate if someone could answer to this.where further I should look into.
On your export string that you used to execute the export, how did you define the connectivity to the database
i.e
exp user_name/password
or
exp username/password@remote_db
If it was the fist, then you either have to define the TWO_TASK=remotedb.domain in your environment or you have to resolute that of using the second option.
Before you proceed, try doing a tnsping, and ensure that you can reach that database.
Export: Release 9.2.0.1.0 - Production on Thu Aug 12 08:24:07 2004
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.0.1.4.0 - Production
JServer Release 9.0.1.4.0 - Production
EXP-00056: ORACLE error 942 encountered
ORA-00942: table or view does not exist
EXP-00000: Export terminated unsuccessfully
I did try using= exp userid=bonny@testb file=......
password was applied.But still has either tnsname error or table or view does not exist.
Are you sure the table exists?? Can you describe or select from it in SQL Plus?
Not sure about windows but UNIX doesnt like having brackets round the tables clause:
Yes table exists and I am able to describe and select the table.I have connect and resource privs.I collected staistics from test database using dbms_stats.I want to export this table to use the staistics in another table.
Export: Release 9.2.0.1.0 - Production on Thu Aug 12 09:42:42 2004
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.0.1.4.0 - Production
JServer Release 9.0.1.4.0 - Production
EXP-00056: ORACLE error 942 encountered
ORA-00942: table or view does not exist
EXP-00000: Export terminated unsuccessfully
Export: Release 9.2.0.1.0 - Production on Thu Aug 12 09:42:42 2004
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.0.1.4.0 - Production
JServer Release 9.0.1.4.0 - Production
EXP-00056: ORACLE error 942 encountered
ORA-00942: table or view does not exist
EXP-00000: Export terminated unsuccessfully
Thanks for all your help.I really appreciate.
dude, you're using 9.2 version of export against a 9.0 database. Use the same version. Where does ORA-12560 come into play?
Bookmarks