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

-------------------------环境是装了两个实例,一个9i,一个10G

SQL> conn sys/admin@c11 as sysdba;
ERROR:
ORA-12557: TNS:protocol adapter not loadable

------lsnrctl>status 报错

Message 1053 not found; No message file for product=NETWORK, facility=TNSTNS-12538: Message

12538 not found; No message file for product=NETWORK, facility=TNS
TNS-12560: Message 12560 not found; No message file for product=NETWORK, facility=TNS
TNS-00508: Message 508 not found; No message file for product=NETWORK, facility=TNS

---------------

1、重新配置监听

2、echo %oracle_home% 查看所打开的实例是不是在这个目录下

如不是设set oracle_home=d:oracleora92

[@more@]

---------------------------------------------------------

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7600171/viewspace-925866/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/7600171/viewspace-925866/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值