在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
然后我添加了,因为他告诉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))
)
)
有没有人有解决方案?