在rhel5上啟動監聽器lsnrctl start報錯_Linux Error: 113: No route to host
-bash-3.1$ lsnrctl start ######啟動監聽器報錯
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 09-JUL-2010 02:03:46
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Log messages written to /oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521))) Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
Linux Error: 113: No route to host #####注意這行 -bash-3.1$ more /etc/hosts ###檢視對應檔案
# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.125.2 localhost.localdomain
-bash-3.1$ su - root ####切到root,修改以上檔案
Password:
[root@localhost ~]# vi /etc/hosts # Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.125.3 localhost.localdomain
~ "/etc/hosts" 3L, 141C written
[root@localhost ~]# more /etc/sysconfig/network ###檢視所有與主機名相關的檔案
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=localhost.localdomain
[root@localhost ~]# exit
logout -bash-3.1$ lsnrctl start #######再次啟動仍報錯,看來問題不在這兒,但報錯與上面不一樣了,有點進步 LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 09-JUL-2010 02:04:31 Copyright (c) 1991, 2007, Oracle. All rights reserved. Starting /oracle/product/10.2.0/db_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Log messages written to /oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521))) Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 104: Connection reset by peer
[root@localhost ~]# vi /etc/hosts ###########查了點網上資料,改成這樣,保留原來的127.0.0.1原有行(安裝系統本身就有的記錄,新新增一行:真實ip) # Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.125.3 localhost.localdomain
~ "/etc/hosts" 4L, 184C written
[root@localhost ~]# exit
logout -bash-3.1$ lsnrctl start #####再次啟動監聽器好了 LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 09-JUL-2010 02:09:10 Copyright (c) 1991, 2007, Oracle. All rights reserved. Starting /oracle/product/10.2.0/db_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Log messages written to /oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521))) Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date 09-JUL-2010 02:09:10
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File /oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
The listener supports no services
小結:
oracle監聽器啟動與redhat的主機配置檔案有密切關係
主機配置檔案有影響關係,自己理解不到位,有空學習下
Log messages written to /oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521))) Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
Linux Error: 113: No route to host #####注意這行 -bash-3.1$ more /etc/hosts ###檢視對應檔案
# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.125.2 localhost.localdomain
-bash-3.1$ su - root ####切到root,修改以上檔案
Password:
[root@localhost ~]# vi /etc/hosts # Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.125.3 localhost.localdomain
~ "/etc/hosts" 3L, 141C written
[root@localhost ~]# more /etc/sysconfig/network ###檢視所有與主機名相關的檔案
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=localhost.localdomain
[root@localhost ~]# exit
logout -bash-3.1$ lsnrctl start #######再次啟動仍報錯,看來問題不在這兒,但報錯與上面不一樣了,有點進步 LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 09-JUL-2010 02:04:31 Copyright (c) 1991, 2007, Oracle. All rights reserved. Starting /oracle/product/10.2.0/db_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Log messages written to /oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521))) Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 104: Connection reset by peer
[root@localhost ~]# vi /etc/hosts ###########查了點網上資料,改成這樣,保留原來的127.0.0.1原有行(安裝系統本身就有的記錄,新新增一行:真實ip) # Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.125.3 localhost.localdomain
~ "/etc/hosts" 4L, 184C written
[root@localhost ~]# exit
logout -bash-3.1$ lsnrctl start #####再次啟動監聽器好了 LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 09-JUL-2010 02:09:10 Copyright (c) 1991, 2007, Oracle. All rights reserved. Starting /oracle/product/10.2.0/db_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Log messages written to /oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521))) Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date 09-JUL-2010 02:09:10
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File /oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
The listener supports no services
小結:
oracle監聽器啟動與redhat的主機配置檔案有密切關係
主機配置檔案有影響關係,自己理解不到位,有空學習下
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-667740/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- lsnrctl啟動報錯,Linux Error: 29: Illegal seekLinuxError
- LSNRCTL start error!Error
- OGG-01224 TCP/IP error 113 (No route to host)TCPError
- oracle監聽器啟動lsnrctl status例程的狀態為unknownOracle
- Oracle監聽日誌2g-監聽啟動報錯Oracle
- RPC: Port mapper failure - Unable to receive: errno 113 (No route to host)RPCAPPAI
- 監聽器控制程式lsnrctl跟蹤trace file
- 在AIX中不能啟動Oracle監聽器,如:IBM/AIX RISC System/6000 Error: 79AIOracleIBMError
- oracle 10g rac當監聽程式監聽對方vip時啟動監聽報錯TNS-12545Oracle 10g
- 啟動監聽報TNS-01150錯誤處理
- 【RAC】lsnrctl 工具不適合管理監聽
- deleted事件監聽報錯delete事件
- oracle 啟動監聽報錯TNS-12547: TNS:lost contactOracle
- linux下啟動監聽器出現問題的解決Linux
- linux平臺下監聽器和Oracle的自動啟動與停止LinuxOracle
- SSH遠端登入問題:network error:no route to hostError
- WARN mapred.JobClient: Error reading task outputNo route to hostclientError
- ElasticSearch啟動報錯 ERROR: [4] bootstrap checks failedElasticsearchErrorbootAI
- linux下session_start()報錯LinuxSession
- Windows下啟動Solr報錯:Nothing to start,exiting...WindowsSolr
- oracle 雙監聽器啟動時報tns-01106錯誤Oracle
- Mac 上啟動 appium 報錯MacAPP
- 模型deleted事件監聽報錯解析模型delete事件
- Oracle lsnrctl 無法啟動Oracle
- 啟動資料庫監聽資料庫
- Oracle啟動兩個監聽Oracle
- 【ERROR】Windows環境Oracle打psu後監聽啟動報錯:上下文生成失敗,找不到從屬程式集ErrorWindowsOracle
- 在rhel5上靜默(silent)安裝oracle10g(10.2.0.1)報錯Oracle
- MySQL 5.5 原始碼安裝報錯"[ERROR] Can't start server"MySql原始碼ErrorServer
- 監聽啟動失敗解決
- start_udev導致監聽自動停止問題處理dev
- mysql服務啟動報錯Redirecting to systemctl start mysqld.serviceFailed to start mysqld.service:Unit not found.MySqlAI
- 自動重新啟動oracle監聽程式 for windowsOracleWindows
- Oracle監聽啟動後自動關閉Oracle
- lsnrclt start 出錯!TNS-12537, TNS-12560,TNS-00507 解決方法,oracle監聽啟動出錯Oracle
- Laravel7.0 Route::get ()->name ('home') route ('home') 報錯Laravel
- oracle 11.2.0.3.6升級故障---監聽報錯Oracle
- 解決docker啟動映象報錯:docker: Error response from daemonDockerError