数据库启动错误,以及日志错误

 

 

 ORA-01513: invalid current time returned by operating system

无效的操作系统返回当前时间

 

ORA-16038: log 3 sequence# 403 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 3 thread 1: '/opt/oracle/oradata/orcl/redo03.log'

归档日志错误,需要清理

 

Last login: Tue Sep 29 14:51:41 2015 from 192.168.155.81
y160:~ # su - oracle
oracle@y160:~> sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 28 13:03:35 1973

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

SQL> conn / as sysdba
Connected to an idle instance.
SQL> shutdown immediate
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
SQL> startup
ORA-01513: invalid current time returned by operating system
SQL> exit
Disconnected
oracle@y160:~> exit
logout
y160:~ # date
Wed Mar 28 13:08:51 CST 1973
y160:~ # date -s 2015-10-28
Wed Oct 28 00:00:00 CST 2015
y160:~ # date
Wed Oct 28 00:00:03 CST 2015
y160:~ # date -s 15:41:30
Wed Oct 28 15:41:30 CST 2015
y160:~ # date
Wed Oct 28 15:41:31 CST 2015
y160:~ # su - oracle
oracle@y160:~> sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on Wed Oct 28 15:42:36 2015

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.

Total System Global Area  603979776 bytes
Fixed Size                  2022664 bytes
Variable Size             146801400 bytes
Database Buffers          452984832 bytes
Redo Buffers                2170880 bytes
Database mounted.
ORA-16038: log 3 sequence# 403 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 3 thread 1: '/opt/oracle/oradata/orcl/redo03.log'

SQL> alter database clear unarchived logfile '/opt/oracle/oradata/orcl/redo03.log';

Database altered.

SQL> startup
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown
ORA-01109: database not open


Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area  603979776 bytes
Fixed Size                  2022664 bytes
Variable Size             146801400 bytes
Database Buffers          452984832 bytes
Redo Buffers                2170880 bytes
Database mounted.
Database opened.
SQL> 

  

 

 

OK!

 

 

你可能感兴趣的:(数据库启动错误,以及日志错误)