Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1919387
  • 博文数量: 261
  • 博客积分: 8073
  • 博客等级: 中将
  • 技术积分: 2363
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-10 15:23
文章分类

全部博文(261)

文章存档

2013年(1)

2012年(1)

2011年(50)

2010年(34)

2009年(4)

2008年(17)

2007年(55)

2006年(99)

分类:

2011-07-06 10:29:49

安装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

阅读(2692) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~