按照网上的说法,就是修改listener.ora和tnsnames.ora两个文件的host,但是IP地址,localhost,计算机名都试了一遍,监听器服务结果还是启动后停止......
listener.ora的信息:
# listener.ora Network Configuration File: F:\app\y393139503\product\12.1.0\dbhome_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = F:\app\y393139503\product\12.1.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:F:\app\y393139503\product\12.1.0\dbhome_1\bin\oraclr12.dll")
)
(SID_DESC =
(GLOBAL_DBNAME = DBDAO)
(SID_NAME = DBDAO)
)
)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
ADR_BASE_LISTENER = F:\app\y393139503\product\12.1.0\dbhome_1\log
tnsnames.ora的信息:
# tnsnames.ora Network Configuration File: F:\app\y393139503\product\12.1.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_DBDAO =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
DBDAO =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DBDAO)
)
)
另外,这是不是跟hosts.ics文件有关啊???
希望大神们帮忙看一下!!谢谢!!
6 个解决方案
#1
如何判断的启动后停止。
lsnrctl status
lsnrctl start
把这两个命令的提示内容贴上来
lsnrctl status
lsnrctl start
把这两个命令的提示内容贴上来
#2
您好!
lsnrctl status :
lsnrctl start :
报了一大堆错.....
lsnrctl status :
lsnrctl start :
报了一大堆错.....
#3
您好!
lsnrctl status :
lsnrctl start :
报了一大堆错.....
#4
楼主抓的图都是lsnrct status的图啊,没有lsnrctl start 的图
#5
额......抱歉....
#6
都失败了,是不是没监听服务啊,重新配置一下
#1
如何判断的启动后停止。
lsnrctl status
lsnrctl start
把这两个命令的提示内容贴上来
lsnrctl status
lsnrctl start
把这两个命令的提示内容贴上来
#2
您好!
lsnrctl status :
lsnrctl start :
报了一大堆错.....
lsnrctl status :
lsnrctl start :
报了一大堆错.....
#3
您好!
lsnrctl status :
lsnrctl start :
报了一大堆错.....
#4
楼主抓的图都是lsnrct status的图啊,没有lsnrctl start 的图
#5
额......抱歉....
#6
都失败了,是不是没监听服务啊,重新配置一下