1.错误信息
Immediate Kill
Session#: 1024, Serial#: 9855
Immediate Kill
Session: sess: 7000001cc9bb9e8 OS pid: 799228
2.原因:
This
is caused by unpublished Bug 6955040 ALL THE SESSIONS LOST CONNECTION AFTER
KILLING CRSD.BIN.
The
problem is when CRSD is killed or crashed and restarted,
CRSD
will run resource check action but CRS resource status will not be available at
that time.
Then
in instance check action,
it
fails to get the preferred node VIP resource status and considered the
preferred
node
VIP resource is not running.
Therefore,
instance check action will remove the default database service name
and
disconnect sessions connected using default database service name.
简单地说,就是,会话session失去了连接。欲进行资源确认,可是资源状态信息却得不到。
于是,就认为资源没有在运行。
然后,就断开使用默认数据库服务名的session。
然后就没有然后了。。。
3.解决方案
方案一:升级数据库到10.2.0.5或以上版本
The
fix is included in 10.2.0.5 patchset and 11.1.0.7 patchset.
Apply
the patchset once they are available.
方案二:更改服务名,不与db_name一致。
Configure
a service name other than the default one (same as db_name),
and
get user to use the non-default service name for connection.
具体步骤如下
1,获得实例名:
select instance_name from v$instance;
2,获得当前service_names:
SQL> show
parameter name
NAME
TYPE VALUE
------------------------------------
----------- -------------
db_file_name_convert
string
db_name
string orcl
db_unique_name
string orcl
global_names
boolean FALSE
instance_name
string orcl
lock_name_space
string
log_file_name_convert
string
service_names
string orcl
3.更改service_names:
alter system
set service_names = 'orcl1' scope=MEMORY sid='orcl';
分享到:
相关推荐
在ORACLE数据库杀掉会话进程有三种方式: 1:ALTER SYSTEM KILL SESSION 关于KILL SESSION Clause ,官方文档描述alter system kill session实际上不是真正的杀死会话,它只是将会话标记为终止。等待PMON进程来清除...
1、 一些时候,由于我们的数据量很大,相应的事务大并且多,在做shutdown immediate的时候会花费好多的时间,而我们却想用shutdown immediate的方式,而又要把数据库迅速的shutdown下来。 2、 我们的应用可能...
系统级的环境变量一般在/etc/profile 文件中定义 在 CAMS 系统 与数据库 相关的环境变量就定义在/etc/profile 文件中 如下所示 export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=$ORACLE_BASE/...
废话不多说 上语句: 查询锁表语句: select object_name,...alter system kill session 'sid,serial#'; 例如: alter system kill session '20,182'; 如果杀不掉可以加个 immediate 立即杀掉 试试; alter sys
常见问题及处理方案 CPU使用率高的问题 通过操作系统命令top topas glance等查看top进程号,确认是系统进程还是oracle应用进程,查询当前top进程执行的操作和sql语句进行分析。 根据进程号获取正在执行的sql ...
ORACLE的数据字典是数据库的重要组成部分之一,它随着数据库的产生而产生, 随着数据库的变化而变化, 体现为sys用户下的一些表和视图。数据字典名称是大写的英文字符。 数据字典里存有用户信息、用户的权限信息、...
ORACLE的数据字典是数据库的重要组成部分之一,它随着数据库的产生而产生, 随着数据库的变化而变化, 体现为sys用户下的一些表和视图。数据字典名称是大写的英文字符。 数据字典里存有用户信息、用户的权限信息、...
共享内存区域 shutdown immediate 关闭oracle服务器 等session停后停止,-abort 中止,- startup force 强制重起 quit 退出oracle lsnrctl 进入监听 start开始 exit 退出 sh run.sh &启动jboss服务 shutdown.sh -s关闭...
You can now kill a session with the "immediate" option. Connection Enhancements A "Set current schema" item has been added to the connection popup menu. It will set the current schema for all windows...
You can now kill a session with the "immediate" option. Connection Enhancements A "Set current schema" item has been added to the connection popup menu. It will set the current schema for all windows ...
You can now kill a session with the "immediate" option. Connection Enhancements A "Set current schema" item has been added to the connection popup menu. It will set the current schema for all windows...
You can now kill a session with the "immediate" option. Connection Enhancements A "Set current schema" item has been added to the connection popup menu. It will set the current schema for all windows ...