只有局域网ip,没有外网ip,咱们安装oracle

[复制链接]
查看11 | 回复5 | 2007-5-25 20:05:13 | 显示全部楼层 |阅读模式
我有两个电脑A,B,但是只有一个电脑A有外网ip,两个电脑之间是局域网。
我想在B上安装oracle,让A通过局域网访问B。
现在在B上安装了oracle,但是监听不对。
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
这个什么原因?
如果在B上安装oracle要注意什么吗?
谢谢
回复

使用道具 举报

千问 | 2007-5-25 20:05:13 | 显示全部楼层
能ping通吗?不行的话,改成能ping通的地址
回复

使用道具 举报

千问 | 2007-5-25 20:05:13 | 显示全部楼层
可以ping通,大家都没有尝试给一个只有局域网ip的主机安装oracle呢?
只要重启监听就不能用户了
就报上面的错误。
我的是linux的操作系统
回复

使用道具 举报

千问 | 2007-5-25 20:05:13 | 显示全部楼层
oerr ora 12505
12505, 00000, "TNS:listener could not resolve SID given in connect descriptor"
// *Cause:The SID in the CONNECT_DATA was not found in the listener's tables.
// *Action: Check to make sure that the SID specified is correct.
// The SIDs that are currently registered with the listener can be obtained by
// typing "LSNRCTL SERVICES ". These SIDs correspond to
// SID_NAMEs in TNSNAMES.ORA, or db_names in INIT.ORA.
// *Comment: This error will be returned if the database instance has not
// registered with the listener; the instance may need to be started.
監聽器沒有配正確吧!把監聽器配置貼出來看一下!
回复

使用道具 举报

千问 | 2007-5-25 20:05:13 | 显示全部楼层
解决了,在listener 里面加了一个desc
回复

使用道具 举报

千问 | 2007-5-25 20:05:13 | 显示全部楼层
楼主在B机器上设定一个固定IP就行的,例如192.168.0.2
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行