1. su-Oracle-switch Oracle users (if suoracle is used, the. profile user environment configuration file is not run at startup) $ lsnrctlstart-start
1. su-Oracle-switch Oracle users (If su oracle is used, the. profile user environment configuration file is not run at startup) $ lsnrctl start-start
1. su-Oracle-switch Oracle users (If su oracle is used, the. profile user environment configuration file is not run at startup)
$ Lsnrctl start-start the listener
2. Start the database
$ Sqlplus "/as sysdba"-use the sys user to log on to sqlplus
SQL * Plus: Release 9.2.0.5.0-Production on Thu Oct 9 15:06:11 2003
Copyright (c) 1982,200 2, Oracle Corporation. All rights reserved.
Connected to an idle instance.
SQL> startup-start the database
ORACLE instance started.
Total System Global Area 538412728 bytes
Fixed Size 743096 bytes
Variable Size 268435456 bytes
Database Buffers 268435456 bytes
Redo Buffers 798720 bytes
Database mounted.
Database opened.
SQL> exit-exit sqlplus
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.5.0-64bit Production
With the Partitioning option
JServer Release 9.2.0.5.0-Production
Or
$ Dbstart
3. view database Processes
$ Ps-ef | grep ora _-view the oracle Process
Oracle 688322 1 0 15:06:20-ora_smon_bxmis
Oracle 696534 704704 0 15:06:35 pts/4 grep ora _
Oracle 729224 1 0 15:06:20-ora_dbw0_bxmis
Oracle 745618 1 0 15:06:20-ora_reco_bxmis
Oracle 770216 1 0 15:06:20-ora_ckpt_bxmis
Oracle 778394 1 0 15:06:20-ora_pmon_bxmis
Oracle 843876 1 0 15:06:20-ora_qmn0_bxmis
Oracle 901342 1 0 15:06:20-ora_lgwr_bxmis
Oracle 925704 1 0 15:06:20-ora_cjq0_bxmis
$ Ps-ef | grep lsnr-view the oracle listening process
4. Shut down the database
$ Sqlplus "/as sysdba"
SQL * Plus: Release 9.2.0.5.0-Production on Thu Oct 9 15:07:04 2003
Copyright (c) 1982,200 2, Oracle Corporation. All rights reserved.
Connected:
Oracle9i Enterprise Edition Release 9.2.0.5.0-64bit Production
With the Partitioning option
JServer Release 9.2.0.5.0-Production
SQL> shutdown immediate-Shut down the database
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.5.0-64bit Production
With the Partitioning option
JServer Release 9.2.0.5.0-Production
Or
$ Dbshut
5. Stop database listening
$ Lsnrctl stop --- stop listening