Starting OpenNMS: Could not connect to the OpenNMS JVM
I am newbie to opennms, I have installed Opennms 19.0.1 version in Linux box.
When I try to start the opennms I am getting the error as mentioned below.
./opennms -v start
Starting OpenNMS: Could not connect to the OpenNMS JVM (OpenNMS might not be running or could be starting up or shutting down): Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException:
Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused]
(not waiting for startup) [ OK ]
Can anyone please suggest me what changes should I need to change or modify the configuration.
I have set the jvm path to /usr/bin/java and the java.conf file is set to the same.
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by
you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of
internal compliance with Accenture policy.