ITPub博客

首页 > 数据库 > Oracle > TNS-01101: Could not find service name for LISTENER_SCANx (文档 ID 1064628.1)c

TNS-01101: Could not find service name for LISTENER_SCANx (文档 ID 1064628.1)c

Oracle 作者:event_horizon 时间:2017-05-08 00:58:20 0 删除 编辑

在检查listener_scan1时报TNS-01101: Could not find service name LISTENER_SCAN1

[sql] view plain copy
 print?
  1. [oracle@rac-2 ~]$ lsnrctl status LISTENER_SCAN1  
  2.   
  3. LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 08-APR-2014 09:56:21  
  4.   
  5. Copyright (c) 1991, 2011, Oracle.  All rights reserved.  
  6.   
  7. TNS-01101: Could not find service name LISTENER_SCAN1  

该问题需要在配置环境中添加



[sql] view plain copy
 print?
  1. export GRID_HOME=/u02/11.2.0/grid  
  2. export TNS_ADMIN=$GRID_HOME/network/admin  

原因:


11gR2 Grid Infrastructure is installed as a user different from the existing oracle database user. TNS_ADMIN environment variable is unset and 3 SCAN Listeners are running out of GRID_HOME. 


参考:

TNS-01101: Could not find service name for LISTENER_SCANx (文档 ID 1064628.1)

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

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

注册时间:2017-05-04

  • 博文量
    17
  • 访问量
    12936