Solved

error srpic

Posted on 2014-02-27
6
211 Views
Last Modified: 2014-06-09
Why this?

any privlege missing

SP2-0310: unable to open file "/ldba/10gR2_migration_to_exadata/.sql"
SYS@sprefuat1> SYS@sprefuat1> @/ldba/10gR2_migration_to_exadata/expdp_sch.sh*
SP2-0310: unable to open file "/ldba/10gR2_migration_to_exadata/expdp_sch.sh*"
SYS@sprefuat1> ^C

SYS@sprefuat1> ^C
0
Comment
Question by:thomasliju
6 Comments
 
LVL 29

Assisted Solution

by:MikeOM_DBA
MikeOM_DBA earned 250 total points
ID: 39892355
Perhaps you are missing the file name? -------------------------+
                                                                V
SP2-0310: unable to open file "/ldba/10gR2_migration_to_exadata/.sql"
:p

Open in new window

0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39892427
also:
>>@/ldba/10gR2_migration_to_exadata/expdp_sch.sh

with sqlplus you @ a .sql script not a .sh script.
0
 

Author Comment

by:thomasliju
ID: 39892440
Correct it is a shell script.
0
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 250 total points
ID: 39892554
>>Correct it is a shell script.

I know this from all the previous question on it.

You cannot run a shell script from sqlplus.  You run a shell script from a shell window.

The error above is from trying to run a shell script from the SQL sqlplus prompt.
0
 
LVL 22

Expert Comment

by:Steve Wales
ID: 40121511
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question