oa数据库Oracle隔一段时间远程连不上,但是oa还是能连上数据库
2013-12-23 10:41
302 查看
oa数据库用的是Oracle,运行一段时间远程连不上数据库(用plsql developer也连不上),但是oa还是能正常运行能连上数据库
诊断:
1、检查监听状态时卡住
root@OAServer2 # su - oracle
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
$ lsnrctl status
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 05-AUG-2013 14:08:25
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
(一直卡住这里);
2、检查监听进程,发现有2个监听程序(其中一个监听进程20044的时间和listener.log日志的最后修改时间(2013-7-29 12:58)都是同一天(今天是2013-8-5),猜测可能是这天出了什么问题导致又开启一个监听进程)
root@OAServer2 # ps -ef|grep tns
oracle 373 1 0 3月 04 ? 361:50 /oa2/oracle10g/product/10.2.0.1/
bin/tnslsnr LISTENER -inherit
oracle 20044 373 0 7月 29 ? 0:00 /oa2/oracle10g/product/10.2.0.1/b
in/tnslsnr LISTENER -inherit
root 8822 8806 0 13:55:50 pts/1 0:00 grep tns
3、root@OAServer2 # su - oracle
kill -9 20044 杀掉一个进程,再远程连接数据库成功
诊断:
1、检查监听状态时卡住
root@OAServer2 # su - oracle
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
$ lsnrctl status
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 05-AUG-2013 14:08:25
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
(一直卡住这里);
2、检查监听进程,发现有2个监听程序(其中一个监听进程20044的时间和listener.log日志的最后修改时间(2013-7-29 12:58)都是同一天(今天是2013-8-5),猜测可能是这天出了什么问题导致又开启一个监听进程)
root@OAServer2 # ps -ef|grep tns
oracle 373 1 0 3月 04 ? 361:50 /oa2/oracle10g/product/10.2.0.1/
bin/tnslsnr LISTENER -inherit
oracle 20044 373 0 7月 29 ? 0:00 /oa2/oracle10g/product/10.2.0.1/b
in/tnslsnr LISTENER -inherit
root 8822 8806 0 13:55:50 pts/1 0:00 grep tns
3、root@OAServer2 # su - oracle
kill -9 20044 杀掉一个进程,再远程连接数据库成功
相关文章推荐
- ORACLE配置本地数据库给远程连接
- ORACLE远程连接数据库
- .net 程序远程连接 Oracle 数据库
- PL/SQL可以连oracle,但是jdbc连不上
- 将oracle远程数据库导出导入到本地
- 用Instant Client,不安装oracle客户端使用sqlplus连接远程数据库
- PL/SQL可以连oracle,但是jdbc连不上 【转】
- oracle连接远程数据库配置介绍
- 使用database control 配置数据库时,要求在当前oracle主目录中配置监听程序,必须运行Netca以配置监听程序,然后才能继续。或者可以选择继续,但是不要使用database cont
- 从SQL Server向Oracle迁移的技术实现方案(十)连接远程的数据库(包括不同服务器)
- 本机不安装Oracle客户端,使用PL/SQL Developer连接远程数据库
- 配置本地X Server远程安装Oracle 数据库
- 程序连不上数据库 已成功与服务器建立连接,但是在登录前的握手期间发生错误
- 如何使用PLSQL连接远程服务器oracle数据库
- PHP + ORACLE 远程连接数据库环境配置
- PL/SQL连接远程oracle 11g数据库
- 数据库扫描器远程连接Oracle、SqlServer、Mysql
- 利用oracle instant client,不安装客户端使用plsql远程连接数据库
- Oracle远程连接数据库设置
- oracle服务器配置监听,供本地或远程操作数据库