|
-
Hi jovery,
Thanx for that .. i am able to use the script when i paste the same on the terminal window .. but when i save it as a shell script and execute it, its getting stopped after logging in as oracle.
and once i exit from the oracle user.. remaining commands are being executed.
su - oracle
svrmgrl << EOF
connect internal
startup
EOF
lsnrctl start
exit
exit
Sitaram KUlkarni
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|