oracle listener服务无法启动

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了oracle listener服务无法启动相关的知识,希望对你有一定的参考价值。

这的错误信息

# listener.ora Network Configuration File: d:\app\vincent\product\11.1.0\db_2\network\admin\listener.ora# Generated by Oracle configuration tools.
LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = vincent-PC)(PORT = 1521)) ) )
这是listener。ora文件

最简单的办法是,管理员运行dos窗口


netca

会出现下面的界面,选择重新配置


然后一路下一步即可。

追问

Oracle Net Services 配置失败。退出代码是-1
报这个错误

我的这个启动不了呢
命令也不好用
sqlplus / as sysdba 回车
shutdown immediately 回车
完成关闭后,再:
startup

参考技术A 你用的是win7系统么?你可以把oracle的服务,就是后面是你oracle实例的服务,还有监听服务这二个改为自动启动,然后重启电脑,看看这个服务可启动起来了。
如果还不行,你可以把打开dbca,然后将监听删除,重新建一个,如果建监听保存不了,可以把win7的用户控制权限改为最低。
参考技术B 进入dos窗口,执行:lsnrctl start看看提示什么信息就知道了。

oracle无监听程序的解决方法(PLSQL)Oracle ORA12514 监听程序当前无法识别连接描述符中请求的服务

\\PLSQL\\instantclient_11_2

listener.ora

# listener.ora Network Configuration File: E:\\software\\PLSQL\\instantclient_11_2\\listener.ora
# Generated by Oracle configuration tools.


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




ADR_BASE_LISTENER = E:\\oracle11\\app\\dell

tnsnames.ora

# tnsnames.ora Network Configuration File: D:\\sofeware\\PLSQL\\instantclient_11_2\\tnsnames.ora
# Generated by Oracle configuration tools.

WMSDB =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.201)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = TMSDB)
    )
  )

TMSDB =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.201)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = TMSDB)
    )
  )

LISXIAOBIN =
  (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1520))


ORACLR_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
    )
  )

LISTENER_ORCL =
  (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.201)(PORT = 1521))


LISTENER_WMS =
  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))


LISTENER_WMSDB =
  (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.201)(PORT = 1521))


LISTENER_TMSDB =
  (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.201)(PORT = 1521))


ORCL =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.201)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
    )
  )

TMSDB127.0.0.1 =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = TMSDB)
    )
  )

\\app\\Administrator\\product\\11.2.0\\dbhome_1\\NETWORK\\ADMIN

listener.ora

# listener.ora Network Configuration File: F:\\app\\Administrator\\product\\11.2.0\\dbhome_1\\network\\admin\\listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = E:\\app\\Administrator\\product\\11.2.0\\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:E:\\app\\Administrator\\product\\11.2.0\\dbhome_1\\bin\\oraclr11.dll")
    )
  )

#LISTENER =
# (DESCRIPTION_LIST =
#    (DESCRIPTION =
#     (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
#      (ADDRESS = (PROTOCOL = TCP)(HOST = 本机)(PORT = 1521))
#    )
#  )


(SID_DESC = 
(GLOBAL_DBNAME = TMSDB) 
(ORACLE_HOME = D:\\app\\Administrator\\product\\11.2.0\\dbhome_1) 
(SID_NAME = TMSDB) 
) 
)


ADR_BASE_LISTENER = F:\\app\\Administrator

tnsnames.ora

# tnsnames.ora Network Configuration File: F:\\app\\Administrator\\product\\11.2.0\\dbhome_1\\network\\admin\\tnsnames.ora
# Generated by Oracle configuration tools.

TMSDB =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 本机)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = TMSDB)
    )
  )

ORACLR_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
    )
  )

链接:https://www.cnblogs.com/shangshan/p/6359880.html

以上是关于oracle listener服务无法启动的主要内容,如果未能解决你的问题,请参考以下文章

oracle 监听服务启动后停止

oracle监听服务无法启动可以备份吗

Oracle监听启动无法连接

请教Oracle11监听无法自动启动怎么办?总提示TNS-12541: TNS: 无监听程序 错误。

如何解决oracle中监听无法启动找不到系统路径

在启动Oracle服务的时候出现:错误1067 进程意外终止