Error java.lang.NoClassDefFoundError: Could not initialize class org.xbill.DNS.Lookup in CentOS
Symptoms
After login, all OpenKM web sections display the error "java.lang.NoClassDefFoundError: Could not initialize class org.xbill.DNS.Lookup".
Cause
OpenKM is not able to resolve the server hostname.
Solution
Disable NetworkManager (it should not be running on servers). The steps are:
$ service NetworkManager stop
$ chkconfig NetworkManager off
Modify resolv.conf (some lines have been modified)
#search lan.
nameserver 8.8.8.8
nameserver 8.8.4.4
#nameserver fe80::1ad6:c7ff:fe6a:d82c%eno16777984
Restart the network
$ service network restart
Properties
Properties | |
---|---|
Date |
2018-02-13 |
Applies to |
|
Keywords
- Professional
- AllVersions
- Community