Re: Discovery: Failed to create ping manager
Phillip Hutchins <philandkerry <at> netscape.net>
2005-08-01 13:38:49 GMT
To answer the questions below.
I am installing OpenNMS 1.2.3 running as user root on SPARC.
Java j2sdk1.4.2_08
Tomcat 4.1.18
Postgres 7.3.4
Thanks,
Phil
What version of OpenNMS?
- djg
Are you trying to run OpenNMS not as the user "root" ?
I performed a new installation with Java only having 32-bit support. However, I am getting the same
problems as before (OpenNMS.Discovery will not start).
The errors in the discovery.log point to an issue with Java. Any ideas?
2005-07-29 14:45:42,932 DEBUG [Discovery:BroadcastEventProcessor]
EventIpcManagerDefaultImpl$ListenerThread: In Listener
Thread Discovery:BroadcastEventProcessor run
2005-07-29 14:45:43,044 ERROR [main] Discovery: Failed to create ping manager
java.lang.NullPointerException
at org.opennms.netmgt.discovery.Discovery.start(Discovery.java:434)
at org.opennms.netmgt.discovery.jmx.Discovery.start(Discovery.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at mx4j.MBeanIntrospector.invoke(MBeanIntrospector.java:214)
at mx4j.MBeanServerImpl.invoke(MBeanServerImpl.java:158)
at org.opennms.netmgt.vmmgr.Manager.start(Manager.java:208)
at org.opennms.netmgt.vmmgr.Manager.main(Manager.java:436)
opennms -v status
OpenNMS.Eventd : running
OpenNMS.Trapd : running
OpenNMS.Dhcpd : running
OpenNMS.Actiond : running
OpenNMS.Capsd : running
OpenNMS.Notifd : running
OpenNMS.Scriptd : running
OpenNMS.Rtcd : running
OpenNMS.Pollerd : running
OpenNMS.Collectd : running
OpenNMS.Threshd : running
OpenNMS.Discovery : starting
OpenNMS.Vacuumd : running
opennms is partially running
Thanks,
Phil
From: DJ Gregor <dgregor <at> interhack.com>
Subject: Re: [opennms-install] Re: Discovery: Failed to create ping manager
Date: Tue, 19 Jul 2005 20:35:16 -0400
To: opennms-install <at> lists.sourceforge.net
Reply-To: opennms-install <at> lists.sourceforge.net
The library files that come with OpenNMS were likely compiled for the
32-bit SPARC architecture. You said that you are using a 64-bit SPARC
JRE. These will not work together. The JRE and the libjrrd.so and
libjicmp.so libraries all need to be compiled for the same
architecture.
You can use "file" on the libjrrd.so and libjicmp.so libraries as well
as the "java" executable you are trying to use. All three should be
32-bit or they should all be 64-bit. If there is a mix, it won't work.
Same goes for iplike.so and postgres (in particular, the
"postmaster").
The easy fix: switch your JRE to 32-bit (and maybe PostgreSQL if you
are having troubles there, too), or compile OpenNMS with the
appropriate options passed to gcc to make 64-bit SPARC binaries (I
can't find the exact stuff right now... search the mailing lists).
Good luck,
- djg
On Jul 19, 2005, at 4:10 PM, Phillip Hutchins wrote:
> Thanks for the quick response. My first email was misleading. I used
> the opennms packages from sourceforge and any supporting packages
> (tomcat, postgresql, rrdtool, etc.) I downloaded from ftp.opennms.org.
> I tried using rrdtool off of the sunfreeware.com site, but the issue
> is still there. Any ideas?
>
> Thanks,
> Phil
>
>
>
>> I installed Java using the self-extracting binary installation. I
>> followed the instructions to install Java with 64-bit support, not
>> sure how to verify that 64-bit is actually being used. I installed
>> all other software from packages at ftp.opennms.org.
>>
>> I am running into a similar issue (probably the same issue) as
>> another person who posted to the mailing list. The
>> OpenNMS.Discovery is not running and I found the error "Discovery:
>> Failed to create ping manager" in the discover.log file. It looks
>> like this has to do with 64-bit vs 32-bit, from the mailing list
>> this seems to be related to Java and RRDtool. How do I determine
>> if either Java or RRDtool is running at 64-bit or 32-bit? Which of
>> these packages is easier to change to match the other?
>
> Hrm. I am not sure how up to date the packages on the ftp site are.
> You're best bet is to get them from Sourceforge:
>
> https://sourceforge.net/project/showfiles.php?group_id=4141
>
> That may not fix the issue. You might need to build from source. If
> the new packages don't fix the problem, I'll tell you how.
>
> -T
__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
Netscape. Just the Net You Need.
New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-install mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install