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
2008 0
There appears to be trouble with your network connection.Retrying
《loTCandyJarTowards an Intelligent-Interaction Honeypot for loT Devices》电子版地址
loTCandyJar:Towards an Intelligent-Interaction Honeypot for loT Devices
84 0
《loTCandyJarTowards an Intelligent-Interaction Honeypot for loT Devices》电子版地址
|
Kubernetes Docker 容器
Kubernetes分享-ImagePullBackOff Error的trouble shooting
Kubernetes分享-ImagePullBackOff Error的trouble shooting
233 0
无法使用UI configuration的trouble shooting
无法使用UI configuration的trouble shooting
125 0
无法使用UI configuration的trouble shooting
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...
1568 0
SAP QM Early Lot Creation 04 Inspection Lot Demo
SAP QM Early Lot Creation 04 Inspection Lot Demo   save it.
1254 0
FINDING UNKNOWN MALWARE
http://www.securitytube.net/video/12402 http://www.
867 0