免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5600 | 回复: 4
打印 上一主题 下一主题

求教suse中oracle开机自动启动的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-18 15:46 |只看该作者 |倒序浏览
我在suse10上装了oracle10g(按照suse官方文档装的,先装orarun.rpm包)
我想问的是:
1)/etc/oratab文件中的最后一行改成Y有什么作用?
# This file is used by ORACLE utilities.  It is created by root.sh
# and updated by the Database Configuration Assistant when creating
# a database.

# A colon, ':', is used as the field terminator.  A new line terminates
# the entry.  Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
#   $ORACLE_SIDORACLE_HOME:<N|Y>:
#
# The first and second fields are the system identifier and home
# directory of the database respectively.  The third filed indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#
orcl:/opt/oracle/product/10.2/db_1:Y


2)/etc/sysconfig/oracle文件中更改如下设置有什么用?
ORACLE_BASE=/opt/oracle
START_ORACLE_DB="yes"
START_ORACLE_DB_LISTENER="yes"
START_ORACLE_DB_EMANAGER="yes"
SET_ORACLE_KERNEL_PARAMETERS="yes"

论坛徽章:
0
2 [报告]
发表于 2008-12-18 16:37 |只看该作者
1)/etc/oratab文件中的最后一行改成Y有什么作用?
开机启动oracle..改为N就是不启动咯.
2)/etc/sysconfig/oracle文件中更改如下设置有什么用?
START_ORACLE_DB="yes" 自启动数据库
START_ORACLE_DB_LISTENER="yes" 自启动监听
后面2个不晓得了.

论坛徽章:
0
3 [报告]
发表于 2008-12-18 16:51 |只看该作者
原帖由 crosslife 于 2008-12-18 16:37 发表
1)/etc/oratab文件中的最后一行改成Y有什么作用?
开机启动oracle..改为N就是不启动咯.


可以说得更详细些吗?
“开机启动oracle..”
监听和实例都会被启动吗?

论坛徽章:
0
4 [报告]
发表于 2008-12-18 16:56 |只看该作者
START_ORACLE_DB_EMANAGER="yes"
在安装文档中找到,这个控制oracle事务管理

论坛徽章:
0
5 [报告]
发表于 2008-12-19 10:04 |只看该作者
修改oratab的N-》Y是开机启动数据库实例

修改oracle文件的START_ORACLE_DB_LISTENER="yes"可以开机自动启动监听
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP