在关闭数据库时遇到 waiting for active calls to complete
Kevin Zou
2012-2-28
这是一个11.2 的环境,搭建在windows 2008上。 平时关闭数据库时都很顺利的,但是今天出了问题。
在命令行关闭时,一直没有反应。
查看alert.log日志,发现有这样的一段话:
SHUTDOWN: waiting for active calls to complete.
嗯。
查看任务管理器,没有发现ID为 的进程。
Windows 平台是没有KILL的这个命令的。 只好进入到Service 界面,把OracleServiceSID 服务关闭。
看到之前处于HOLD 状态的SHUTDOWN 命令结束,再重启下DB看下是否有啥影响,没有问题。再次关闭,一切正常。
在METALINK上有篇文章是介绍这个问题的:ID 1039389.6
You are attempting to shut down the database and the database hangs. The
alert log contains the following message:
SHUTDOWN: Waiting for active calls to complete
There are no other error messages in the alert log.
Solution Description:
=====================
--------------------------------------------------------
Caveat: This note is intended for Unix platforms primarily, but we should
address this issue on Windows platforms as well. On Windows, stopping the
service is a valid workaround for these errors.
--------------------------------------------------------
Explanation:
============
The database is waiting for pmon to clean up processes, but pmon is unable to
clean them. The client connections to the server are causing the shutdown
immediate or normal to hang. Killing them allows pmon to clean up and release
the associated Oracle processes and resources.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/40239/viewspace-717268/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/40239/viewspace-717268/