Trouble shooting连接

简介:
1、ping ip
确保在网络层是能够通信的, eg:ping 192.168.0.105
 
2、tnsping oracle9ivm 10:表示ping oracle_service的服务10次
保证到oracle的服务是通的

3、client连接oracle
(1)方式一:easy connect
sqlplus scott/tiger@192.168.1.105:1521/moree
或者
sqlplus /nolog
conn scott/tiger@192.168.1.105:1521/moree
或者
conn scott
输入口令:tiger@192.168.1.105:1521/moree

注意:不能使用conn scott@192.168.1.105:1521/moree, 此时会提示ORA-12504的错误, 这其实是oracle软件的一个bug, 使用方式一中的第三种方法可以避免这个问题。

(2)方式二:sqlnet.ora, tnsnames.ora

4、Oracle踢出用户
select sid,serial#,username, status  from v$session;
通过上面语句,找出需要踢出的连接用户, 再使用alter system kill session '12,32';就可以了, 其中‘12,32’分别代表  sid和serial#。


本文转自 tianya23 51CTO博客,原文链接:http://blog.51cto.com/tianya23/275241,如需转载请自行联系原作者
相关文章
|
资源调度
There appears to be trouble with your network connection.Retrying
There appears to be trouble with your network connection.Retrying
1991 0
There appears to be trouble with your network connection.Retrying
|
Web App开发
How to trouble shoot if there is no entityset available when creating a tile
How to trouble shoot if there is no entityset available when creating a tile
102 0
How to trouble shoot if there is no entityset available when creating a tile
无法使用UI configuration的trouble shooting
无法使用UI configuration的trouble shooting
122 0
无法使用UI configuration的trouble shooting
|
数据库
When Tech Meets Love – Smarter Ways to NOT be Single
It’s that time of year again. Single’s Day (a.k.a Double 11) is just around the corner, people buying gifts for loved ones.
1623 0
When Tech Meets Love – Smarter Ways to NOT be Single
1013. Battle Over Cities (25)
//连通分量数量 - 1 //如何求连通分量: #include #include #include #include using namespace std; int e[1000][1000], n; bool ...
773 0
(zhuan) Prioritized Experience Replay
Prioritized Experience Replay JAN 26, 2016       Schaul, Quan, Antonoglou, Silver, 2016 This Blog from: http://pemami4911.
|
算法 数据库
Clash Detection
Clash Detection eryar@163.com Abstract. Clash detection is used for the model collision check. The paper introduce the clash detection in PDMS, and a...
1563 0
SAP QM Early Lot Creation 04 Inspection Lot Demo
SAP QM Early Lot Creation 04 Inspection Lot Demo   save it.
1249 0
FINDING UNKNOWN MALWARE
http://www.securitytube.net/video/12402 http://www.
867 0