今天發現,雙機配置好了,oracle在一臺機器上運行正常,在另外一臺不能運行,看配置文件,都沒有問題。sql
看hacmp的日誌,也沒有發現異常,兩個節點都同樣,手工執行一下啓動腳本,發現瞭如下錯誤 :數據庫
# ./startorcl2.shoracle
LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production on 31-DEC-1969 19:14:10日誌
Copyright (c) 1991, 2007, Oracle. All rights reserved.io
TNS-01106: Listener using listener name orcl has already been started配置
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Dec 31 19:14:10 1969date
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.List
SQL> Connected to an idle instance.im
SQL> ORA-01513: invalid current time returned by operating system配置文件
SQL> Disconnected
#### ##### ## ##### ##### #### ##### #### #
# # # # # # # # # # # # # #
#### # # # # # # # # # # # #
# # ###### ##### # # # ##### # #
# # # # # # # # # # # # # # #
#### # # # # # # #### # # #### ######
再手工,執行數據庫啓動,也報同樣的錯誤:
$ sqlplus /nolog
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Dec 31 19:15:13 1969
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup nomount;
ORA-01513: invalid current time returned by operating system
再次查看,天,日期怎麼是 Dec 31 19:15:13 1969 ,修改日期,問題搞定:
# date 0202175615
Mon Feb 2 17:56:43 CST 2015
# date
Mon Feb 2 17:56:44 CST 2015
# su - oracle
$ sqlplus /nolog
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Feb 2 17:56:52 2015
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 2516582400 bytes
Fixed Size 2086136 bytes
Variable Size 536873736 bytes
Database Buffers 1962934272 bytes
Redo Buffers 14688256 bytes