分类: Oracle
2005-12-14 12:27:57
Oracle的启动步骤
首先看listener是否启动
oracle@nm1 /u01/app/oracle/product/8.1.7/bin:>./lsnrctl service
LSNRCTL for HPUX: Version 8.1.7.2.0 - Production on 14-DEC-2005
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
HPUX Error: 239: Connection refused
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=nm1)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
HPUX Error: 239: Connection refused
启动listener服务:
oracle@nm1 /u01/app/oracle/product/8.1.7/bin:>./lsnrctl start
LSNRCTL for HPUX: Version 8.1.7.2.0 - Production on 14-DEC-2005
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Starting /u01/app/oracle/product/8.1.7/bin/tnslsnr: please wait...
TNSLSNR for HPUX: Version 8.1.7.2.0 - Production
System parameter file is /u01/app/oracle/product/8.1.7/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/8.1.7/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nm1)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nm1)(PORT=2481))(PROTOCOL_STACK=(PRESENTATION=GIOP)(SESSION=RAW)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for HPUX: Version 8.1.7.2.0 - Production
Start Date 14-DEC-2005
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File /u01/app/oracle/product/8.1.7/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/8.1.7/network/log/listener.log
Services Summary...
PLSExtProc has 1 service handler(s)
ora has 1 service handler(s)
ora2 has 1 service handler(s)
The command completed successfully
oracle@nm1 /u01/app/oracle/product/8.1.7/bin:>svrmgrl
Oracle Server Manager Release 3.1.7.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
Oracle8i Enterprise Edition Release 8.1.7.2.0 - 64bit Production
With the Partitioning option
JServer Release 8.1.7.2.0 - 64bit Production
SVRMGR> connect internal
Password: (输入密码)
Connected.
SVRMGR> startup
ORACLE instance started.
Total System Global Area 238885352 bytes
Fixed Size 104936 bytes
Variable Size 112779264 bytes
Database Buffers 125829120 bytes
Redo Buffers 172032 bytes
Database mounted.
Database opened.
SVRMGR>
到此oracle就算完全启动了;