zoukankan      html  css  js  c++  java
  • TNS-00512: Address already in use-TNS-12542: TNS:address already in use

    监听启动或是停止时提示如下错误:
    TNS-12542: TNS:address already in use
    TNS-12560: TNS:protocol adapter error
    TNS-00512: Address already in use
    Linux Error: 98: Address already in use
    Listener failed to start. See the error message(s) above...

    [oracle@rusky admin]$ netstat -anp | grep 1521  --查看哪些程序正在占用该端口
    (Not all processes could be identified, non-owned process info
    will not be shown, you would have to be root to see it all.)
    tcp 0 0 192.168.1.123:1521 0.0.0.0:* LISTEN 30763/tnslsnr
    tcp 0 0 192.168.1.123:19295 192.168.1.123:1521 ESTABLISHED 30961/ora_pmon_bms2
    tcp 0 0 192.168.1.123:1521 192.168.1.123:19295 ESTABLISHED 30763/tnslsnr

    [oracle@rusky admin]$ kill -9 30763  --kill掉相应的程序

    kill -9 30961

    kill -9 30763

    之后,重新启动监听正常。

  • 相关阅读:
    struts2文件上传下载
    struts2自定义拦截器
    JSP_Servlet 解决中文乱码登录问题
    ajax提交form表单
    sql语句大全
    spring
    struts2
    jsp_servlet
    jsp_servlet2
    数据库
  • 原文地址:https://www.cnblogs.com/rusking/p/4561135.html
Copyright © 2011-2022 走看看