TNS-12537、TNS-12560、TNS-00507、Linux Error:29 組合錯誤解決方案

來源:互聯網
上載者:User

今天很是鬱悶,伺服器用了很長時間都沒有問題。

早上使用過程中發現串連不上,經確認為機房斷電,發機後主機啟動正常,但是出現資料庫監聽器無法啟動。

主要錯誤和解決過程如下:

[root@bddb 10.2.0]# su - oracle
[oracle@bddb ~]$ lsnrctl status

LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 09-DEC-2011 08:39:29

Copyright (c) 1991, 2007, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=bddb)(PORT=1521)(IP=FIRST)))
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=TCP)(HOST=192.168.100.11)(PORT=1521)(IP=FIRST)))
TNS-12541: TNS:no listener
 TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   Linux Error: 111: Connection refused
[oracle@bddb ~]$ exit
logout
[root@bddb 10.2.0]# vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.100.11  bddb    bddb
127.0.0.1       bddb    localhost
~
~
~
~
"/etc/hosts" 4L, 163C written
[root@bddb 10.2.0]# su - oracle
[oracle@bddb ~]$ lsnrctl start

LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 09-DEC-2011 08:41:35

Copyright (c) 1991, 2007, Oracle.  All rights reserved.

TNS-01106: Listener using listener name LISTENER has already been started

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.