Home  >  Article  >  Database  >  shutdown immediate一直停在那里

shutdown immediate一直停在那里

WBOY
WBOYOriginal
2016-06-07 16:48:291911browse

今天用PL/SQL连接服务器,一直没反应,我就登录服务器直接sqlplus连接是可以的,然后lsnrctl status发现一直是connect的。

今天用PL/SQL连接服务器,一直没反应,我就登录服务器直接sqlplus连接是可以的,然后lsnrctl status发现一直是connect的。
 
尝试shutdown immediate,一直停在那里不动,只能用shutdown abort 强制关闭。
 
关闭后lsnrctl status还是发现一直在连接,用ps -ef|grep tns,找到监听的进程,将其杀掉。
 
至此客户端可以登录了

相关阅读:

rlwrap - 解决Linux下SQLPLUS退格、上翻键乱码问题

SQLPLUS spool 到动态日志文件名

Oracle SQLPLUS提示符设置

通过设置SQLPLUS ARRAYSIZE(行预取)加快SQL返回速度

本文永久更新链接地址:

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn