解决方式:oracle用户下
1.执行sqlplus / as sysdba;
2.修改local_listener参数,sql> alter system set local_listener='';
3,再重新注册服务,sql> alter system register;
4.sql>exit;
5.查看注册情况,$ lsnrctl status
Service "dg1.oracle.com" has 1 instance(s).
Service "dg1_XPT.oracle.com" has 1 instance(s).
Service "hr.oracle.com" has 1 instance(s).
Service "oa.oracle.com" has 1 instance(s).
如果plsql还不能连接,请检查防火墙设置
service iptables status
如果防火墙开着,请关闭防火墙:
1)永久性生效,重启后不会复原
开启: chkconfig iptables on 关闭: chkconfig iptables off
2)即时生效,重启后复原
开启: service iptables start 关闭: service iptables stop
原文连接:http://blog.sina.com.cn/s/blog_8345cdd90100v6wx.html
516




被折叠的 条评论
为什么被折叠?



