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
953 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
48 0
《loTCandyJarTowards an Intelligent-Interaction Honeypot for loT Devices》电子版地址
|
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
How to trouble shoot if there is no entityset available when creating a tile
无法使用UI configuration的trouble shooting
无法使用UI configuration的trouble shooting
无法使用UI configuration的trouble shooting
|
算法
Reading《Practical lessons from predicting clicks on Ads at Facebook》(1)
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/sinat_32502811/article/details/80794980 因为在做京东的算法大赛,小白选手,看了一些别人的入门级程序,胡乱改了一通,也没有什么大的进展,而且感觉比赛的问题和点击率预估还是有点像的,所以搜了个论文来读,看看牛人们的思路。
2240 0
|
数据库
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.
1585 0
When Tech Meets Love – Smarter Ways to NOT be Single
A Knight's Journey
总时间限制: 1000ms 内存限制: 65536kB描述BackgroundThe knight is getting bored of seeing the same black and white squares again and again and has decided to make a journeyaround the world.
1145 0
(zhuan) Prioritized Experience Replay
Prioritized Experience Replay JAN 26, 2016       Schaul, Quan, Antonoglou, Silver, 2016 This Blog from: http://pemami4911.
1337 0