This discussion is archived
4 Replies Latest reply: Sep 30, 2013 11:19 AM by Anar Godjaev RSS

EM Failed

Newbie
Currently Being Moderated

HI,

 

EM Failed

 

-bash-3.00$ emctl status dbconsole

Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0

Copyright (c) 1996, 2008 Oracle Corporation.  All rights reserved.

 

https://rgpdb1.rg.com:1158/em/console/aboutApplication

 

Oracle Enterprise Manager 11g is not running.

------------------------------------------------------------------

Logs are generated in directory /pdb01/oraprod/db/tech_st/11.1.0/rgpdb1_rgprd1/sysman/log

-bash-3.00$

-bash-3.00$

-bash-3.00$

-bash-3.00$ emctl start dbconsole

Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0

Copyright (c) 1996, 2008 Oracle Corporation.  All rights reserved.

 

https://rgpdb1.rg.com:1158/em/console/aboutApplication

 

- An instance of Oracle Enterprise Manager 11g Database Control is already running.

-bash-3.00$

-bash-3.00$

-bash-3.00$

-bash-3.00$ emctl stop dbconsole

Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0

Copyright (c) 1996, 2008 Oracle Corporation.  All rights reserved.

 

https://rgpdb1.rg.com:1158/em/console/aboutApplication

 

Stopping Oracle Enterprise Manager 11g Database Control ...

...  Stopped.

-bash-3.00$

-bash-3.00$

-bash-3.00$

-bash-3.00$ emctl start dbconsole

Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0

Copyright (c) 1996, 2008 Oracle Corporation.  All rights reserved.

 

https://rgpdb1.rg.com:1158/em/console/aboutApplication

 

Starting Oracle Enterprise Manager 11g Database Control ........................................... failed.

------------------------------------------------------------------

Logs are generated in directory /pdb01/oraprod/db/tech_st/11.1.0/rgpdb1_rgprd1/sysman/log

-bash-3.00$

 

Please help me

  • 1. Re: EM Failed
    Anar Godjaev Expert
    Currently Being Moderated

    HI,  Could you please past trace log (emagent.trc)

  • 2. Re: EM Failed
    Newbie
    Currently Being Moderated

    2013-09-30 21:48:50,837 Thread-251 ERROR pingManager: nmepm_pingReposURL:

    Cannot connect tohttps://rgpdb1.rg.com:1158/em/upload/: retStatus=-32

    2013-09-30 21:48:20,670 Thread-261 WARN  http: snmehl_connect:

    connect failed to (rgpdb1.rg.com:1158): Connection refused (error = 146)

    2013-09-30 21:48:20,670 Thread-261 ERROR pingManager: nmepm_pingReposURL:

    Cannot connect tohttps://rgpdb1.rg.com:1158/em/upload/: retStatus=-32

    2013-09-30 21:48:20,671 Thread-261 WARN  http: snmehl_connect:

    connect failed to (rgpdb1.rg.com:1158): Connection refused (error = 146)

    2013-09-30 21:48:20,671 Thread-261 ERROR pingManager: nmepm_pingReposURL:

    Cannot connect tohttps://rgpdb1.rg.com:1158/em/upload/: retStatus=-32

    2013-09-30 21:48:50,679 Thread-267 WARN  http: snmehl_connect:

    connect failed to (rgpdb1.rg.com:1158): Connection refused (error = 146)

    2013-09-30 21:48:50,679 Thread-267 ERROR pingManager: nmepm_pingReposURL:

    Cannot connect tohttps://rgpdb1.rg.com:1158/em/upload/: retStatus=-32

    2013-09-30 21:48:50,681 Thread-267 WARN  http: snmehl_connect:

    connect failed to (rgpdb1.rg.com:1158): Connection refused (error = 146)

    2013-09-30 21:48:50,681 Thread-267 ERROR pingManager: nmepm_pingReposURL:

    Cannot connect tohttps://rgpdb1.rg.com:1158/em/upload/: retStatus=-32

  • 3. Re: EM Failed
    Anar Godjaev Expert
    Currently Being Moderated

    ooo great ))

     

    Please check step by step

     

    /usr/ucb/ps -axuww | grep emagent

    /usr/ucb/ps -axuww | grep DEMS

     

    -bash-3.00$ /usr/ucb/ps -axuww | grep emagent

    oraprod  17676  0.0  0.5163368157104 ?        S 12:32:47  0:53 /pdb01/oraprod/db/tech_st/11.1.0/bin/emagent

     

    -bash-3.00$ /usr/ucb/ps -axuww | grep DEMS

    oraprod   6600  0.0  0.8474392254640 ?        S   Jan 08  5:14 /pdb01/oraprod/db/tech_ .........

     

    KIll this process

     

    -bash-3.00$ kill -9 17676

    -bash-3.00$ kill -9 6600

     

    Then stop emctl, and start emctl

     

    -bash-3.00$ emctl stop dbconsole

    Stopping Oracle Enterprise Manager 11g Database Control ...

    ...  Stopped.

     

    -bash-3.00$ emctl start dbconsole

    Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0

    Copyright (c) 1996, 2008 Oracle Corporation.  All rights reserved.

     

    Starting Oracle Enterprise Manager 11g Database Control ...... started.

    ------------------------------------------------------------------

    Logs are generated in directory "you trace location"

     

     

    -bash-3.00$ emctl status dbconsole

    Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0

    Copyright (c) 1996, 2008 Oracle Corporation.  All rights reserved.

     

    Oracle Enterprise Manager 11g is running.

     

    Enjoy

  • 4. Re: EM Failed
    Newbie
    Currently Being Moderated

    Thanks for  help, this code works like a beast

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points