zoukankan      html  css  js  c++  java
  • TNS-12555 / TNS-12560 / TNS-00525 Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPR

    TNS-12555 / TNS-12560 / TNS-00525 Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))

    Problem:

    LSNRCTL for Linux: Version 10.2.0.1.0 – Production on 21-SEP-2011 12:54:12

    Copyright (c) 1991, 2005, Oracle. All rights reserved.

    Welcome to LSNRCTL, type “help” for information.

    LSNRCTL> start
    Starting /u01/app/oracle/oracle/product/10.2.0/db_1//bin/tnslsnr: please wait…

    TNSLSNR for Linux: Version 10.2.0.2.0 – Production
    System parameter file is /u01/app/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/oracle/product/10.2.0/db_1/network/log/listener.log
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    TNS-12555: TNS:permission denied
    TNS-12560: TNS:protocol adapter error
    TNS-00525: Insufficient privilege for operation
    Linux Error: 1: Operation not permitted

    Listener failed to start. See the error message(s) above…

    LSNRCTL>

     

    Cause:

    1) Ensure that /tmp/.oracle or /var/tmp/.oracle directory exists.

    2) Confirm that the DBA user who is trying to start the listener has adequate read and write permissions on the directory specified above. The permissions should be 777.

    3) If the /tmp directory has reached full capacity, this would cause the listener to fail to write the socket files.

     

     

    Solution

    To implement the solution, please use the following example:

    1. cd /var/tmp

    2. Check the whether the .oracle directory exists:

    cd .oracle

    3. If the directory does not exist, request the System Administrator create the directory and set the ownership as root:root with the permissions set to 01777

    mkdir /var/tmp/.oracle 
    chmod 01777 /var/tmp/.oracle 
    chown root /var/tmp/.oracle 
    chgrp root /var/tmp/.oracle

    4. Next try starting the TNS Listener using the ‘lsnrctl start <listener_name>’ command

  • 相关阅读:
    csv导入数据到mongodb3.2
    [转]教你十分钟下载并破解IntelliJ IDEA(2017)
    Richard Stallman:让我们关注和尊敬自由软件教父
    约翰·卡马克和他的id Software
    fvwm:还是觉得你最好
    《程序员修炼之道》读书心得
    平铺式窗口管理器 Musca 初体验
    最小主义:我的Musca桌面环境
    Vim,Emacs排名不分先后
    在Emacs中画思维导图
  • 原文地址:https://www.cnblogs.com/lxjshuju/p/7008798.html
Copyright © 2011-2022 走看看