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