- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problrm running script
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 03:35 AM
11-07-2003 03:35 AM
problrm running script
I already had changed the permissions
(apologize for incomplete info)
However i added the location of my script with in the script and still I get the same error
and script looks like this
name of the script whoami
cd /home/kchinsky/scripts
show user
select * from global_name
exit
I logon to sqlplus
user/pasword
@whoami
and I get
SP2-0310: unable to open file "whoami.sql"
any help is appreciated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 04:05 AM
11-07-2003 04:05 AM
Re: problrm running script
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 04:06 AM
11-07-2003 04:06 AM
Re: problrm running script
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 04:14 AM
11-07-2003 04:14 AM
Re: problrm running script
sqlplus user/
if no ext. is given .sql is assumed, hence the error message.
Rgds,
JL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 04:53 AM
11-07-2003 04:53 AM
Re: problrm running script
why is there a unix command in the sql script? Otherwise the others are correct. Without extension .sql ia assumed.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 05:45 AM
11-07-2003 05:45 AM
Re: problrm running script
When in sqlplus, try running your script writing all the path (e.g. @/home/kchinsky/scripts/whoami.sql)
Also comment the cd /home/kchinsky/scripts line.
If you still have problems, if you have permissions, try running your script loging as oracle user and changing your scripts owner and group to match those of unix oracle user and try,just to be sure your script is running fine.
Alberto.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 07:35 AM
11-07-2003 07:35 AM
Re: problrm running script
I took the unix code out of the script.
reason I had it to locate path for script but that was wrong. any how I tried to give a path as i was suggested but i still have a same error.
I did not quite undesrtand oracle user login etc.
I am logged on unix box with unix id/password, then I logged in sqlplus with oracle id and password.
and here I tried to run the script @/home/kchinsky/scripts/whoami.sql
and I have same error.
thanks again for your help.
any sugessions are welcome.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 08:07 AM
11-07-2003 08:07 AM
Re: problrm running script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 11:26 PM
11-07-2003 11:26 PM
Re: problrm running script
would you please be so kine to award some points for the ones, who helped to solve the problem?
thanks,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 04:23 AM
11-19-2003 04:23 AM
Re: problrm running script
would you please be so kine to award some points for the ones, who helped to solve the problem?
thanks,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 05:21 AM
11-19-2003 05:21 AM
Re: problrm running script
Forget the points. Could you post the solution?
Regards,
dl