从 read 调用中得到负一

发布于 2024-09-01 21:13:13 字数 326 浏览 4 评论 0原文

我使用 SQL Developer 连接到具有只读访问权限的数据库。这是 TNS 连接。我使用 tnsnames.ora、转发端口脚本和 SQL Developer。

过去,连接时偶尔会收到错误消息 从 read 调用中得到负一。 供应商代码 0

如果我重新启动,它就会消失。另一位朋友建议更改对他有用的转发端口。

我最近升级到了一台新计算机,现在似乎我不断收到错误消息。重新启动或更改转发端口根本没有帮助。

端口转发脚本包含类似这样的内容

putty -L (port):(machine name):1521

有人知道吗?谢谢。

I connect to a database with read only access using SQL developer. It's a TNS connection. I use a tnsnames.ora, forwarding port script and SQL Developer.

In the past, occasionally, when connecting, I get a error message
Got a minus one from a read call.
Vendor Code 0

If I do a reboot, it goes away. Another friend suggested changed the forwarding port which worked for him.

I recently upgraded to a new computer and now it seems that I am getting the error message consistently. Reboot or changing forwarding port does not help at all.

The port forwarding script contains something like this

putty -L (port):(machine name):1521

Does anybody have any idea? Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

忆依然 2024-09-08 21:13:13

我的端口转发脚本转发多个端口。以某种方式将它们分成两个较小的文件,这个错误就消失了。

My port forwarding script forwards multiple ports. Somehow separating them into 2 smaller file, this error went away.

稀香 2024-09-08 21:13:13

检查您的 sqlnet.ora 文件并注释是否有如下所示的任何条目。

tcp.validnode_checking = yes

tcp.invited_nodes=(<hostname_1>, <hostname_2>)

现在重新加载您的侦听器并检查 SQL Developer 的连接。

lsnrctl reload <SID>

Check your sqlnet.ora file and comment if there is any entry like the below.

tcp.validnode_checking = yes

tcp.invited_nodes=(<hostname_1>, <hostname_2>)

Now reload your listener and check the connectivity from SQL Developer.

lsnrctl reload <SID>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文