vstats service fails to start
search cancel

vstats service fails to start

book

Article ID: 371816

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • VAMI backups are failing
  • vstats service in stopped state
  • attempting to start the vstats service fails

    service-control --start vstats: Got an error while executed the cmd

  • /var/log/vmware/vstats/vstats-stderr.log

  • Solution User VECS stores are not present when checking certificate expiration

    for i in $(/usr/lib/vmware-vmafd/bin/vecs-cli store list); do echo STORE $i; sudo /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store $i --text | egrep "Alias|Not After"; done



Environment

vCenter 7.x
vCenter 8.x

Cause

  • Solution User Stores are missing VECS Store
  • After re-creating the VECS stores some services are missing permissions in vpxd-extensions
  • The vstats service is missing from vpxd-extension store when executing

    /usr/lib/vmware-vmafd/bin/vecs-cli store get-permissions --name vpxd-extension

Resolution

  • Add the missing service to the vpxd-extension store

    /usr/lib/vmware-vmafd/bin/vecs-cli store permission --name vpxd-extension --user vstatsuser --grant read
  • Start the vstats service

    service-control --start vstats