zl程序教程

您现在的位置是:首页 >  数据库

当前栏目

【ORACLE】ORA-12547: TNS:lost contact

Oracle TNS ORA Lost contact
2023-09-14 08:57:30 时间
碰到这个ORA-12547: TNS:lost contact的问题,翻了很多资料和METALINK,总结了一下原因: 1 是由于rpm包没有安装,对于我们的生产环境,此包是安装的。 admin@p1b:/home/admin rpm -q glibc-devel
grid ,oracle用户使用sqlplus 连接无异常 但是其他用户使用sqlplus 连接时,报 ORA-12547 : TNS:lost contact 错误 由于数据库之前转移过目录,查看发现目录下 /data2/oracle/product/11.2.0/bin/ -rwxr-x--x 1 oracle oinstall 210824714 Jun 26 16:33 oracle  权限有问题,更改权限 chmod 6751 oracle 再次连接数据库,正常 -rwsr-s--x 1 oracle oinstall 210824714 Jun 26 16:33 oracle 我们的数据库是
admin@p1b.ora.sd.aliyun.com:/home/admin ls -lsr $ORACLE_HOME/bin/oracle 223748 -rwsr-s--x 1 oracle asmadmin 228886426 Aug 19 02:26 /opt/11202/oracle/11.2.0/alibank/bin/oracle --属组应该是oinstall 而不是asmadmin oracle metalink中的解决方法:

This could be due to kernel parameters settings
Please check the notes below that provide the required settings for kernel parameters

2.
This could be due to Incorrect permissions on the ORACLE.exe
The ls command should show permissions 6751 (as follows)

Please check the following:

$ cd $ORACLE_HOME/bin
$ ls -l oracle

The output should be
-rwsr-s--x 1 oracle dba

If not then please execute the following
$ chmod 6751 oracle

Please also verify if the following are correct

echo $ORACLE_HOME
echo $ORACLE_SID
echo $LD_LIBRARY_PATH
echo $PATH

3.
If the above does not resolve I suggest that you shutdown the database and listener and then
"relink all" 对于生产库,relink all 有点危险,第一种在线安装rpm包,也需要考虑其对生产环境的影响。
ORACLE startup报错之ORA-01261&&ORA-01263&&ORA-00202&&ORA-00205     系统环境:windows server 2008R2    数据库环境:oracle 11.2.0.1    问题描述:一测试数据库oradb启动时报错ORA-01261 ORA-00202,报错日志如下: C:\Users\localadmin sqlplus / as sysdba SQL*Plus: Release 11.
ORACLE startup报错之ORA-01154&&ORA-01155&&ORA-01033&&ORA-03113     今天,一实施同事求助,说一地市oracle数据库无法通过远程连接,连接报错如图: 操作系统:windows server2008 R2  数据库版本:oracle 11.2.0.1 初看报错貌似数据库正处在打开或关闭的过程中。