[oracle@orahost ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 04-DEC-2012 12:12:18
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.56.2)(PORT=1521)))
TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error TNS-00511: No listener Linux Error: 111: Connection refused Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0))) TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error TNS-00511: No listener Linux Error: 111: Connection refused [oracle@orahost ~]$ reload bash: reload: command not found [oracle@orahost ~]$ lsnrctl LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 04-DEC-2012 12:12:39
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.56.2)(PORT=1521))) TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error TNS-00511: No listener Linux Error: 111: Connection refused Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0))) TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error TNS-00511: No listener Linux Error: 111: Connection refused LSNRCTL> stop Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.56.2)(PORT=1521))) TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error TNS-00511: No listener Linux Error: 111: Connection refused Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0))) TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error TNS-00511: No listener Linux Error: 111: Connection refused LSNRCTL> start Starting /oracle/product/10.2.0/db_1/bin/tnslsnr: please wait... TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error TNS-00507: Connection closed Linux Error: 29: Illegal seek LSNRCTL> reload Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.56.2)(PORT=1521))) TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error TNS-00511: No listener Linux Error: 111: Connection refused Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0))) TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error TNS-00511: No listener Linux Error: 111: Connection refused [root@orahost etc]# vi hosts # Do not remove the following line, or various programs
# that require network functionality will fail. #127.0.0.1 orahost 192.168.56.2 orahost
127.0.0.1 localhost.localdomain localhost
LSNRCTL> start Starting /oracle/product/10.2.0/db_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /oracle/product/10.2.0/db_1/network/admin/listener.ora Log messages written to /oracle/product/10.2.0/db_1/network/log/listener.log Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.2)(PORT=1521))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0))) Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.56.2)(PORT=1521)))
STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production Start Date 04-DEC-2012 12:21:14 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /oracle/product/10.2.0/db_1/network/admin/listener.ora Listener Log File /oracle/product/10.2.0/db_1/network/log/listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.2)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0))) Services Summary... Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully |
TNS:no listener: TNS:protocol adapter error: Connection refused
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
sql 執行計劃分析
原創
2023-03-04 12:18:50
甲骨文成立以來最大手筆:300億美元收購 Cerner 進軍醫療保健領域
闫园园
2021-12-21 10:54:01
30天完成數據庫替換、頂住10倍大促流量壓力,易車是如何做到的?
PingCAP技术团队
2021-11-10 14:08:50
“問題孩子”Windows 11來了,WSL 成其最大亮點
闫园园
2021-10-08 16:23:55
ORACLE數據庫應用開發三十忌
老猿Python
2021-05-24 15:53:56
90億美元Java糾紛案反轉:安卓中複製的代碼屬於合理使用
罗燕珊
2021-04-06 15:38:50
Google 將停止使用 Oracle 財務軟件,轉而使用 SAP
田晓旭
2021-04-06 12:43:52
oracle數據庫的基本命令記錄
原創
2021-04-01 21:09:36
甲骨文ACE總監:你真的能做到“去Oracle”嗎?
Lucas Jellema
2021-03-22 18:35:34
Oracle的邏輯對象,openGauss都能hold住嗎?
dbaplus社群
2020-11-16 10:08:57
Oracle、NoSQL和NewSQL 數據庫技術對比
VoltDB
2020-11-12 11:28:50
Oracle首席工程師:技術面試中,怎樣的問題纔是好問題?
dbaplus社群
2020-10-26 14:08:59
openGauss魔改PG?它能兼容Oracle的數據庫表嗎?
dbaplus社群
2020-10-21 14:03:52
openGauss可替代Oracle嗎?從字段類型說起……
dbaplus社群
2020-10-16 10:08:58