oracle 11g数据库启动错误总结
1.启动数据库时提示ORA-00845: MEMORY_TARGET not supported on this system
(在oracle 11g中新增的内存自动管理的参数MEMORY_TARGET,它能自动调整SGA和PGA,这个特性需要用到/dev/shm共享文件系统,而且要求/dev/shm必须大于MEMORY_TARGET,如果/dev/shm比MEMORY_TARGET小就会报错)
图:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root 25G 11G 14G 45% /
tmpfs 1.0G 751M 274M 74% /dev/shm --是因为个值小了
/dev/sda1 485M 30M 430M 7% /boot
/dev/sr0 3.6G 3.6G 0 100% /media/CentOS_6.4_Final
[root@centos ~]# mount -o remount,size=2G /dev/shm --修改大小,就不会报错了
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root 25G 11G 14G 45% /
tmpfs 2.0G 751M 1.3G 37% /dev/shm
/dev/sda1 485M 30M 430M 7% /boot
/dev/sr0 3.6G 3.6G 0 100% /media/CentOS_6.4_Final
[oracle@rac1 database]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Sun Sep 18 13:09:15 2016
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> startup
ORA-29760: instance_number parameter not specified
SQL>
[oracle@rac1 database]$ export ORACLE_SID=racdb1 --指定正确的SID号
[oracle@centos ~]$ emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://centos:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 11g Database Control ...
[oracle@centos ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://centos:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control
....................................................................................
------------------------------------------------------------------
[root@centos ~]# ifconfig eth1 --检查服务器的路由和主机IP地址,最好设置为静态的
eth1 Link encap:Ethernet HWaddr 08:00:27:5C:4A:F6
inet addr:2.2.2.114 Bcast:2.2.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe5c:4af6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:88220 errors:0 dropped:0 overruns:0 frame:0
TX packets:43011 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:6611001 (6.3 MiB) TX bytes:29439365 (28.0 MiB)
Destination Gateway Genmask Flags Metric Ref Use Iface
2.2.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth1
0.0.0.0 2.2.2.1 0.0.0.0 UG 0 0 0 eth1
[oracle@centos ~]$ emctl start dbconsole --启动成功了
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://centos:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ........ started.
------------------------------------------------------------------
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 25 09:31:04 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
Total System Global Area 661209088 bytes
Database Buffers 159383552 bytes
ORA-00205: error in identifying control file, check alert log for more info
[oracle@centos ~]$ ll app/oracle/oradata/orcl/control011.ctl --查看两个控制文件名
-rw-r----- 1 oracle oinstall 9748480 Jan 25 09:30 app/oracle/oradata/orcl/control011.ctl
[oracle@centos ~]$ ll app/oracle/flash_recovery_area/orcl/control02.ctl
-rw-r-----. 1 oracle oinstall 9748480 Jan 25 09:30
app/oracle/flash_recovery_area/orcl/control02.ctl
[oracle@centos ~]$ vim app/oracle/product/11.2.0/dbhome_1/dbs/initorcl.ora --打开配置文件看是否控制文件名写对了没有
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 25 09:42:31 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
5.启动em控制台报错:Environment variable ORACLE_SID not defined. Please define it.
C:\Documents and Settings\Administrator>emctl start dbconsole
Environment variable ORACLE_SID not defined. Please define it.
C:\Documents and Settings\Administrator>set oracle_sid=orcl
C:\Documents and Settings\Administrator>emca -config dbcontrol db -repos recreate
EM Configuration Assistant 10.2.0.1.0 正式版
版权所有 (c) 2003, 2005, Oracle。保留所有权利。
已为数据库 orcl 配置了 Database Control
您已选择配置 Database Control, 以便管理数据库 orcl
是否继续? [yes(Y)/no(N)]: y --输入y确定
-----------------------------------------------------------------
数据库 ORACLE_HOME ................ C:\oracle\product\10.2.0\db_4
通知的发件 (SMTP) 服务器 ...............
-----------------------------------------------------------------
2009-11-13 11:04:36 oracle.sysman.emcp.EMConfig perform
信息: 正在将此操作记录到 C:\oracle\product\10.2.0\db_4\cfgtoollogs\emca\orcl\emc
2009-11-13 11:04:44 oracle.sysman.emcp.util.DBControlUtil stopOMS
信息: 正在停止 Database Control (此操作可能需要一段时间)...
2009-11-13 11:05:08 oracle.sysman.emcp.EMReposConfig dropRepository
信息: 正在删除 EM 资料档案库 (此操作可能需要一段时间)...
2009-11-13 11:06:43 oracle.sysman.emcp.EMReposConfig invoke
2009-11-13 11:06:44 oracle.sysman.emcp.EMReposConfig createRepository
信息: 正在创建 EM 资料档案库 (此操作可能需要一段时间)...
2009-11-13 11:10:13 oracle.sysman.emcp.EMReposConfig invoke
2009-11-13 11:18:10 oracle.sysman.emcp.util.DBControlUtil startOMS
信息: 正在启动 Database Control (此操作可能需要一段时间)...
2009-11-13 11:18:50 oracle.sysman.emcp.EMDBPostConfig performConfiguration
2009-11-13 11:18:50 oracle.sysman.emcp.EMDBPostConfig performConfiguration
警告: 无法创建 Database Control 快捷方式
2009-11-13 11:18:50 oracle.sysman.emcp.EMDBPostConfig performConfiguration
信息: >>>>>>>>>>> Database Control URL 为 http://hzdx:1158/em <<<<<<<<<<<
转载于:https://blog.51cto.com/tongcheng/1354118
oracle 11g数据库启动错误总结相关推荐
- oracle更新快捷方式的错误,oracle 11g数据库启动错误总结
1.启动数据库时提示ORA-00845: MEMORY_TARGET not supported on this system (在oracle 11g中新增的内存自动管理的参数MEMORY_TARG ...
- Oracle 11g 数据库启动和关闭
Oracles11数据库的启动状态 Oracle11g在启动的时候必须经过三个状态:NOMOUNT,MOUNT,OPEN. NOMOUNT: 此状态下只打开数据库实例,读取参数文件. MOUNT: 根 ...
- oracle 关闭数据库实列,Oracle 11g 数据库启动和关闭
Oracles11数据库的启动状态 Oracle11g在启动的时候必须经过三个状态:NOMOUNT,MOUNT,OPEN. NOMOUNT: 此状态下只打开数据库实例,读取参数文件. MOUNT: 根 ...
- ubuntu14.04、CentOS安装oracle 11g数据库【转载】
出处:https://blog.csdn.net/cainanxing/article/details/78988671 ubuntu14.04.CentOS安装oracle 11g数据库 折腾了好久 ...
- 安装Oracle 11g数据库服务器类
<Oracle达人修炼秘籍:Oracle 11g数据库管理与开发指南>第3章Oracle 11g数据库的安装,本章将介绍如何在32位系统结构的Windows 7操作系统平台上对Oracle ...
- 在RHEL6.0 X64系统中安装oracle 11g数据库及安装后设置
前提条件: 1.查看系统版本 [root@server ~]#cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.1 ( ...
- Oracle 11g 数据库基础教程
Oracle 11g 数据库基础教程 课堂笔记 系统服务 操作系统通过服务来管理安装好的Oracle 11g数据库产品的运行 在运行Oracle数据库前,要检查数据库服务有没有启动好 开始»控制面板» ...
- Oracle 11g数据库的部署
一.前言 最近要准备考试了,准备温习下Oracle数据库的相关知识,那么学习Oracle的前提肯定是部署了,目前主流Oracle版本为11g,那么接下来我们就先来一起看下,如何部署Oracle已经对数 ...
- Oracle 11g RAC ASM 错误之(1)
Oracle 11g RAC ASM 错误之(1) 系统环境: 操作系统:RedHat EL5.5 集群软件: GI (11.2.0.1) 数据库软件:Oracle 11g(11.2.0.1) 故障 ...
最新文章
- Centos6.6下载
- 人工智能也能写出如此诗句
- [linux]解决vsftpd 读取目录列表失败的问题
- v3是c语言吗 yolo_YOLOv3
- 精选 GitHub 值得收藏的100个前端项目
- 有向图缩点:tarjan强连通缩点(模板)
- [转载]TopCoder兼职赚钱入门(Part. 1)
- 程序员修神之路--做好分库分表其实很难之二
- MYSQL中时间毫秒数转换及日期格式化
- AI芯片最重要的是什么?Arm中国:背后的软件生态
- 模板方法模式【Template Method Pattern 】
- hbase0.95 官方文档
- 医院信息系统等级保护
- 主数据系统的设计与实现
- icloud显示账户详情不可用_iCloud提示账户详情不可用怎么办 iphone提示账户详情不可用的解决方法...
- python直接把汉字转换为拼音
- MindManager思维导图画法教程
- vue 下载文件流和捕获后端返回的状态码和错误信息的方法
- 幸福公开课字幕 中英文全
- Discuz论坛web网页mp3音频播放器源码下载