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.
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.
相关文章推荐
- Eclipse/MyEclipse设置在保存文件时自动调用Ant脚本执行一些构建操作
- 这种情况既不是重复执行ant构建文件,也不是在控制台指定多个project,而是纯粹在构建文件有多个依赖关系
- ant 执行多个构建文件
- 执行ant构建文件过后,没有修改任何相关的文件,第二遍执行ant,这时ant会提示任务已经完成的任务不再执行,记住这是任务级别的,这种情况包括在控制台上指定两个project
- ANT教程之三 Ant构建文件
- expect脚本同步文件、expect脚本指定host和要同步的文件、构建文件分发系统、批量远程执行
- Ant Task:Ant任务(执行多个构件文件)
- Ant创建JAR可执行jar文件
- expect脚本同步文件、指定host和要同步的文件、构建文件分发系统、批量远程执行命令
- expect脚本同步文件、expect脚本指定host和要同步的文件、构建文件分发系统、批量远程执行
- expect脚本同步文件 expect脚本指定host和要同步的文件 构建文件分发系统 批量远程执行命令
- Hibernate:利用HibernateTools和ANT自动构建hibernate对象、映射文件、表之间的转换
- 使用Xdoclet和Ant构建Hibernate映射和配置文件
- Ant 执行 YUICompressor 任务压缩 JavaScript 和 CSS 文件,解决中文乱码问题,增加源文件字符编码集设定
- 【ANT】构建文件build.xml
- expect脚本同步文件,expect脚本指定host和要同步的文件,构建文件分发系统,批量远程执行命令
- Ant入门--构建文件详细分析
- expect脚本同步文件,构建文件分发系统,批量远程执行命令
- Ant 构建文件build.xml(转)
- 【ant项目构建学习点滴】--(3)打包及运行jar文件