Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

error srpic

Posted on 2014-02-27
6
Medium Priority
?
223 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 1000 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 78

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 78

Accepted Solution

by:
slightwv (䄆 Netminder) earned 1000 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 23

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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to recover a database from a user managed backup
Suggested Courses

886 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