新聞中心
作為一家“創(chuàng)意+整合+營銷”的成都網(wǎng)站建設(shè)機構(gòu),我們在業(yè)內(nèi)良好的客戶口碑。創(chuàng)新互聯(lián)提供從前期的網(wǎng)站品牌分析策劃、網(wǎng)站設(shè)計、網(wǎng)站制作、成都做網(wǎng)站、創(chuàng)意表現(xiàn)、網(wǎng)頁制作、系統(tǒng)開發(fā)以及后續(xù)網(wǎng)站營銷運營等一系列服務(wù),幫助企業(yè)打造創(chuàng)新的互聯(lián)網(wǎng)品牌經(jīng)營模式與有效的網(wǎng)絡(luò)營銷方法,創(chuàng)造更大的價值。
上圖是oracle體系總架構(gòu)圖
今天突然公司所有終端pos機不能刷卡消費,財務(wù)室不能充值,一下很多電話打過來了,第一反應(yīng)肯定數(shù)據(jù)庫出問題了,登陸到數(shù)據(jù)庫服務(wù)器,果然sqlplus連進去后就不斷提示要求輸入用戶名,彈出一下提示:
ERROR:
ORA-00020: maximum number of processes (150) exceeded
Enter user-name: sys
Enter password:
ERROR:
ORA-00020: maximum number of processes (150) exceeded
Enter user-name: sys
Enter password:
ERROR:
ORA-01017: invalid username/password; logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
思考分析了一會,果斷把oracle通過任務(wù)管理器把其相關(guān)進程給殺了,終于可以進去了,通過研究,解決辦法如下:
oracle@wu101:~> sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Fri Nov 15 17:07:40 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> show parameter processes;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes integer 1
db_writer_processes integer 1
gcs_server_processes integer 0
global_txn_processes integer 1
job_queue_processes integer 1000
log_archive_max_processes integer 4
processes integer 150
SQL> alter system set processes=1500 scope = spfile;
System altered.
SQL> commit;
Commit complete.
SQL> shutdown abort # 這個命令慎重執(zhí)行,若是在生產(chǎn)環(huán)境下,還是用"shutdown immediate"比較好,小白是自己的環(huán)境,才如此暴力強制下線的。
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 1603411968 bytes
Fixed Size 2228784 bytes
Variable Size 1073745360 bytes
Database Buffers 520093696 bytes
Redo Buffers 7344128 bytes
Database mounted.
Database opened.
SQL> show parameter processes;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes integer 1
db_writer_processes integer 1
gcs_server_processes integer 0
global_txn_processes integer 1
job_queue_processes integer 1000
log_archive_max_processes integer 4
processes integer 1500
windows上的oracle的pfile和spfile的路徑在如下目錄:
D:\app\Administrator\product\11.2.0\dbhome_1\database
今天給大家分享一個oracle問題的解決實例
如啟動Oracle時提示“ORA-00600: internal error code, arguments”錯誤?
SQL> startup
ORA-00600: internal error code, arguments: [ksunfy : too few sessions], [9504], [75040], [], [], [], [], [], [], [], [], []”
解決辦法:這里的錯誤說明Oracle的processes和sessions的值調(diào)的太大了。
(1)修改processes和sessions的值,可先通過目前有問題的spfile創(chuàng)建成新的pfile,因為pfile是文本文件,它才打得開,用以下命令創(chuàng)建:create pfile from spfile;然后到D:\app\Administrator\product\11.2.0\dbhome_1\database下vim INIThlecard.ORA,然后修改里面的值,如下:
*.processes=10000
*.sessions=10000
保存
(2)SQL> create spfile from pfile
File created.
SQL> startup
ORACLE instance started.
Total System Global Area 8.5516E+10 bytes
Fixed Size 2237776 bytes
Variable Size 8858372784 bytes
Database Buffers 7.6504E+10 bytes
Redo Buffers 151142400 bytes
Database mounted.
Database opened.
標題名稱:一卡通vip充值消費線上oracle庫服務(wù)器故障排查過程
標題來源:http://www.ef60e0e.cn/article/jgeecd.html