Oracle version 11.2. Sysman/log under the Emdb.nohup file is too large, how to solve?

Source: Internet
Author: User

Reference articles

Experiment:

1. View current EMCTL status Dbconsole to Runing state

2. Close Emctl Stop Dbconsole

3. Delete the Emdb.nohup file in the/u01/app/oracle/product/11.2.0/db_1/gtone.localdomain_cqrcb/sysman/log directory

4. Restart Emctl start Dbconsole

5. View auto-generated emdb.nohup file

Demonstrating the relativity between Emdb.nohup file and Emctl

1, through the fuser command, view

[root@gtone ~]# fuser  /u01/app/oracle/product/11.2.0/db_1/gtone.localdomain_CQRCB/sysman/log/emdb.nohup 
/u01/app/oracle/product/11.2.0/db_1/gtone.localdomain_CQRCB/sysman/log/emdb.nohup: 11733 11753 11763

2, through Ps-ef | grep Oracle Command View process information

[root@gtone ~]# ps -ef | grep oracle
oracle    3383     1  0 Aug20 ?        00:01:17 /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr LISTENER -inherit
oracle    3507     1  0 Aug20 ?        00:02:02 ora_pmon_CQRCB
oracle    3509     1  0 Aug20 ?        00:02:22 ora_psp0_CQRCB
oracle    3511     1  0 Aug20 ?        00:01:39 ora_vktm_CQRCB
oracle    3515     1  0 Aug20 ?        00:00:03 ora_gen0_CQRCB
oracle    3517     1  0 Aug20 ?        00:00:05 ora_diag_CQRCB
oracle    3519     1  0 Aug20 ?        00:00:22 ora_dbrm_CQRCB
oracle    3521     1  0 Aug20 ?        02:48:10 ora_dia0_CQRCB
oracle    3523     1  0 Aug20 ?        00:00:16 ora_mman_CQRCB
oracle    3525     1  0 Aug20 ?        00:36:29 ora_dbw0_CQRCB
oracle    3527     1  0 Aug20 ?        00:19:29 ora_lgwr_CQRCB
oracle    3529     1  0 Aug20 ?        00:17:00 ora_ckpt_CQRCB
oracle    3531     1  0 Aug20 ?        00:06:33 ora_smon_CQRCB
oracle    3533     1  0 Aug20 ?        00:00:06 ora_reco_CQRCB
oracle    3535     1  0 Aug20 ?        00:16:51 ora_mmon_CQRCB
oracle    3537     1  0 Aug20 ?        00:56:07 ora_mmnl_CQRCB
oracle    3539     1  0 Aug20 ?        00:00:02 ora_d000_CQRCB
oracle    3541     1  0 Aug20 ?        00:00:02 ora_s000_CQRCB
oracle    3561     1  0 Aug20 ?        00:00:02 ora_qmnc_CQRCB
oracle    3625     1  0 Aug20 ?        00:04:05 ora_cjq0_CQRCB
oracle    3737     1  0 Aug20 ?        00:00:27 ora_q001_CQRCB
oracle    3905     1  0 Aug20 ?        00:00:07 ora_smco_CQRCB
root      6426  3119  0 09:55 ?        00:00:00 sshd: oracle [priv]
oracle    6428  6426  0 09:55 ?        00:00:00 sshd: oracle@pts/0
oracle    6429  6428  0 09:55 pts/0    00:00:00 -bash
oracle    8991     1  0 10:04 ?        00:00:00 ora_w001_CQRCB
oracle    9433     1  0 10:09 ?        00:00:00 ora_w003_CQRCB
oracle   11733     1  0 10:17 pts/0    00:00:00 /u01/app/oracle/product/11.2.0/db_1/perl/bin/perl /u01/app/oracle/product/11.2.0/db_1/bin/emwd.pl dbconsole /u01/app/oracle/product/11.2.0/db_1/gtone.localdomain_CQRCB/sysman/log/emdb.nohup
oracle   11753 11733  9 10:17 pts/0    00:00:19 /u01/app/oracle/product/11.2.0/db_1/jdk/bin/java -server -Xmx384M -XX:MaxPermSize=400M -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 -Doracle.home=/u01/app/oracle/product/11.2.0/db_1/oc4j -Doracle.oc4j.localhome=/u01/app/oracle/product/11.2.0/db_1/gtone.localdomain_CQRCB/sysman -DEMSTATE=/u01/app/oracle/product/11.2.0/db_1/gtone.localdomain_CQRCB -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=/u01/app/oracle/product/11.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_gtone.localdomain_CQRCB/config/jazn.xml -Djava.security.policy=/u01/app/oracle/product/11.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_gtone.localdomain_CQRCB/config/java2.policy -Djavax.net.ssl.KeyStore=/u01/app/oracle/product/11.2.0/db_1/sysman/config/OCMTrustedCerts.txt-Djava.security.properties=/u01/app/oracle/product/11.2.0/db_1/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=/u01/app/oracle/product/11.2.0/db_1/gtone.localdomain_CQRCB -Dsysman.md5password=true -Drepapi.oracle.home=/u01/app/oracle/product/11.2.0/db_1 -Ddisable.checkForUpdate=true -Doracle.sysman.ccr.ocmSDK.websvc.keystore=/u01/app/oracle/product/11.2.0/db_1/jlib/emocmclnt.ks -Dice.pilots.html4.ignoreNonGenericFonts=true -Djava.awt.headless=true -jar /u01/app/oracle/product/11.2.0/db_1/oc4j/j2ee/home/oc4j.jar -config /u01/app/oracle/product/11.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_gtone.localdomain_CQRCB/config/server.xml
oracle   11763 11733  0 10:17 pts/0    00:00:00 /u01/app/oracle/product/11.2.0/db_1/bin/emagent
oracle   11789     1  1 10:17 ?        00:00:03 oracleCQRCB (LOCAL=NO)
oracle   11822     1  0 10:17 ?        00:00:00 oracleCQRCB (LOCAL=NO)
oracle   11971     1  0 10:17 ?        00:00:00 oracleCQRCB (LOCAL=NO)
oracle   11991     1  0 10:17 ?        00:00:00 oracleCQRCB (LOCAL=NO)
oracle   12034     1  0 10:17 ?        00:00:00 oracleCQRCB (LOCAL=NO)
oracle   12037     1  0 10:17 ?        00:00:00 oracleCQRCB (LOCAL=NO)
oracle   12040     1  0 10:17 ?        00:00:00 oracleCQRCB (LOCAL=NO)
oracle   12043     1  0 10:17 ?        00:00:00 oracleCQRCB (LOCAL=NO)
oracle   12054     1  0 10:17 ?        00:00:00 oracleCQRCB (LOCAL=NO)
root     12935 12865  0 10:21 pts/5    00:00:00 grep oracle
oracle   19270     1  0 Sep14 ?        00:00:00 ora_q003_CQRCB
[root@gtone ~]# 

3, clear the Emdb.log file, no problem.


Oracle version 11.2. Sysman/log under the Emdb.nohup file is too large, how to solve?

Related Article

Contact Us

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

  • 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.