- 最后登录
- 2014-5-21
- 在线时间
- 33 小时
- 威望
- 0
- 金钱
- 126
- 注册时间
- 2012-7-21
- 阅读权限
- 10
- 帖子
- 39
- 精华
- 0
- 积分
- 0
- UID
- 636
|
13#
发表于 2013-10-5 15:32:40
hi , maclean liu:
我定位到是/etc/init.d/init.ohasd run 不能随机自动启动。
跟你的这篇文章类似:
11g的ohasd无法随机启动
http://feed.askmaclean.com/archives/11g%E7%9A%84ohasd%E6%97%A0%E6%B3%95%E9%9A%8F%E6%9C%BA%E5%90%AF%E5%8A%A8.html
我检查过了配置文件如下:
bash-3.2$ cat /etc/inittab
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# The /etc/inittab file controls the configuration of init(1M); for more
# information refer to init(1M) and inittab(4). It is no longer
# necessary to edit inittab(4) directly; administrators should use the
# Solaris Service Management Facility (SMF) to define services instead.
# Refer to smf(5) and the System Administration Guide for more
# information on SMF.
#
# For modifying parameters passed to ttymon, use svccfg(1m) to modify
# the SMF repository. For example:
#
# # svccfg
# svc:> select system/console-login
# svc:/system/console-login> setprop ttymon/terminal_type = "xterm"
# svc:/system/console-login> exit
#
#ident "@(#)inittab 1.41 04/12/14 SMI"
ap::sysinit:/sbin/autopush -f /etc/iu.ap
sp::sysinit:/sbin/soconfig -f /etc/sock2path
smf::sysinit:/lib/svc/bin/svc.startd >/dev/msglog 2<>/dev/msglog </dev/console
p3:s1234:powerfail:/usr/sbin/shutdown -y -i5 -g0 >/dev/msglog 2<>/dev/msglog
h1:3:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null
pt:s1234:powerfail:/lib/svc/method/installupdates lock |
|