Oracle迁移导致sqlplus报告ora-15180 错误信息
Oracle 软件版本: 10.2.0.5
Oracle安装目录:/u01
通过lync方式把Oracle整个目录从源服务器拷贝到目标服务器。
按理说,软件迁移不会导致很严重的错误,但是通过sqlplus连接到oracle,计划启动数据库的时候报告:
ORA-15180: Could not open dynamic library odm library, error
[Failed to expand the library nam]
网上查询说是libodm10.so失去连接将会导致这个错误。
$ cd $ORACLE_HOME/lib
$ ls -l libodm*
lrwxrwx— 1 oracle oinstall 12 Apr 14 2007 libodm10.so -> libodmo
-rwxr-xr-x 1 oracle oinstall 67696 Feb 13 2007 libodmd10.so
ora-15180错误解释:
Error: ORA-15180 (ORA-15180)
Text: Could not open dynamic library %s, error [%s]
—————————————————————————
Cause: The library was not accessible
Action: Correct the permissions of the library and try again.
解决措施:建立link即可;
ln -s libodmd10.so libodm10.so
解决方法来自互联网。