允许远程访问Oracle 12c(监听器失败)

时间:2016-12-26 10:18:40

标签: oracle remote-access oracle12c

在Centos 7上完成Oracle 12c的安装后,现在我尝试允许在我的PC上(通过SQL Delopper)访问服务器。但问题是,当我这样做时:

lsnrctl status

我收到此错误:

TNS-12541: TNS:no listener
 TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   Linux Error: 2: No such file or directory

所以,我尝试用以下方式启动监听器:

lsnrctl start

我收到了这个错误:

TNS-01198: Listener failed to initialize valid node list
 NL-07007: internal error
  NL-00408: cannot find or read value
   NL-00408: cannot find or read value
    NL-00408: cannot find or read value

要完成,请访问此网站:https://wiki.scn.sap.com/wiki/display/ORA/TNS-01198%3A+Listener+failed+to+initialize+valid+node+list+post+upgrade+from+11g+to+12c

然后我添加了,因为他告诉listener.ora文件中的以下行

VALID_NODE_CHECKING_REGISTRATION_<LISTENER_SERVICENAME> = OFF

但没有任何改变。

要完成,这是我的listener.ora文件:

#listener.ora Network Configuration File: /home/oracle/app/oracle/product/12.1.0/dbhome_1/network/admin/listener.ora

#Generated by Oracle configuration tools.

VALID_NODE_CHECKING_REGISTRATION_<LISTENER_SID> = OFF


LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
       (ADDRESS = (PROTOCOL = TCP)(HOST =  84.254.25.9)(PORT = 1521))

      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
  )

有没有人有解决方案?

0 个答案:

没有答案