tnsping命令只是测试端口是否通,不检测服务名是否可以解析
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
免费下载资源
·
author: skate
time: 2009/04/07
tnsping命令只是测试端口是否通,不检测服务名是否可以解析
[oracle@ticketb ~]$ tnsping 240
TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 06-APR-2009 22:55:39
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.240)(PORT = 1524))) (CONNECT_DATA = (SERVICE_NAME = dbticket)))
OK (0 msec)
[oracle@ticketb ~]$
tnsping命令只是测试端口是否通,不检测服务名是否可以解析
要检测服务名是否被解析,可以用
lsnrctl services
lsnrctl status
lsnrctl status lsnr_name
看里面是否有要连接的服务名
---end---
GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
已为社区贡献8条内容
所有评论(0)