Sessions Get Killed if Connection Use Default Service name (Same as db_name) (Doc ID 730315.1)
今天一個朋友碰到一點問題,目標環境是AIX RAC 10.2.0.4,alert日誌裡出現
Thu Jan 6 09:04:13 2011
ALTER SYSTEM SET service_names='orcl' SCOPE=MEMORY SID='orcl1';
Thu Jan 6 09:04:13 2011
Immediate Kill Session#: 252, Serial#: 25
Immediate Kill Session: sess: 70000020821ec30 OS pid: 201078
Thu Jan 6 09:04:13 2011
Process OS id : 201078 alive after kill
Errors in file
Thu Jan 6 09:04:13 2011
ALTER SYSTEM SET service_names='' SCOPE=MEMORY SID='orcl1';
Immediate Kill Session#: 253, Serial#: 1332
Immediate Kill Session: sess: 70000020a247e98 OS pid: 270550
Thu Jan 6 09:04:14 2011
Process OS id : 270550 alive after kill
Errors in file /opt/oracle/app/admin/orcl/udump/orcl1_ora_209652.trc
Immediate Kill Session#: 254, Serial#: 348
Immediate Kill Session: sess: 70000020f2424c8 OS pid: 221658
在metalink上查了一下,Doc ID 730315.1,db_name和service_name相同時就有可能觸發這個問題。
解決方法是修改service_name,使之與db_name不同,或者升級至10.2.0.5
[@more@]Document TitleSessions Get Killed if Connection Use Default Service name (Same as db_name) (Doc ID 730315.1)
Modified Date LabelModifiedModified Date25-AUG-2010Document Type LabelTypeDocument TypePROBLEMStatusARCHIVED(EXTERNAL)Priority3To Bottom
In this Document
Symptoms
Cause
Solution
References
Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.4 - Release: 10.2 to 10.2
Information in this document applies to any platform.
Symptoms
alert.log report "Immediate Kill Session" messages, but no one issued such command.
ALTER SYSTEM SET service_names='' SCOPE=MEMORY SID='ORCL1';
...
Immediate Kill Session#: 1606, Serial#: 23
Immediate Kill Session: sess: 0x447e141c0 OS pid: 21802
Immediate Kill Session#: 1607, Serial#: 25
Immediate Kill Session: sess: 0x446e27580 OS pid: 21751
Immediate Kill Session#: 1608, Serial#: 32
Immediate Kill Session: sess: 0x447e15670 OS pid: 21804
Immediate Kill Session#: 1610, Serial#: 56
Immediate Kill Session: sess: 0x447e16b20 OS pid: 20036
Immediate Kill Session#: 1611, Serial#: 21
Immediate Kill Session: sess: 0x446e29ee0 OS pid: 19893
...
ALTER SYSTEM SET service_names='ORCL' SCOPE=MEMORY SID='ORCL1';
Cause
This is caused by unpublished Bug 6955040 ALL THE SESSIONS LOST CONNECTION AFTER KILLING CRSD.BIN.
The problem is when CRSD is killed or crashed and restarted, CRSD will run resource check action but CRS resource status will not be available at that time. Then in instance check action, it fails to get the preferred node VIP resource status and considered the preferred node VIP resource is not running. Therefore, instance check action will remove the default database service name and disconnect sessions connected using default database service name.
This causes messages "ALTER SYSTEM" and "Immediate Kill Session" printed in alert log.
Solution
1) The fix is included in 10.2.0.5 patchset and 11.1.0.7 patchset.
Apply the patchset once they are available.
OR
2) Configure a service name other than the default one (same as db_name), and get user to use the non-default service name for connection.
References
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/19423/viewspace-1044214/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle修改instance_name、db_name、db_unique_name、service_namesOracle
- ImportError: cannot import name 'get_ora_doc' from partially initialized moduleImportErrorZed
- Unable to locate factory with name [default]
- 2.6.2.1 初始化引數DB_NAME
- ERROR: failed to establish dependency between database db_name and diskgroupErrorAIDatabase
- 叢集修改OCR中記錄的db_unique_name以及db_name
- Oracle 最新PSU (Doc ID 2118136.2)Oracle
- Mysql 如何更改default collation_connection settingMySql
- Azure databricks get notebook name
- 7.57 CON_NAME_TO_ID
- expdp/impdp變慢 (Doc ID 2469587.1)
- Reading and Understanding Systemstate Dumps (Doc ID 423153.1)
- CREATE CONTROLFILE修改DB_NAME一定不能使用REUSE
- 19c環境bbed安裝及db_name檢視
- Oracle 下載最新psu (Doc ID 2118136.2)Oracle
- RMAN -- Frequently Asked Question (FAQ) (Doc ID 469777.1)
- module ‘tensorflow‘ has no attribute ‘get_default_graph‘
- Different AG groups have the exactly same group_id value if the group names are same and the ‘CLUSTER_TYPE = EXTERNAL/NONE’None
- go get報錯connect: connection refusedGo
- How to Collect Diagnostics for Database Hanging Issues (Doc ID 452358.1)Database
- PRCT-1011 : Failed to run "oifcfg" (Doc ID 1380183.1)AI
- Failed to get D-Bus connection: Operation not permittedAIMIT
- A replica with the same server_uuid/server_id as this replica has connected to the source;ServerUI
- The database owner SID recorded in the master database differs from the database owner SID recorded in database 'DB_NAME'DatabaseAST
- HTML中的tag、element、class、name、idHTML
- [轉帖]Release Schedule of Current Database Releases (Doc ID 742060.1)Database
- 【CURSOR】How to Monitor and tune Open and Cached Cursors (Doc ID 1430255.1)
- PostgreSQL DBA(115) - pgAdmin(Don't do this:Don't use varchar(n) by default)SQL
- [Vue warn]: The data property "dialogVisible" is already declared as a prop. Use prop default valueVue
- Android Studio中的package name和application IDAndroidPackageAPP
- Node Express中app.use與app.getExpressAPP
- oracle11g: Scheduler Maintenance Tasks or Autotasks (Doc ID 756734.1)OracleAINaN
- 【DBA】Relinking Oracle Home 常見問題 (Doc ID 2048232.1)Oracle
- How To Replicate Data from Oracle to Postgres Using GoldenGate (Doc ID 1544137.1OracleGo
- Physical Standby Switchover_status Showing Not Allowed. (Doc ID 1392763.1)
- CMake Error: add_executable cannot create target ““ because another target with the same name已解決Error
- 11g-Reduce Transportable Tablespace Downtime using XTTS (Doc ID 1389592.1)TTS
- java.lang.IllegalStateException: Service id not legal hostnameJavaException
- 解決service iptables save出錯please try to use systemctl