TNS-12547 TNS-12560 TNS-00517解決辦法
今天啟動監聽lsnrctl start 發現報錯TNS-12547 TNS-12560 TNS-00517
[oracle@ogg1 ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 03-JAN-2015 18:40:10
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.2/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.4.0 - Production
System parameter file is /u01/app/oracle/product/11.2/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/ogg1/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ogg1)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ogg1)(PORT=1521)))
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 104: Connection reset by peer
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
在網上找到了解決方法,具體原因不清楚
解決辦法:檢視/etc/hosts 檔案內容
[root@ogg1 ~]# cat /etc/hosts
127.0.0.1 ogg1
192.168.3.213 ogg1
將127.0.0.1 後面新增localhost
[root@ogg1 ~]# vi /etc/hosts
127.0.0.1 ogg1 localhost
192.168.3.212 ogg1
[oracle@ogg1 ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 03-JAN-2015 18:40:10
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.2/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.4.0 - Production
System parameter file is /u01/app/oracle/product/11.2/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/ogg1/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ogg1)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ogg1)(PORT=1521)))
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 104: Connection reset by peer
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
在網上找到了解決方法,具體原因不清楚
解決辦法:檢視/etc/hosts 檔案內容
[root@ogg1 ~]# cat /etc/hosts
127.0.0.1 ogg1
192.168.3.213 ogg1
將127.0.0.1 後面新增localhost
[root@ogg1 ~]# vi /etc/hosts
127.0.0.1 ogg1 localhost
192.168.3.212 ogg1
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28282660/viewspace-1388593/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- github慢解決辦法Github
- Grub Rescue解決辦法
- /dev/null解決辦法devNull
- MSBuild Tools解決辦法UI
- 檔案無法粉碎解決辦法
- OpenStack 的NAT解決辦法
- android ExceptionInInitializerError解決辦法AndroidExceptionError
- Could not find *.apk!解決辦法APK
- man出錯解決辦法
- ARP病毒解決辦法
- 公寓噪音的解決辦法
- SSH 連線卡頓解決辦法
- 錕斤拷個人解決辦法
- 資料傾斜解決辦法
- ModuleNotFoundError: No module named ‘DBUtils‘解決辦法Error
- SqlServer鎖表解鎖解決辦法SQLServer
- 跨域問題解決辦法跨域
- github訪問受限解決辦法Github
- win7黑屏解決辦法Win7
- mysql事件關閉解決辦法MySql事件
- EXP-00091解決辦法
- CACTI:ICMPPingError:gethostbynamefailed解決辦法ErrorAI
- SVN被鎖的解決辦法
- ORA-28056的解決辦法
- Eclipse閃退解決辦法Eclipse
- sysctl -P 報錯解決辦法
- 資料庫漏洞解決辦法資料庫
- SAP錯誤提示解決辦法
- job都停了的解決辦法
- 表碎片起因及解決辦法
- 新浪UC無法登入的解決辦法
- Oracle statspack無法收集快照,及解決辦法Oracle
- IIS 之 無法找到該頁 解決辦法
- 無法訪問google picasa的解決辦法Go
- PermissionError: [Errno 13] Permission denied解決辦法Error
- NPM run dev 失敗解決辦法NPMdev
- 表碎片起因及解決辦法(zt)
- npm install 失敗解決辦法NPM