search cancel

Aggregator service fails to start if the service cannot resolve its hostname.

book

Article ID: 163494

calendar_today

Updated On:

Products

Data Loss Prevention Endpoint Prevent

Issue/Introduction

After adding a new Endpoint Prevent server to Enforce, the aggregator service fails to start or remains in a 'Starting' status.

  • Hosts file is configured with default values.
  • Name server has not been defined.

SEVERE: Aggregator failed to start.
java.net.UnknownHostException: SERVERNAME.CHILDDOMAIN.DOMAIN.COM: SERVERNAME.CHILDDOMAIN.DOMAIN.COM: unknown error
        at java.net.InetAddress.getLocalHost(InetAddress.java:1484)
        at com.symantec.dlp.applications.bootstrap.ApplicationBootstrap.getHostName(ApplicationBootstrap.java:217)
        at com.symantec.dlp.applications.bootstrap.ApplicationBootstrap.startUp(ApplicationBootstrap.java:168)
        at com.vontu.aggregator.Aggregator.start(Aggregator.java:491)
        at com.vontu.aggregator.Aggregator.start(Aggregator.java:461)
        at com.vontu.aggregator.Aggregator.initializeAggregator(Aggregator.java:245)
        at com.vontu.aggregator.Aggregator.main(Aggregator.java:168)
Caused by: java.net.UnknownHostException: SERVERNAME.CHILDDOMAIN.DOMAIN.COM: unknown error
        at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:907)
        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1302)
        at java.net.InetAddress.getLocalHost(InetAddress.java:1479)
        ... 6 more

Environment

Symantec DLP Endpoint Prevent

Red Hat Linux 6

Cause

During service startup, Java attempts to get the local host name resolution and fails.

Resolution

Confirm local host name using hostname command.

Add the local hostname to /etc/hosts

Add the FQDN for the local machine to /etc/hosts

Restart Symantec DLP Detection Server Service.