---
title: "listener errors"
author: "edwards0307"
date: "2011-11-17T11:32:55Z"
tags: []
categories: ["数据库"]
slug: "listener-errors"
draft: false
lastmod: "2012-01-12T15:21:04Z"
id: 1263950
url: "https://killdbs.iteye.com/blog/1263950"
---

1.LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 17-NOV-2011 06:50:23

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

   Message 1070 not found; No message file for product=network, facility=TNSTNS-12545: Message      12545 not found; No message file for product=network, facility=TNS  
   TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS  
   TNS-00515: Message 515 not found; No message file for product=network, facility=TNS  
   Linux Error: 2: No such file or directory

  

   solution:export ORACLE\_SID ORACLE\_HOME ORACLE\_BASE.

 

2.TNSLSNR for Linux: Version 10.2.0.1.0 - Production  
   NL-00280: error creating log stream /u01/oracle/network/log/listener.log  
   NL-00278: cannot open log file  
   SNL-00016: snlfohd: error opening file  
   Linux Error: 13: Permission denied

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

 

   solution:chmod 777 listener.log

 

3.TNSLSNR for Linux: Version 10.2.0.1.0 - Production  
   System parameter file is /u01/oracle/network/admin/listener.ora  
   Log messages written to /u01/oracle/network/log/listener.log  
   Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Toshiba)(PORT=1521)))  
   Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))  
   TNS-12555: TNS:permission denied  
   TNS-12560: TNS:protocol adapter error  
   TNS-00525: Insufficient privilege for operation  
   Linux Error: 1: Operation not permitted

 

   solution: chmod 777 /var/tmp/.oracle

                        the 1521 is used  by applications,change the 1522 or others

 4.TNS-12547: TNS:lost contact  
    TNS-12560: TNS:protocol adapter error  
    TNS-00517: Lost contact  
    Linux Error: 32: Broken pipe

 

    solution: clear listener.log

5.SQL&gt; conn [sys/oracle@oraclelsh](mailto:sys/oracle@oraclelsh) as sysdba;  
ERROR:  
ORA-12523: TNS: 监听程序无法找到适用于客户机连接的例程

 

solution:tnsping oraclelsh

            set oracle\_sid,oracle\_home

            sqlnet.ora .(server=dedicated)

we login from the remote clients.

 

6\.