Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: emctl appears to need $DISPLAY
On Wed, 27 Jul 2005 01:50:13 +0000, IANAL_VISTA wrote:
> Arthur Salazar <asalazar_at_asalazar.visionsolutions.com> wrote in > news:pan.2005.07.26.23.50.15.960482_at_asalazar.visionsolutions.com: >
I call sqlplus a little later in the script (I paseted some snippets below).
But this is getting me thinking...
Your comment makes me think that emctl and sqlplus may be redundant somehow in a startup script. My understanding was that sqlplus started the database, lsnrctl starts listeners for remote users and emctl starts a web server for access to management functions over the web (specifically http).
Perhaps I have it wrong. Can you clarify for me or send me a pointer to additional information?
Thanks,
-arthur
My startup script does (assume appropriate environement set up):
[version 10g]
lsnrctl start
isqlplusctl start
emctl start dbconsole
sqlplus / as sysdba << EOF
startup
quit
EOF
[version 9i]
lsnrctl start
sqlplus /nolog <<EOF
connect / as sysdba
startup
EOF
and the shut down is:
[version 10g]
emctl stop dbconsole
isqlplusctl stop
lsnrctl stop
sqlplus / as sysdba << EOF
shutdown immediate
quit
EOF
[version 9i]
lsnrctl stop
sqlplus /nolog <<EOF
connect / as sysdba
shutdown immediate
EOF
I start and stop Apache separatly for version 9 with:
apachectl start
apachectl stop
Received on Thu Jul 28 2005 - 11:16:49 CDT