An example of Oracle fault analysis and processing encountered in work
Source: Internet
Author: User
Oracle
Case Category: Vas network System type: Cmode system version: Hardware: SUN software: All version case title: The database in the Cmode put the lock processing method failure phenomenon: Start the sam_cmode process is not normal processing work orders. Fault Description: Start the discovery in Sam_cmode–d sam_cmode always process a user.
Connected
4c 4f MB 4e 3a 4e 4d 22
The 6a 2c (4f) 3d 22
6a to 0d 0a
Send:login:username= "UTBJ", password= "utbj123"
Recv:login:result=0
Connect Cmode successful!
4c (3a) A (m)
0d 0a
Send DEL 08518743210:
A connection break or timeout in recv
Commu Err When Delete event
Failure Analysis: Manually delete the user record in the Cmode database and find no feedback from Oracle.
(An Oracle integrity constraint error is normally present.) Ora-02292:integrity constraint (pdxdba. Fk_tsignup_userid) Violated-child record found)
Initial suspicion the user record in the Tcontract table is locked.
By querying Oracle's view, it is found that a user is currently updating the user record and that there are many update actions that have not been commit.
Sql> Select A.serial#,a.sid,c.sql_text,a.program from v$session a,v$locked_object b,v$sqltext C where a.sid=b. session_id and c.sql_text like ' update tcontract set% ' and a.program like ' sqlplus% ' order by A.sid;
Update tcontract set lstatus= ' E ' where tel= ' 08518743210 '
Sqlplus@gz_signup (TNS v1-v3)
14895 234
Troubleshooting: Kill these sessions with Oracle commands. Reboot the Sam_cmode and signup modules.
Alter system kill session ' 234,14895 ';
Daily Maintenance: 1. The maintenance staff try not to manually modify the data in the Cmode database.
2. Execute the commit operation in time after the modification is confirmed correctly.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service