VMware vSphere

 View Only
  • 1.  Warning VMware Common Logging Service Health Alarm

    Posted Jul 20, 2016 08:22 AM

    Sometimes I got this warning

    What it can be and what should I do?



  • 2.  RE: Warning VMware Common Logging Service Health Alarm

    Posted Aug 02, 2016 09:05 AM

    What version of vCenter are you on and is it Windows or Appliance ?



  • 3.  RE: Warning VMware Common Logging Service Health Alarm

    Posted Oct 04, 2016 07:29 AM

    Facing same problem. We are using appliance v6.0.0 (3634794).

    Any ideas?



  • 4.  RE: Warning VMware Common Logging Service Health Alarm

    Posted Feb 08, 2017 02:54 PM

    Did you try this KB?

    /storage/log directory is full in vCenter Server Appliance 6.0 (2143565) | VMware KB

    It fixed the problem in my case.

    1. Log in to the vCenter Server Appliance or PSC console as root user.
    2. Run this command to enable access the Bash shell:

      shell.set --enabled true

    3. Type shell and press Enter.
    4. Navigate to this directory:

      cd /usr/lib/vmware-sso/vmware-sts/webapps/sts/WEB-INF/classes/

    5. Run this command to back up the log4j.properties file:

      cp log4j.properties log4j.properties.bak

    6. Open the  log4j.properties file using a text editor.
    7. Locate the  log4j.appender.LOGFILE.MaxFileSize and  log4j.appender.LOGFILE.MaxBackupIndex parameters after this entry:

      log4j.appender.LOGFILE.File=${catalina.base}/logs/vmware-identity-sts.log
    8. Change the value of parameters to 50 and 5 respectively:

      For example:

      log4j.appender.LOGFILE.MaxFileSize=50MB
      log4j.appender.LOGFILE.MaxBackupIndex=5


      Note: The default values are MaxFileSize=100MB and MaxBackupIndex=10.

    9. Locate the log4j.appender.PERFLOG.MaxBackupIndex parameter after this entry:

      log4j.appender.PERFLOG.File=${catalina.base}/logs/vmware-identity-sts-perf.log
    10. Change the value of parameter to 3.

      For example:

      log4j.appender.PERFLOG.MaxBackupIndex=3

      Note: The default value is MaxBackupIndex=10.

    11. Run this command to restart the STS service:

      service vmware-stsd restart
    12. Navigate to:

      cd /storage/log/vmware/sso/

    13. Remove the old localhost_access_log,vmware-identity-sts and  vmware-identity-sts-perf log files by running these commands:

      rm localhost_access_log.*
      rm vmware-identity-sts.*
      rm vmware-identity-sts-perf.*



      Note: Restart the STS service again for new log files to be created in the  /storage/log directory.