2012年12月3日 星期一

Oracle 啟動程序

startup db

sqlplus "/as sysdba"
STARTUP OPEN

listener start

lsnrctl start
lsnrctl status
[root@orcl oracle]# lsnrctl status

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-DEC-2012 16:29:27

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date                04-DEC-2012 16:22:14
Uptime                    0 days 0 hr. 7 min. 13 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /oracle/home/network/admin/listener.ora
Listener Log File         /oracle/diag/tnslsnr/orcl/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=orcl)(PORT=1521)))
Services Summary...
Service "orcl" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully

Oracle Enterprise Manager start

emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0 Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://orcl:1158/em/console

沒有留言:

張貼留言