Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

error srpic

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
thomasliju
Asked:
thomasliju
2 Solutions
 
MikeOM_DBACommented:
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
 
slightwv (䄆 Netminder) Commented:
also:
>>@/ldba/10gR2_migration_to_exadata/expdp_sch.sh

with sqlplus you @ a .sql script not a .sh script.
0
 
thomaslijuAuthor Commented:
Correct it is a shell script.
0
 
slightwv (䄆 Netminder) Commented:
>>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
 
Steve WalesSenior Database AdministratorCommented:
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now