Oracle資料庫還真不好整

來源:互聯網
上載者:User

從在Linux上安裝Oracle到投入使用才幾天,碰到的問題就成百上千的。在使用用戶端串連遠程Oracle資料庫伺服器時,出現了listener refused the connection with the following error ora-12519 Listener refused the connection with the following error:ORA-12519, TNS:no appropriate service handler foundThe Connection descriptor used by the client was: xxx

剛開始以為是用戶端listener沒搞好,搞了好長時間還是不能串連成功。

後來就登入資料庫伺服器,執行sqlplus看看資料庫是否正常,但卻出現了ORA-00020: maximum number of processes (%s) exceeded的錯誤,這才恍然大悟。哎 有浪費這麼多時間。

 

到網上搜了一把,找到瞭解決方法。

1. 以先把你的應用程式關閉,這樣就降低了oracle的串連數

2. 以sysdba身份登入資料庫

3. 執行show parameter process, 看看processes的值是多少

4. 執行 alter system set processes = <比你剛才看到的processes值大的數字> scope=spfile

5. shutdown immediate

6. startup

 

再試一下串連,應該不會出現上述錯誤了

 

 

聯繫我們

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