VIP Enterprise Gateway Health check service goes up and stops after a few seconds or will not start
search cancel

VIP Enterprise Gateway Health check service goes up and stops after a few seconds or will not start

book

Article ID: 242286

calendar_today

Updated On:

Products

VIP Service

Issue/Introduction

After configuring Health Check to use Business Continuity, the Health Check service starts, hangs for a few seconds, then stops. Or, the service will not start.

Cause

Health Check properties file has missing values.

Resolution

First, try a simple reset of the service by editing the Health Check service settings and increasing the Poll Interval by 1 second, then saving the settings. If the service starts, the Poll interval can be set back to the original setting. 

If the service still fails to start, or if the Subject and Message fields are blank under the notification settings, check the healthcheckservice.out.log found at <VIP-Enterprise-Gateway>/tools directory for the following lines:

Binding to target org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'healthcheck' to com.symantec.healthcheck.config.HealthCheckConfig failed:

    Property: healthcheck.mail.connectionRestoredMsg
    Value: Reason: mail connectionRestoredMsg field can't be empty.

    Property: healthcheck.mail.connectionRestoredSub
    Value: Reason: mail connectionRestoredSub field can't be empty.

    Property: healthcheck.mail.connectionLostMsg
    Value: Reason: mail connectionLostMsg field can't be empty.

    Property: healthcheck.mail.connectionLostSub
    Value: Reason: mail connectionLostSub field can't be empty.

The errors refer to missing data in the healthcheck.properties file found at <VIP-Enterprise-Gateway>/conf directory. This data needs to be added. A sample healthcheck.properties file is attached to this article to be used as a reference when making the changes necessary changes.

Attachments

sample_healthcheck.properties get_app