尝试将EZCONNECT移动到sqlnet.ora文件中NAMES.DIRECTORY_PATH中的第一个位置

时间:2016-11-24 12:17:43

标签: linux oracle oracle12c ora-12541

当我尝试在Oracle 12C中删除某个过程时,我会收到一条始终显示statement procesing的消息。

我从linux Oracle OS重新启动了Oracle服务器。

我现在得到这个例外

ORA-12541: TNS:no listener

Items Checked

TNS_ADMIN environment variable is defined as "C:\app\edidinen\product\12.1.0\dbhome_1\NETWORK\ADMIN\"

"C:\app\edidinen\product\12.1.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora" was located

NAMES.DIRECTORY_PATH specifies EZCONNECT in the sqlnet.ora file

EZCONNECT is not the first naming method in NAMES.DIRECTORY_PATH which may conflict with other naming methods specified

Steps to Take
Try moving EZCONNECT to the first position in NAMES.DIRECTORY_PATH in the sqlnet.ora file
Verify that the correct port is specified
Verify that the listener is running and that it is properly configured
Try to ping  192.168.1.118 using the Ping button on the toolbar
Try to TNSPing (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.118)(PORT=1521))(CONNECT_DATA=(SID=ORCLDB))) using the TNS Ping button on the toolbar

0 个答案:

没有答案