--登录10R2数据库时报错:
[oracle@mon admin]$ sqlplus /"as sysdba"
[oracle@mon admin]$ sqlplus /"as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Sat May 26 13:12:07 2012
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
oraclemon: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
ERROR:
ORA-12547: TNS:lost contact
ERROR:
ORA-12547: TNS:lost contact
检查安装包版本:
[root@mon ~]# rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' libaio
libaio-0.3.105-2 (i386) --为32位,还需安装64位的包
[root@mon ~]# rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' libaio
libaio-0.3.105-2 (i386) --为32位,还需安装64位的包
安装64位包
[root@mon RPMS]# rpm -ivh libaio-0.3.105-2.x86_64.rpm
warning: libaio-0.3.105-2.x86_64.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:libaio ########################################### [100%]
[root@mon RPMS]# rpm -ivh libaio-0.3.105-2.x86_64.rpm
warning: libaio-0.3.105-2.x86_64.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:libaio ########################################### [100%]
[oracle@mon linux]$ sqlplus /"as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Sat May 26 13:24:45 2012
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
--问题解决
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10173379/viewspace-731025/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10173379/viewspace-731025/