Solved

error srpic

Posted on 2014-02-27
6
207 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
Comment Utility
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)
Comment Utility
also:
>>@/ldba/10gR2_migration_to_exadata/expdp_sch.sh

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

Author Comment

by:thomasliju
Comment Utility
Correct it is a shell script.
0
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 250 total points
Comment Utility
>>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
Comment Utility
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to recover a database from a user managed backup

771 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now