I’ve hit a wall twice with installing and learning OpenNMS. I’ve installed what I believe to be the current version of OpenNMS and I’ve been following along with the videos that Tarus produced. When I move from lesson 4-1 to 4-2 a restart of OpenNMS is required. And when I attempt to restart OpenNMS, the status shows start_pending and then OpenNMS does not start. Instead I get this:
[root@nms etc]# opennms -v status 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 (Connection refused)] opennms is stopped
I’ve searched using Google for the error, and I can find it – but the problems don’t look similar to what I am seeing. I’m not a *nix person, but I am able to follow directions, and I have an idea of what I am doing and Google helps fill in the gaps. But I don’t know what this error is telling me.
The first time this occurred, I thought it had to do with downloading the notifd-configuration.xml and NotificationCommands.xml files. The formatting of these on my server versus the versions in the opennms.org/Training are different. So this time I used cut and paste for only the sections that are different – thus preserving the original files. But backing out those changes hasn’t allowed the system to be restarted. Which makes me wonder what is breaking the system. Am I finding some bug, or is something else breaking this.
I apologize if this question has been asked before. I’m new to OpenNMS so any help would be appreciated, otherwise, I’m reinstalling for the third time.