zoukankan      html  css  js  c++  java
  • oracle9i的erp数据库无法正常关闭的解决方法。

    oracle9i版本的ERP数据库无法正常关闭。

    场景描述:oracle9i数据库正常关闭的时候,hang住在一个地方无法正常关闭。
    解决思路:查看alert日志,分析问题。

    [oraprod@erpdb1 ~]$ ./stopdb.sh 
    
    You are running addlnctl.sh version 115.3
    
    
    Shutting down listener process PROD ...
    
    
    addlnctl.sh: exiting with status 0
    
    You are running addbctl.sh version 115.7
    
    
    Shutting down database PROD ...
    
    hang住在此,不能继续正常关闭。
    

    1)查看alert日志。看到如下语句 :

    [oraprod@erpdb1 bdump]$ tail -f alert_PROD.log 
    Completed checkpoint up to RBA [0x210fb.2.10], SCN: 0x094a.f71170bc
    Mon Aug  6 10:25:19 2018
    Shutting down instance: further logons disabled
    Shutting down instance (immediate)
    License high water mark = 90
    Mon Aug  6 10:30:33 2018
    Active call for process 22809 user 'oraprod' program 'oracle@erpdb1.arp.cn (TNS V1-V3)'
    Active call for process 31347 user 'oraprod' program 'oracle@erpdb1.arp.cn (TNS V1-V3)'
    Active call for process 437 user 'oraprod' program 'oracle@erpdb1.arp.cn (TNS V1-V3)'
    SHUTDOWN: waiting for active calls to complete.
    

    发现有三个用户保持连接导致,数据库无法正常关闭。先直接杀掉进程。

    kill -9 22809
    kill -9 31347
    kill -9 437
    

    数据库正常关闭。

  • 相关阅读:
    vs 编译加速
    leetcode 1405
    sort 从大到小从小到大
    leetcode1404
    leetcode 1406
    leetcode 1556
    杭电研究生自动登录联网脚本
    Cannot mix incompatible Qt library (version ) with this library (version ) 解决方案
    目标检测算法优化技巧
    特征工程和模型融合--机器学习--思维导图和笔记
  • 原文地址:https://www.cnblogs.com/zhangshengdong/p/9429031.html
Copyright © 2011-2022 走看看