tnsping通但无法连接的问题处理

C:\Documents and Settings\sn10712>tnsping MYTESTDB

TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 17-4月 -
2013 13:00:49

Copyright (c) 1997, 2007, Oracle.  All rights reserved.

已使用的参数文件:
F:\app\SN10712\product\11.1.0\db_1\network\admin\sqlnet.ora


已使用 TNSNAMES 适配器来解析别名
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = 10.10.21.25)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = testdb)))
OK (80 毫秒)

C:\Documents and Settings\sn10712>


SQL> conn scott/tiger@MYTESTDB
ERROR:
ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务

 

SQL> show parameter serv

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
fal_server                           string
gcs_server_processes                 integer     0
max_shared_servers                   integer
parallel_max_servers                 integer     10
parallel_min_servers                 integer     0
parallel_server                      boolean     FALSE
parallel_server_instances            integer     1
parallel_servers_target              integer     4
rdbms_server_dn                      string
sec_return_server_release_banner     boolean     FALSE
service_names                        string 

你可能感兴趣的:(故障处理)