Home >Database >Mysql Tutorial >CentOS 6安装Oracle 11G非本地不能连接

CentOS 6安装Oracle 11G非本地不能连接

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 17:08:34995browse

CentOS 6默认安装Oracle 11G后,本地可以通过命令行连接,非本地不能连接,解决办法如下

CentOS 6默认安装Oracle 11G后,本地可以通过命令行连接,非本地不能连接,,解决办法如下

1、增加一个listener:终端运行:$ORACLE_HOME/bin/netca (必须在图形界面环境下),按照提示增加一个listener。

2、重启listener:终端运行:

$ORACLE_HOME/bin/lsnrctl stop

$ORACLE_HOME/bin/lsnrctl start

3、客户端再次连接应该可以了

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn