免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7351 | 回复: 4
打印 上一主题 下一主题

请教关于unix下的监听服务 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-14 10:31 |只看该作者 |倒序浏览
在unix下,要正常地启动监听服务,需要一些什么文件呢?这些文件都放在哪个目录下?
我这里的数据库监听无法启动了,运行Lsnrctl就出很多错误信息。我怀疑是某些文件丢失了。
下面是某些错误信息:
这是运行lsnrctl后出现的错误:
Message 850 not found; No message file for product=network, facility=NL

运行start后的错误:
TNS-01106: Message 1106 not found; No message file for product=network, facility=TNS       [LISTENER]

status后的错误:
Message 1053 not found; No message file for product=network, facility=TNSMessage 1020 not found; No message file for product=network, facility=TNSMessage 1021 not found; No message file for product=network, facility=TNSMessage 1022 not found; No message file for product=network, facility=TNSMessage 1023 not found; No message file for product=network, facility=TNSMessage 1026 not found; No message file for product=network, facility=TNSMessage 1034 not found; No message file for product=network, facility=TNSMessage 1024 not found; No message file for product=network, facility=TNSMessage 1025 not found; No message file for product=network, facility=TNSMessage 1040 not found; No message file for product=network, facility=TNSMessage 1033 not found; No message file for product=network, facility=TNSMessage 1028 not found; No message file for product=network, facility=TNSMessage 1029 not found; No message file for product=network, facility=TNS  Message 1039 not found; No message file for product=network, facility=TNS
  Message 1039 not found; No message file for product=network, facility=TNS
Message 1052 not found; No message file for product=network, facility=TNS

请指教啊!
谢谢!

论坛徽章:
0
2 [报告]
发表于 2006-07-14 11:13 |只看该作者
目录 su - oracle
cd $ORACLE_HOME\network\admin\listener.ora
请楼主贴上你oracle环境变量设置

论坛徽章:
0
3 [报告]
发表于 2006-07-14 13:50 |只看该作者
相关变量:
HOME=/home/oracle
IFS='
'
LD_LIBRARY_PATH=/home/oracle/lib64:/home/oracle/lib:/usr/lib:/lib
LINENO=1
LINES=40
LOGNAME=oracle
MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/usr/dt/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/samba/man:/opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/resmon/share/man:/opt/pred/share/man/%L:/opt/pred/share/man:/opt/CC/share/man
NLS_LANG=american_america.ZHS16CGB231280
OPTARG
OPTIND=1
ORACLE_HOME=/home/oracle
ORACLE_SID=ora8
ORA_NLS33=/home/oracle/ocommon/nls/admin/data
PATH=.:/home/oracle/bin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/hparray/bin:/opt/resmon/bin:/opt/pred/bin:/opt/ignite/bin:/opt/CC/bin

下面是listener.ora的内容;
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
      )
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 10.110.67.23(PORT = 1521))
      )
    )
  )

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = /home/oracle)
      (PROGRAM = extproc)
    )
  (SID_DESC=
  (GLOBAL_DBNAME=ora
  (ORACLE_HOME=/home/oracle)
  (SID_NAME=ora
  )
  )

论坛徽章:
0
4 [报告]
发表于 2006-07-14 20:07 |只看该作者
TNS-01106 Listener using listener name string has already been started

Cause: Another listener is already listening on one of the ADDRESSes specified.

Action: Shut down the previous listener specified by the listener name before starting this one.

论坛徽章:
0
5 [报告]
发表于 2006-07-14 20:50 |只看该作者
ok
监听启动是成功得

但这些错误信息是怎么回事?该如何解决呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP