Loading

使用 Mac 连接到 Oracle 时出现错误“ORA-21561: OID generation failed”

发布日期: Jul 20, 2023
描述
尝试在 Mac 上从 Tableau Desktop 连接到 Oracle 时,可能会发生以下错误:

An error occurred while communicating with the Oracle Database data source '<data source name>'.

Oracle database error 21561: ORA-21561: OID generation failed

Unable to connect to the server "<server name>". Check that the server is running and that you have access privileges to the requested database.(无法连接到服务器。 请检查服务器是否正在运行,并且您具有所请求的数据库的访问权限。)

Cause

本地计算机名称和与 127.0.0.1 IP 地址关联的名称不相同。
解决方案

选项 1

在 Mac 上编辑 hosts 文件,通过将计算机名称添加到 127.0.0.1 一行的结尾来包括本地计算机名称。例如,hosts 文件的最后一行将显示为:
127.0.0.1 localhost <local computer name>
有关详细信息,请参阅 Apple 社区论坛上的 Edit Host File in Mountain Lion(在 Mountain Lion 中编辑 Host 文件)或 iMore 上的 How to edit your Mac's Hosts file...(如何编辑 Mac 的 Hosts 文件...)

选项 2

作为替代解决方法,请确保没有安全软件或防病毒软件干扰 Tableau Desktop 或 Oracle。
 
知识文章编号

001474048

 
正在加载
Salesforce Help | Article