在做oracle standby时,出现ORA-12557错误.

1 确定你的环境变量,%ORACLE_HOME%\bin配置正确.

windows: c:\> echo $ORACLE_HOME    查看

2 确定你的$ORACLE_HOME\network\admin\listener.ora  是否监听 你目前的instance.

在$ORACLE_HOME\network\admin目录下是否有sqlnet.ora文件.

转网上的解决方法:

ORA-12557的解决过程

ORA-12557:

TNS:protocol adapter not loadable

Cause:

On some platforms (such as OS/2) protocol adapters are loaded at run-time. If the shared library (or DLL) for the protocol adapter is missing or one of its supporting libraries is missing then this error is returned.

Action:

For further details, turn on tracing and reexecute the operation. The trace file will include the name of the shared library (or DLL) that could not be loaded.

1. Make sure the %ORACLE_HOME%/bin directory is in your PATH.

2. Make sure the protocol is typed/specified correctly in your

tnsnames.ora file or whatever source you're using to resolve service

names.

3. TCP is the default protocol and is installed by default. If

you're using something different (like SPX) make sure you installed the

protocol adapter.

4. Make sure TOAD is using the correct oracle home if you have

multiple homes installed

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐