ora-12170 与 Oracle lsnrctl

  

在startup 启动数据库后,使用plsql去连接数据库时,

出现ora-12170 错误:

在启动、关闭或者重启oracle监听器之前确保使用lsnrctl status命令检查oracle监听器的状态:

1、$lsnrctl status:检查当前监听器的状态

2、$lsnrctl start [listener-name] 启动所有的监听器,可以指定名字来启动特定的监听器

3、$lsnrctl stop [listener-name]  关闭所有的监听器,可以指定名字来关闭特定的监听器

4、$lsnrctl reload  重启监听器,此命令可以代替lsnrctl stop,lsnrctl start

5、lsnrctl hep      可以显示所有可用的监听器命令

常用命令参数:

start - Start the Oracle listener 
stop - Stop the Oracle listener 
status - Display the current status of the Oracle listener 
services - Retrieve the listener services information 
version - Display the oracle listener version information 
reload - This will reload the oracle listener SID and parameter files. This is equivalent to lsnrctl stop and lsnrctl start. 
save_config - This will save the current settings to the listener.ora file and also take a backup of the listener.ora file before overwriting it. If there are no changes, it will display the message “No changes to save for LISTENER” 
trace - Enable the tracing at the listener level. The available options are ‘trace OFF’, ‘trace USER’, ‘trace ADMIN’ or ‘trace SUPPORT’ 
spawn - Spawns a new with the program with the spawn_alias mentioned in the listener.ora file 
change_password - Set the new password to the oracle listener (or) change the existing listener password. 
show - Display log files and other relevant listener information

时间: 2024-08-08 13:42:14

ora-12170 与 Oracle lsnrctl的相关文章

oracle用cmd货plsql登录oracle实例提示“ORA :12170”TNS:连接超时

1,cmd ------ ping ip地址:查看网络问题,能否ping通ip地址 2,cmd ------ tnsping ip地址(或服务器的实例名SID)“ ①如果出现"TNS-12535:操作超时" 提示,可能是服务器端防火墙没有关闭,关闭防火墙即可: ②如果出现下图显示,则证明没有问题: ” 3,cmd ------ netstat - na 查看1521端口是否关闭 ①如果显示关闭,则需要在防火墙设置中将1521端口设为例外: ②如果出现下图显示,则证明没有问题: 4,cm

oracle lsnrctl status|start|stop

[[email protected] ~]$ lsnrctl status LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 06-OCT-2015 21:10:05 Copyright (c) 1991, 2009, Oracle.  All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))STATUS of th

数据库监听卡住 Oracle lsnrctl status 卡在connecting ......

客户端显示 "TNS 连接超时" 运行lsnrctl status Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxx)(PORT=1521))) 查到有2个监听进程在运行 [[email protected] ~]$ ps -ef | grep tns root       125     2  0 Mar29 ?        00:00:00 [netns] oracle   11242     1  0

Oracle listener lsnrctl

lsnrctl(Listener Control)是一家SQL*Net具,用于控制数据库listener,此工具提供了控制命令listener开端.停止,查看listener状态,更改listener配置参数. lsnrctl简介 命令行中输入lsnrctl,你将得到: C:\Documents and Settings\Administrator>lsnrctl LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 26-

(转)认识oracle中的sqlnet.ora tnsnames.ora listener.ora三个文件

概述 在oracle安装目录$HOME/network/admin下,,经常看到sqlnet.ora tnsnames.ora listener.ora这三个文件,除了tnsnames.ora,其他两个文件详细的用途很多人都不太了解.sqlnet.ora 用在oracle client端,用于配置连接服务端oracle的相关参数. tnsnames.ora 用在oracle client端,用户配置连接数据库的别名参数,就像系统中的hosts文件一样.listener.ora 用在oracle

Linux Oracle 11g, lsnrctl start 监听服务启动失败解决办法

[本文谢绝转载原文来自http://990487026.blog.51cto.com] 报错的现象: [[email protected] ~]$ lsnrctl start LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 29-AUG-2016 10:38:59 Copyright (c) 1991, 2009, Oracle.  All rights reserved. Starting /opt/oracle/app/produc

oracle的listener.ora sqlnet.ora tnsnames.ora三个文件的关联性

学习:http://www.cnblogs.com/william-lee/archive/2010/10/20/1856261.html 之前因为安装的是windows server 2008 r2的系统,oracle是11g r2 64bit,因为像很多网友一样,无法使用pl/sql developer 8连接oracle,今天可算连上了,对listener.ora sqlnet.ora tnsnames.ora三个文件.TNSListener服务的认识也深了一层. 先说说我是怎么样连接上的

oracle的sqlnet.ora , tnsnames.ora , Listener.ora 文件的作用(转)

oracle网络配置三个配置文件 listener.ora.sqlnet.ora.tnsnames.ora ,都是放在$ORACLE_HOME/network/admin目录下.1. sqlnet.ora-----作用类似于linux或者其他unix的nsswitch.conf文件,通过这个文件来决定怎么样找一个连接中出现的连接字符串.例如我们客户端输入sqlplus sys/[email protected]假如我的sqlnet.ora是下面这个样子SQLNET.AUTHENTICATION_

转载《Oracle的tnsnames.ora配置(PLSQL Developer)》

今天是重要的一天.将XML数据导入ORACLE遇到很多问题,学了好多,其中很长时间花在网络配置上,刚开始学,具体原因不知道,先把搜集到的好文章存下来,以后慢慢研究. 监听配置文件             为了使得外部进程 如 CAMS后台程序 能够访问 Oracle 数据库 必须配             置 Oracle 网络服务器环境 配置 Oracle 网络服务器环境是通过配置             listener.ora sqlnet.ora 和 tnsnames.ora 共三个文件