redhat5.8下oracle11g啟動失敗
# redhat5.8下oracle11g啟動失敗
### 日誌文件路徑
-----------------------------
tail -f /u01/app/oracle/product/11.2.0/db_1/startup.log
### 內存調小後啟動失敗
-----------------------------
啟動數據庫報ora-00845
SQL> startup
ORA-00845: MEMORY_TARGET not supported on this system
由於設置sga的大小超過了操作系統/dev/shm的大小
[[email protected] bin]# df -k /dev/shm
tmpfs 2030564 1152224 878340 57% /dev/shm
[[email protected] bin]# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
metalink的文檔:doc id:note:460506.1中進行說明。一是修改參數文件,二是修改/dev/shm大小。
[[email protected] bin]# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
tmpfs /dev/shm tmpfs defaults,size=4096m 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
[[email protected] bin]# umount /dev/shm
[[email protected] bin]# mount /dev/shm
[[email protected] bin]# su - oracle
[[email protected] ]# sqlplus / as sysdba
### 修改hostname啟動失敗
-----------------------------
- 查看日誌
`cat /u01/app/product/11.1.0/db_1/network/admin/listener.ora`
```
# listener.ora Network Configuration File: /u01/app/product/11.1.0/db_1//network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /u01/app/product/11.1.0/db_1)
(SID_NAME = siebtest)
)
)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dbtest.oracle.com)(PORT = 1521))
)
```
redhat5.8下oracle11g啟動失敗