ITPub博客

首页 > 数据库 > Oracle > Oracle 11G OCP 1Z0-052 132

Oracle 11G OCP 1Z0-052 132

原创 Oracle 作者:LuiseDalian 时间:2014-07-18 07:50:50 0 删除 编辑
(132)The tnsnames.ora file has an entry for the service alias ORCL as follows:

ORCL =( DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = 10.156.24.216)(PORT = 1521)) (CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = orcl.oracle.com)))

The TNSPING command executes successfully when tested with ORCL, but you are not able to connect to the database instance with the following command:

SQL> CONNECT scott/tiger@orcl

What could be the reason for this?

A. The listener is not running on the database node.

B. The TNS_ADMIN environmental variable is set to a wrong value.  

C. The orcl.oracle.com database service is not registered with the listener.

D. The DEFAULT_DOMAIN parameter is set to a wrong value in the sqlnet.ora file.

答案:(C)

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/17013648/viewspace-1221757/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2012-02-06

  • 博文量
    1986
  • 访问量
    6043762