Solaris to start and stop database scripts

In this forum Oracle Applications DBA's, System Administrators & Developers can share their knowledge/issues.
Post Reply
admin
Posts: 2062
Joined: Fri Mar 31, 2006 12:59 am
Location: Pakistan
Contact:

Solaris to start and stop database scripts

Post by admin »

Create following two file in solaris to start and stop database,

vi startdb.sh

lsnrctl start
sqlplus "/as sysdba" <<!
startup
exit;
!

vi stopdb.sh

lsnrctl stop
sqlplus "/as sysdba" <<!
shutdown immediate
exit;
!
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests