ORA-12560: TNS: 协议适配器错误

2775阅读 0评论2011-07-06 RealAMD
分类:

安装oracle for linux后,在客户端建立监听,测试连接时发生 ORA-12560: TNS: 协议适配器错误
 
解决办法:
 

1)禁用selinux

[root@localhost5 oraInventory]# vi /etc/selinux/config

# This file controls the state of SELinux on the system.

# SELINUX= can take one of these three values:

#       enforcing - SELinux security policy is enforced.

#       permissive - SELinux prints warnings instead of enforcing.

#       disabled - SELinux is fully disabled.

SELINUX=disabled

# SELINUXTYPE= type of policy in use. Possible values are:

#       targeted - Only targeted network daemons are protected.

#       strict - Full SELinux protection.

SELINUXTYPE=targeted

 

        修改配置后需要重新启动机器,验证是否禁用:

# getenforce

Disabled

 

2)关闭并停止iptables服务

# service iptables stop

# chkconfig --level 0123456 iptables off

上一篇:oracle for linux内核参数shm*
下一篇:在RHEL中注册服务