免费注册 查看新帖 |

Chinaunix

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

redhat 9安装了oracle 9i客户端,连不上服务器端,请看看原因! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-11 09:56 |只看该作者 |倒序浏览
先查看客户端文件的配置:

[root@qd02 /root ]more /export/home/oracle/product/9.2.0/network/admin/tnsnames.ora
# TNSNAMES.ORA Network Configuration File: /export/home/oracle/product/9.2.0.1.0/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.

INST1_HTTP =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = sun280R)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = SHARED)
      (SERVICE_NAME = MODOSE)
      (PRESENTATION = http://HRService)
    )
  )

EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    )
    (CONNECT_DATA =
      (SID = PLSExtProc)
      (PRESENTATION = RO)
    )
  )

LDIMS =
  (DESCRIPTION =
    (ADDRESS_LIST =

[root@qd02 /root ]su - oracle
[oracle@qd02 /export/home/oracle ]./product/9.2.0/bin/sqlplus hshshhsh/mypasswdasd@ldims

SQL*Plus: Release 9.2.0.4.0 - Production on Tue Apr 11 09:48:15 2006

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

ERROR:
ORA-12705: invalid or unknown NLS parameter value specified


Enter user-name:
ERROR:
ORA-12545: Connect failed because target host or object does not exist


Enter user-name:
ERROR:
ORA-12545: Connect failed because target host or object does not exist


SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
可是在另外一台安装Linux机器上安装了oracle9i客户端的机器可以连到服务器端,请问是什么原因?

论坛徽章:
0
2 [报告]
发表于 2006-04-11 11:39 |只看该作者
q求救!

论坛徽章:
0
3 [报告]
发表于 2006-04-11 11:52 |只看该作者
[oracle@qd02 /export/home/oracle/product/9.2.0/bin ]tnsping 192.168.28.228

TNS Ping Utility for Linux: Version 9.2.0.4.0 - Production on 11-APR-2006 11:51:28

Copyright (c) 1997 Oracle Corporation.  All rights reserved.

Used parameter files:
/export/home/oracle/product/9.2.0/network/admin/sqlnet.ora

Used HOSTNAME adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SID=*)(SERVICE_NAME=192.168.28.22)(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.28.22(PORT=1521)))
OK (0 msec)
测试是通的,为什么连不上了?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP