vpxd-svcs service fails to start after patching vCenter appliance from 7U3x to 7U3x
search cancel

vpxd-svcs service fails to start after patching vCenter appliance from 7U3x to 7U3x

book

Article ID: 322336

calendar_today

Updated On:

Products

VMware vCenter Server VMware vCenter Server 7.0

Issue/Introduction

  • Error when attempting to start vpxd-svcs:

    Could not resolve placeholder 'dataservice.access.logging.maxDays'


  • After patching vCenter appliance from 7U3x to 7U3x, vpxd-svcs service does not start
  • vCenter - /var/log/vmware/vpxd-svcs/vpxd-svcs.log:
[YYYY-MM-DDTHH:MM:SS] [main [] INFO  com.vmware.vim.dataservices.VpxdSvcsMain  opId=] Starting service via vmon
[YYYY-MM-DDTHH:MM:SS] [main [] WARN  org.springframework.context.support.ClassPathXmlApplicationContext  opId=] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'isAccessLogCreated' defined in class path resource [server-config.xml]: Could not resolve placeholder 'dataservice.access.logging.maxDays' in value "${dataservice.access.logging.maxDays}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'dataservice.access.logging.maxDays' in value "${dataservice.access.logging.maxDays}"
[YYYY-MM-DDTHH:MM:SS] [main [] ERROR com.vmware.vim.dataservices.VpxdSvcsMain  opId=] start: Tagging and Authz services failed to start
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'isAccessLogCreated' defined in class path resource [server-config.xml]: Could not resolve placeholder 'dataservice.access.logging.maxDays' in value "${dataservice.access.logging.maxDays}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'dataservice.access.logging.maxDays' in value "${dataservice.access.logging.maxDays}"

Environment

VMware vCenter Server 7.0.3

Cause

During patching, the following file fails to update: /var/lib/vmware/vpxd-svcs/config/dataservice.properties.

On the affected vCenter, the following file contains:

Resolution

Update the missing entries in the /var/lib/vmware/vpxd-svcs/config/dataservice.properties file.

  1. Take a backup of the file

    cp /var/lib/vmware/vpxd-svcs/config/dataservice.properties /root/

  2. Edit the file

    vi /var/lib/vmware/vpxd-svcs/config/dataservice.properties

  3. Insert the lines below, after the 'vpxdsvcs.version' line:

    dataservice.access.logging.maxDays=0
    dataservice.access.logging.checkExists=true
    dataservice.access.logging.maxSize=1048576
    dataservice.access.logging.frequencySeconds=600

  4. Save the file with

    :wq!

  5. Start the vpxd-svcs service

    service-control --start vpxd-svcs

Additional Information

Note: Make sure to backup the file before performing any modification.