Tarus Balog | 3 Jun 2005 20:30
Favicon

Re: OpenNMS.Discovery will not start - ping manager fails


On Jun 3, 2005, at 10:47 AM, clightner <at> parole.state.ny.us wrote:

> I have recently installed the latest stable version of OpenNMS, 1.2.3
> (Sith).

Wow. What a nice way to tell us you read the release notes. Made me  
want to drop everything and help you (grin).

> I am preparing to move my production ONMS to a new box.  I am
> having trouble with OpenNMS.discovery starting. All other ONMS  
> processes
> are running.  I have searched the archives looking for information  
> but have
> not found a solution.  I am running ONMS as root.  The  
> discovery.log shows
> the following:

> 2005-06-03 08:53:11,431 ERROR [main] Discovery: Failed to create ping
> manager
> java.lang.NullPointerException

>
> The box is running 64-bit SuSE 9.2, Sun Java 1.4.2_06, Apache  
> Tomcat 4.1.24
> and Postgresql 7.4.6-0.1.  ONMS was compiled from source with the a
> build.properties file containing the following entries:
>       rpm.platform=linux-i386-suse-9
>       build.rrdtool.lib.dir=/usr/lib64
>       install.dir=/opt/OpenNMS
>
> Any help would be greatly appreciated.

I think this is an issue with 64-bit versus 32-bit. I don't have a 64- 
bit system to work on, so I've never been able to try it.

My guess is we need to modify build.xml with a gcc option to support  
64-bit. I'm also not a 100% sure the build.properties file works  
anymore. Try building with the options on the command line:

build.sh -Drpm.platform=linux-i386-suse-9 -Dproduct.snapshot=false - 
Dproduct.release=0 -Dskip.tests=true -Dbuild.rrdtool.lib.dir=/usr/ 
lib64 -Dinstall.dir=/opt/OpenNMS rpm

-T

________________________________________________________________________ 
___
Tarus Balog, OpenNMS Maintainer            Main:        +1 919 545 2553
The OpenNMS Group, Inc.                    Fax:         +1 503-961-7746
Email: tarus <at> opennms.org                   URL: http://www.opennms.org
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-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


Gmane