壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1466|回复: 2

EBS 11i 数据库监听无法关闭

[复制链接]
发表于 2009/9/11 22:19:48 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
今天想让机子休息一下,于是就进行了EBS关闭的流程。

首先是应用服务的关闭 - 正常

然后是数据库监听的关闭, 我的操作与结果如下:
[oravis@vostro VIS_vostro]$ pwd
/u01/oracle/ora/visdb/9.2.0/appsutil/scripts/VIS_vostro
[oravis@vostro VIS_vostro]$ sh addlnctl.sh stop
You are running addlnctl.sh version 115.6

addlnctl.sh: too few arguments specified.
        addlnctl.sh {start|stop} listener_name
        In general, available listeners are
                   Database Net8 listener : <ORACLE_SID>
[oravis@vostro VIS_vostro]$ sh addlnctl.sh stop ORACLE_VIS
You are running addlnctl.sh version 115.6
Logfile: /u01/oracle/ora/visdb/9.2.0/appsutil/log/VIS_vostro/addlnctl.txt
Shutting down listener process ORACLE_VIS ...

addlnctl.sh: exiting with status 1

于是我查看日志文件: /u01/oracle/ora/visdb/9.2.0/appsutil/log/VIS_vostro/addlnctl.txt

[oravis@vostro VIS_vostro]$ cat /u01/oracle/ora/visdb/9.2.0/appsutil/log/VIS_vostro/addlnctl.txt
LSNRCTL for Linux: Version 9.2.0.6.0 - Production on 11-SEP-2009 01:30:28
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCVIS))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   Linux Error: 2: No such file or directory
Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=vostro.oraebs11i.com)(Port=1521))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   Linux Error: 111: Connection refused
LSNRCTL for Linux: Version 9.2.0.6.0 - Production on 11-SEP-2009 01:30:28
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
Starting /u01/oracle/ora/visdb/9.2.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 9.2.0.6.0 - Production
System parameter file is /u01/oracle/ora/visdb/9.2.0/network/admin/VIS_vostro/listener.ora
Log messages written to /u01/oracle/ora/visdb/9.2.0/network/admin/vis.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROCVIS)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vostro.oraebs11i.com)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCVIS))
STATUS of the LISTENER
------------------------
Alias                     VIS
Version                   TNSLSNR for Linux: Version 9.2.0.6.0 - Production
Start Date                11-SEP-2009 01:30:28
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  OFF
SNMP                      OFF
Listener Parameter File   /u01/oracle/ora/visdb/9.2.0/network/admin/VIS_vostro/listener.ora
Listener Log File         /u01/oracle/ora/visdb/9.2.0/network/admin/vis.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROCVIS)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vostro.oraebs11i.com)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "VIS" has 1 instance(s).
  Instance "VIS", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL for Linux: Version 9.2.0.6.0 - Production on 11-SEP-2009 01:32:22
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCVIS))
The command completed successfully
LSNRCTL for Linux: Version 9.2.0.6.0 - Production on 11-SEP-2009 01:32:23
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCVIS))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   Linux Error: 2: No such file or directory
Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=vostro.oraebs11i.com)(Port=1521))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   Linux Error: 111: Connection refused
LSNRCTL for Linux: Version 9.2.0.6.0 - Production on 11-SEP-2009 01:32:23
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
Starting /u01/oracle/ora/visdb/9.2.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 9.2.0.6.0 - Production
System parameter file is /u01/oracle/ora/visdb/9.2.0/network/admin/VIS_vostro/listener.ora
Log messages written to /u01/oracle/ora/visdb/9.2.0/network/admin/vis.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROCVIS)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vostro.oraebs11i.com)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCVIS))
STATUS of the LISTENER
------------------------
Alias                     VIS
Version                   TNSLSNR for Linux: Version 9.2.0.6.0 - Production
Start Date                11-SEP-2009 01:32:23
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  OFF
SNMP                      OFF
Listener Parameter File   /u01/oracle/ora/visdb/9.2.0/network/admin/VIS_vostro/listener.ora
Listener Log File         /u01/oracle/ora/visdb/9.2.0/network/admin/vis.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROCVIS)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vostro.oraebs11i.com)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "VIS" has 1 instance(s).
  Instance "VIS", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL for Linux: Version 9.2.0.6.0 - Production on 11-SEP-2009 22:05:54
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
Connecting to (DESCRIPTION=(CONNECT_DATA=(SID=*)(SERVICE_NAME=ORACLE_VIS.oraebs11i.com))(ADDRESS=(PROTOCOL=TCP)(HOST=ORACLE_VIS)(PORT=1521)))
TNS-12535: TNS:operation timed out
TNS-12560: TNS:protocol adapter error
  TNS-00505: Operation timed out
   Linux Error: 110: Connection timed out

各位可以帮我看看问题出在哪里吗? 谢谢!
发表于 2009/9/12 08:30:58 | 显示全部楼层
关闭监听时,如果不是默认的LISTENER,都需要指定监听的名字,EBS基本都不是默认的LISTENER ,而是安装时指定的SID,所以你在执行这个脚本时,应该按如下操作:
sh addlnctl.sh stop VIS
 楼主| 发表于 2009/9/14 10:38:45 | 显示全部楼层
谢谢, 问题解决了.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/30 06:56 , Processed in 0.014058 second(s), 14 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表