LOCAL=NO是非本地连接
首先通过远程登陆(监听)
sqlplus scott/tiger@192.168.6.11:1521/test
执行下面会看到
点击( 此处 )折叠或打开
[
root@Test11g ~
]
#
ps
-
ef
|
grep
LOCAL
=
NO
|
grep
-
v grep
oracle 24319 1 0 01 : 35 ? 00 : 00 : 00 oracletest ( LOCAL = NO )
干掉这个进程
点击( 此处 )折叠或打开
kill - 9 `ps - ef | grep LOCAL = NO | grep - v grep | awk '{ print $2}' `
然后连接中断
点击( 此处 )折叠或打开
[
oracle@Test11g ~
]
$
sqlplus scott/tiger@192
.
168
.
6
.
11
:
1521/
test
SQL
*
Plus
:
Release 11
.
2
.
.
3
.
0 Production on Fri Jul 10 01
:
35
:
58 2015
Copyright
(
c
)
1982
,
2011
,
Oracle
.
All rights reserved
.
Connected to
:
Oracle Database 11g Enterprise Edition Release 11
.
2
.
.
3
.
0
-
64bit Production
With the Partitioning
,
OLAP
,
Data Mining
and
Real Application Testing options
01
:
35
:
59 SQL
>
select
*
from tab
;
select
*
from tab
*
ERROR at line 1
:
ORA
-
03113
:
end
-
of
-
file on communication channel
Process ID
:
24319
Session ID
:
48 Serial number
:
621
Elapsed : 00 : 00 : 00 . 35
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29990276/viewspace-1734007/ ,如需转载,请注明出处,否则将追究法律责任。