error java.lang.NoClassDefFoundError: Could not initialize class org.xbill.DNS.Lookup in centos

Symptons

After login all the OpenKM web sections raise the error "java.lang.NoClassDefFoundError: Could not initialize class org.xbill.DNS.Lookup".

Cause

OpenKM is not able to resolve server hostname.

Solution

Disable NetworkManager ( should not be working on servers ) the steps are:

$ service NetworkManager stop

$ chkconfig NetworkManager off

Modify resolv.conf ( has been modified some rows )

#search lan.
nameserver 8.8.8.8
nameserver 8.8.4.4
#nameserver fe80::1ad6:c7ff:fe6a:d82c%eno16777984

Restart network

$ service network restart

Properties

Properties

Date

2018-02-13

Applies to

  • Core

Keywords

  • Professional
  •   
  • AllVersions
  •   
  • Community
  •