您的位置:首页 > 其它

ant 执行多个构建文件

2011-08-26 15:20 423 查看
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> conn 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.

 

 

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐