Friday 10 February 2017

Backend WLS or EM application seems to be down Retry

goto em12c and get:

image

Backend WLS or EM application seems to be down
Retry

Wow, this bugs me.

I want to log into EM12C to check something (I love EM12C), and I get this.

I’m sure that is this going to be a rabbit hole.

ssh to the linux host, no diskspace left – great!

Really, I should disable archive log on this database, as you don’t need it (hint to solution).

Start here for some breathing room

/u01/app/oracle/admin/OEMREP/adump

Delete a shed load of files

Then run du -a . | sort -n -r | head -n 10 from /u01 to find the top 10 folders by size

This shows top 10 folders by size, great… archive log

 

Okay, let’s delete them.  RMAN to the rescue

 

oracle@machinename ~] rman

 

RMAN> connect target sys@oemrep ;

RMAN>  delete archivelog all;

 

$OMS_HOME/bin/emctl status oms

$OMS_HOME/bin/emctl stop oms -all

$OMS_HOME/bin/emctl status oms

$OMS_HOME/bin/emctl start oms

 

[oracle@musashi ~]$ $OMS_HOME/bin/emctl start oms
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
Starting Oracle Management Server...
Starting WebTier...
WebTier Successfully Started
Oracle Management Server Successfully Started
Oracle Management Server is Up
[oracle@musashi ~]$

 

df –k

 

Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sda1      206292664 89324808 106465764  46% /
tmpfs            8085832      112   8085720   1% /dev/shm
/dev/sdc1       15349744    40672  14506308   1% /tmp

 

image

No comments: