ORA-00029: session is not a user session

本文描述了在Ubuntu环境中使用Cloudfoundry集成Oracle时,通过Ruby查询数据库遇到ORA-00029错误的情况。分析表明尝试杀死的会话可能为后台进程,而非用户会话,并提供了在操作系统级别终止此类后台会话的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1、问题描述

ubuntu环境下,cloudfoundry集成oracle,使用ruby查询数据库时,出现如上错误

2、原因分析

You are trying to kill a session with the alter system command and you did specify a correct sid and serial number.
The session however is not a user session, but probably will be a background session:


3、解决办法

If you really have a need to kill a background session – which is strongly discouraged – you need to kill the process on operating system level.


原帖链接 http://www.dbmotive.com/ora-00029-session-is-not-a-user-session/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值