LINUX下安裝Oracle後無法建監聽

來源:互聯網
上載者:User

標籤:oracle   監聽   

***********************************************聲明********************************************** 

原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明出處,否則追究著作權法律責任。

表述有錯誤之處,請您留言或郵件([email protected])指明,不勝感激。

本文轉載必須保留此處:http://blog.csdn.net/huangyanlong/article/details/39435817

深藍的blog:http://blog.csdn.net/huangyanlong

***************************************************************************************************

今天在LINUX下安裝了Oracle10g後,無法建立監聽,經過一番檢查,原來問題出在一個很低級的地方,以下將其重現:

報錯圖例:

(本次使用X-Manager遠程圖形化動作伺服器)

[[email protected]hyl ~]$ netca

報錯資訊如下:

Oracle Net Services Configuration:## An unexpected error has been detected by HotSpot Virtual Machine:##  SIGSEGV (0xb) at pc=0x007c8a83, pid=29746, tid=4151301824## Java VM: Java HotSpot(TM) Client VM (1.4.2_14-b05 mixed mode)# Problematic frame:# C  [libc.so.6+0x76a83]  index+0x63## An error report file with more information is saved as hs_err_pid29746.log## If you would like to submit a bug report, please visit:#   <a target=_blank href="http://java.sun.com/webapps/bugreport/crash.jsp#/u01/app/oracle/product/10.2.0/db_1/bin/netca">http://java.sun.com/webapps/bugreport/crash.jsp#/u01/app/oracle/product/10.2.0/db_1/bin/netca</a>: line 190: 29746 Aborted                 (core dumped) $JRE -mx64m $SRVM_PROPERTY_DEFS -Dsun.java2d.font.DisableAlgorithmicStyles=true -classpath $CLASSPATH oracle.net.ca.NetCA $*

查看hosts檔案,發現主機名稱沒有添加

[[email protected]hyl ~]# vi /etc/hosts

修改前

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4::1         localhost localhost.localdomain localhost6 localhost6.localdomain6192.168.40.26 ~~

修改後

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4::1         localhost localhost.localdomain localhost6 localhost6.localdomain6192.168.40.26 hyl~~

重新執行netca,如下所示,問題解決:

[[email protected]hyl ~]$ netca

Oracle Net Services Configuration:

圖形化介面被成功調出了,如下所示:

***********************************************聲明********************************************** 

原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明出處,否則追究著作權法律責任。

表述有錯誤之處,請您留言或郵件([email protected])指明,不勝感激。

本文轉載必須保留此處:http://blog.csdn.net/huangyanlong/article/details/39435817

深藍的blog:http://blog.csdn.net/huangyanlong

***************************************************************************************************

LINUX下安裝Oracle後無法建監聽

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.