超级菜鸟问题

lywhu 2003-10-25 01:58:09
XP+ORACLE+norton防火墙
oracle启动不了:“连接起时”
是不是因为防火墙的问题?具体如何启动?
另外第一次与oracle接触,能不能提供一些工具基本操作(也就是oraHome90菜单中各个软件的用途和how to use)的中文资料下载?
...全文
20 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
jiezhi 2003-10-25
  • 打赏
  • 举报
回复
USE_SHARED_SOCKET
You can set the USE_SHARED_SOCKET parameter to true to enable the use of shared sockets. If this parameter is set to true, the network listener passes the socket descriptor for client connections to the database thread. As a result, the client does not need to establish a new connection to the database thread and database connection time improves. Also, all database connections share the port number used by the network listener, which can be useful if you are setting up third-party proxy servers.
This parameter only works in dedicated server mode in a TCP/IP environment. If this parameter is set, you cannot use the 9.0 listener to spawn Oracle 7.x databases. To spawn a dedicated server for an Oracle database not associated with the same Oracle home as the listener and have shared socket enabled, you must also set the variable USE_SHARED_SOCKET for both Oracle homes.
jiezhi 2003-10-25
  • 打赏
  • 举报
回复
我自己的經歷的一個例子,希望有幫助:
client-----firewall------server
平台都是win2k server+oracle8.1.6
firewall 是checkpoint的;
client---server ping ok,tnsping ok,但就是连接不上:tns超时,
且无论怎么设置超时的时间,它都是大概经过15秒后出现该错误提示。
但如果不通过防火墙,连接正常。
需要强调的是:防火墙是放开的,同时,另一unix服务器,也是oracle8.1.6,客户端通过防火墙却能正常连接。

解决办法:
在win2k的系统变量中添加变量:TNS_ADMIN,它的值设置为:
d:\oracle\oracle8i\network\admin 也就是存放listener.ora等文件的路径;
在注册表中添加字串值:TNS_ADMIN 它的值同上;
再添加字串值:USE_SHARED_SOCKED,值设置为TRUE,重新启动计算机,
问题解决!!!


17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧