lnsrctl start 錯誤的解決

2021-05-28 02:30:23 字數 835 閱讀 9062

剛安裝完oracle之後首次執行 $lsnrctl start 都報以下錯誤:

[oracle@rhel6 ~]$ lsnrctl start

lsnrctl for linux: version 10.2.0.1.0 - production on 09-sep-2011 10:41:36

starting /home/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

經過一翻探索發現這個問題出在/etc/hosts檔案沒有寫好,我原來的/etc/hosts內容是

127.0.0.1   rhel6 localhost.localdomain localhost4 localhost4.localdomain4

我在後面加了localhost就恢愎正常了,如下

127.0.0.1   rhel6 localhost.localdomain localhost4 localhost4.localdomain4 localhost

就是說/etc/hosts檔案裡一定要有一條是127.0.0.1 hostnam localhost othername(option)

easy? enjoy....

小熊錯誤 小熊的錯誤

小熊碰上牛大嬸拉著滿滿一車的水果往前趕,小熊順手拿了兩個蘋果吃了起來,牛大嬸遇到上坡,怎麼使力氣也拉不上去,牛大嬸對小熊說 小熊,可不可以請你幫忙在後面推一下我的車呢?小熊朝牛大嬸做了個鬼臉轉頭跑掉了,小熊看到小白兔在河邊穿著新裙子正高興著呢,趁白兔妹妹不注意從後面推了一把白兔妹妹,一下子把白兔妹妹...

idea git 出現的更新錯誤的錯誤

push was rejected,and update failed with error 推被拒絕,更新失敗與錯誤 解決方案 idea中使用git提交本地檔案到遠端分支,提示git push rejected 引起的原因是,本地倉庫的分支 版本與遠端分支的版本不一致,導致提交失敗!解決方式 1 ...

403錯誤與404錯誤的交集

403錯誤往往是許可權不夠的提示 404錯誤是訪問資源不存在的提示 但是為什麼說403錯誤跟404錯誤有交集呢?因為服務設定中有瀏覽目錄這個功能的存在 假設我們有乙個目錄website,訪問路徑是 情況1 瀏覽目錄功能開啟,website目錄下無缺省執行檔案 預設首頁 結果 可以用瀏覽器開啟該站點,...