- 论坛徽章:
- 0
|
用自动启动脚本启动oracle数据库,脚本放在/etc/init.d/下,
os: rhel as 3
oracle:Oracle10G
以前启动的时候,数据库启动正常,今天启动机器的时候,显示oracle正常启动,但是,用SQL*Plus连接的时候,出现如下错误
ERROR:
ORA-01033:ORACLE initialization or shutdown in progress
然后我就重新启动数据库,
/etc/init.d/oracle start
信息如下:(速度很快,不正常,但我找不出毛病在那儿)
Starting Oracle10G:
LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 29-JUL-2004 10:46:01
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.1.0.2.0 - Production
System parameter file is /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=finance)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.1.0.2.0 - Production
Start Date 29-JUL-2004 10:46:01
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=finance)(PORT=1521)))
Services Summary...
Service "LSExtProc" has 1 instance(s).
Instance "LSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
SQL*Plus: Release 10.1.0.2.0 - Production on Thu Jul 29 10:46:01 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL>; Connected to an idle instance.
SQL>; ORACLE instance started.
Total System Global Area 184549376 bytes
Fixed Size 778016 bytes
Variable Size 87040224 bytes
Database Buffers 96468992 bytes
Redo Buffers 262144 bytes
Database mounted.
ORA-16014: log 1 sequence# 221 not archived, no available destinations
ORA-00312: online log 1 thread 1: '/u02/oradata/cwda/redo01.log'
SQL>; Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Database "cwda" warm started.
我用/etc/init.d/oracle stop关闭数据库,显示数据库根本没有启动,不知原因如何?
Shutting down Oracle10G:
SQL*Plus: Release 10.1.0.2.0 - Production on Thu Jul 29 10:51:55 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL>; Connected.
SQL>; ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL>; Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Database "cwda" shut down.
LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 29-JUL-2004 10:51:58
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
The command completed successfully |
|