Steve Maunsell | 23 Feb 06:32 2015
Picon

New install won't start

I have just installed OpenNMS on Ubuntu 14.04 following http://www.opennms.org/wiki/Installation:Debian but after completed it I cannot access the web page.

 

During the installation I noticed that       sudo $OPENNMS_HOME/bin/runjava –s        didn’t run. I had to run      sudo /usr/share/opennms/bin/runjava –s     to get it to work. Whether that’s the issue I don’t know.

 

Running     sudo openmns –v status      shows all services as ‘running’. Running      service –status all      shows that the OpenNMS service is not running.

 

Running     sudo service opennms start    says that ‘OpenNMS is already running’.

 

I have left this for a long time but still get nothing when trying the web page. I have restarted the server numerous times.

 

I’ve seen that sometimes it can take a long time to start if there’s a large database but this is brand new.

 

Why isn’t it running?

This email was scanned by the Canberra Grammar School anti-virus system before it was sent. The system is kept up to date and at the time of sending this email it was not found to contain any known viruses.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

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
sèho Sèco | 17 Feb 22:06 2015
Picon

Install OpenNMS from source using GitHub

Hi,

I would like ask you a help. I want you learn:
1) How to install OpenNMS from source using GitHub
2) How to configure OpenNMS and verify it running.

Best regards,

Seco
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

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
Mark Allen (HQ | 19 Feb 00:45 2015

Installation help

Hi

 

I successfully completed all steps up to the “Configure Java” at this point I am stuck, I’ve search and I have not found any help on this issue.

I am running centOS 7.0 with openNMS version http://yum.opennms.org/repofiles/opennms-repo-stable-rhel7.noarch.rpm

with java 1.7.0_75

 

I followed the steps for OpenNMS http://www.opennms.org/wiki/Installation:Yum 

I installed Java using the following steps http://tecadmin.net/steps-to-install-java-on-centos-5-6-or-rhel-5-6/ 

 

Below is the error I receive when attempt to run “runjava”

 

[root <at> OpenNms share]# export JAVA_HOME=/opt/jdk1.7.0_75

[root <at> OpenNms share]# $OPENNMS_HOME/bin/runjava -s

bash: /usr/share/opennms/bin/runjava: No such file or directory

 

 

Thank you,

 

Mark Allen

Systems/Network Engineer

 

LRES Corp.

Corporate Headquarters

765 The City Drive South, Suite 300

Orange, CA 92868

O 714.872.5871      |   F 714.520.5499

mallen <at> lrescorp.com           |    www.lres.com

 

 

The information in this e-mail (including attachments, if any) is considered privileged and confidential and intended only for the individual or entity to which it is addressed.  Any review, use, disclosure, distribution or copying of this email is prohibited except by or on behalf of the intended recipient. If you have received this email in error, please notify the sender immediately by reply email, delete this email, and do not disclose its contents to anyone. Any opinions expressed in this email are those of the author and not necessarily LRES Corp. Thank you.

 

 

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

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
Scott Toderash | 6 Feb 17:35 2015

opennms upgraded to 15.0.0-1 and not working

Now on opennms_15.0.0-1_all.deb

When I do "service opennms start" it fails.  I find lots of output in
/var/log/opennms/output.log but this seems most relevant:

Caused by: org.postgresql.util.PSQLException: ERROR: relation
"cdpelement" does not exist
  Position: 271

OpenNMS was working, has not been running for a while, so I did an
update on all packages and here I am.  I wonder if there is a SQL script
that I should run somewhere, but I'm not sure where to look.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

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

Robert Maclaren | 2 Feb 22:12 2015

Install issue

Hi There,

 

I am new to OpenNMS and I have a install question, I hate to ask but I have followed the instructions on what version to download for Windows and have fulfilled the pre-requisites needed.

 

I have installed PostgreSQL and have the correct Java version "Java SE". I have download the latest standalone-'opennms-installer-X.X.X.zip (15.0.0.1) but when I extract it I do not see the install file, setup32.exe or setup64.exe. I do have show all folder and extensions in files/folder properties selected.

 

Thanks for your help in advance and sorry for such a lame question.

 

Rob

 

 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

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
Paresh Patel | 22 Jan 22:24 2015

OpenNMS on Windows 8

Hello,

 

Has anyone successfully installed OpenNMS on a Windows 8.1 Pro machine?  My installation was successful but when I launch http://localhost:8980/opennms, it times out.

 

Thank you in advance.

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

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
Decker, Jeremiah | 21 Jan 15:23 2015

Fresh install

I’m new to opennms and need some assistance on the install.  I’m using a fresh 2008 R2 VM Server.

 

I followed the install guide here http://www.opennms.org/wiki/Installation:Windows

 

I installed JDK 8.0_25, PostgreSQL 9.4 and the standalone opennms installer 14.0.2-1.  I was sure to follow all the instructions in the guide.

 

When I get to the point of running the .bat file, I notice that an opennms.bat is not the bin dir, but there is a start.bat, so I run that.

 

The .bat file runs for a little while (I don’t notice any errors) and then stops at:

 

Creating topology provider

Returning enhanced topology provider

 

While the command prompt is still open on the server I can log into opennms from the web browsers, but if I close it I no longer can log in.

 

I thought maybe the “creating topology provider” took some time but I let it go for a few hours.  At this point I’m not sure what to do, I see the opennms database in PostgreSQL and I can log in if I keep the start.bat cmd window open but once I close it I no longer can.

 

Any help would be appreciated, thank you.

 

 

 

 


Jeremiah Decker

Network Administrator

Information Technology
Home Paramount Pest Control

(410) 510-0700x8107

www.homeparamount.com

 

Disclaimer: This information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution or use of this e-mail communication by others is strictly prohibited.  If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies.

 

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

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
Brasted, Dominic | 6 Jan 20:42 2015

Scripting the deletion of old backups for OpenNMS

Hi,

 

I’ve used the OpenNMS wiki to put together a script to run backups of OpenNMS and then delete any old backups older than 30 days, but I can’t find how to run the deletion command without sudo credentials. As it stands, I’m pretty sure the script will halt at the point it tries to delete the files, as I’m deleting out of the /opt folder. I have the same problem if I create my backup directory in the /mnt folder as per the wiki. Is it possible to “force” the command so it doesn’t require user input? The script is going to be called by our backup system before it performs the server filesystem backup.

 

#!/bin/bash

  

# Create timestamp

dsig=`date +%Y%m%d`

 

# Back up Postgres DB

pg_dump -U opennms -Fc -f /opt/opennms/backup/$dsig-database.pgsql.gz opennms

 

# Delete all backups older than 30 days

find /opt/opennms/backup -name '[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]*.gz' -mtime +30 -delete

 

Your assistance is much appreciated. I’ve had difficulty finding an answer online.

 

 

Regards, Dominic

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

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
GASCHLER, Jean | 31 Dec 15:52 2014

CAS integration of OpenNMS

Hi

 

I am trying (without success until now) to integrate OpenNMS (version 14) under an SSO framework (JA-SIG CAS). Does anyone have already done such things ?

Thanks

 

Bien cordialement

_______________________________________________________________________

Jean Gaschler

 

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

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
Jonathan Duane | 8 Dec 12:14 2014
Picon

Install

Hi Guys,

 

How are you?

 

I have just installed, I had decided that PRTG for Paessler was too expensive L

 

After installing I don’t know how to get into the console?

 

Am I missing something very simple?

 

Thanks

 

Jonathan

 

 

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

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
Mike Giles | 17 Nov 11:33 2014

opennms start batch file fails on windows 7 pro (32 bit)

Hi,

I have followed the installation instructions http://www.opennms.org/wiki/Installation:Windows

The Installation went ok apart from having to use “-version:1.7+” (java  -version:1.7+ -jar standalone-opennms-installer-14.0.0-1.jar)

 

The Opennms file doesn’t have a .bat extension so I attempted to run “start.bat” rather than “opennms.bat start”

 

I get the following output. It looks as though there is a problem with "OpenNMS:Name=Trapd" service” ? Is there a way to fix this ?

 

C:\Program Files\OpenNMS\bin>start.bat

 

C:\Program Files\OpenNMS\bin>"C:\Program Files\Java\jdk1.8.0_25\bin\java"    -Xm

x512m -XX:MaxPermSize=256m    -XX:+HeapDumpOnOutOfMemoryError    -DisThreadConte

xtMapInheritable=true    -Dopennms.home="C:/Program Files/OpenNMS"    -Djava.end

orsed.dirs="C:/Program Files/OpenNMS/lib/endorsed"    -Djava.io.tmpdir="C:/Progr

am Files/OpenNMS/data/tmp"    -Dcom.sun.management.jmxremote.port=18980    -Dcom

.sun.management.jmxremote.ssl=false    -Dcom.sun.management.jmxremote.authentica

te=false    -jar "C:/Program Files/OpenNMS/lib/opennms_bootstrap.jar" start

Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256m; support wa

s removed in 8.0

[DEBUG] System property 'opennms.library.jicmp' set to 'C:/Program Files/OpenNMS

/lib\jicmp.dll.  Attempting to load jicmp library from this location.

[INFO] Successfully loaded jicmp library.

[DEBUG] System property 'opennms.library.jicmp6' set to 'C:/Program Files/OpenNM

S/lib\jicmp6.dll.  Attempting to load jicmp6 library from this location.

[INFO] Successfully loaded jicmp6 library.

An error occurred while attempting to start the "OpenNMS:Name=Trapd" service (cl

ass org.opennms.netmgt.trapd.jmx.Trapd).  Shutting down and exiting.

javax.management.RuntimeMBeanException: org.springframework.beans.factory.access

.BootstrapException: Unable to return specified BeanFactory instance: factory ke

y [trapDaemonContext], from group with resource name [classpath*:beanRefContext.

xml]; nested exception is org.springframework.beans.factory.BeanCreationExceptio

n: Error creating bean with name 'trapDaemonContext' defined in URL [jar:file:/C

:/Program%20Files/OpenNMS/lib/opennms-services-14.0.0.jar!/beanRefContext.xml]:

Instantiation of bean failed; nested exception is org.springframework.beans.Bean

InstantiationException: Could not instantiate bean class [org.springframework.co

ntext.support.ClassPathXmlApplicationContext]: Constructor threw exception; nest

ed exception is org.springframework.beans.factory.BeanCreationException: Error c

reating bean with name 'daemon' defined in class path resource [META-INF/opennms

/applicationContext-trapDaemon.xml]: Invocation of init method failed; nested ex

ception is java.lang.reflect.UndeclaredThrowableException

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(Default

MBeanServerInterceptor.java:839)

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBe

anException(DefaultMBeanServerInterceptor.java:852)

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM

BeanServerInterceptor.java:821)

        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801

)

        at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278)

        at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207)

        at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:248)

        at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:107)

        at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:183)

        at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:162)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:483)

        at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:366)

        at java.lang.Thread.run(Thread.java:745)

Caused by: org.springframework.beans.factory.access.BootstrapException: Unable t

o return specified BeanFactory instance: factory key [trapDaemonContext], from g

roup with resource name [classpath*:beanRefContext.xml]; nested exception is org

.springframework.beans.factory.BeanCreationException: Error creating bean with n

ame 'trapDaemonContext' defined in URL [jar:file:/C:/Program%20Files/OpenNMS/lib

/opennms-services-14.0.0.jar!/beanRefContext.xml]: Instantiation of bean failed;

nested exception is org.springframework.beans.BeanInstantiationException: Could

not instantiate bean class [org.springframework.context.support.ClassPathXmlApp

licationContext]: Constructor threw exception; nested exception is org.springfra

mework.beans.factory.BeanCreationException: Error creating bean with name 'daemo

n' defined in class path resource [META-INF/opennms/applicationContext-trapDaemo

n.xml]: Invocation of init method failed; nested exception is java.lang.reflect.

UndeclaredThrowableException

        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.

useBeanFactory(SingletonBeanFactoryLocator.java:402)

        at org.opennms.core.spring.BeanUtils.getBeanFactory(BeanUtils.java:62)

        at org.opennms.core.spring.BeanUtils.getFactory(BeanUtils.java:104)

        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon$1.run

(AbstractSpringContextJmxServiceDaemon.java:103)

        at org.opennms.core.logging.Logging.withPrefix(Logging.java:66)

        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(

AbstractSpringContextJmxServiceDaemon.java:96)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:483)

        at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)

        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:483)

        at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)

        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMB

eanIntrospector.java:112)

        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMB

eanIntrospector.java:46)

        at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.j

ava:237)

        at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)

        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM

BeanServerInterceptor.java:819)

        ... 13 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creati

ng bean with name 'trapDaemonContext' defined in URL [jar:file:/C:/Program%20Fil

es/OpenNMS/lib/opennms-services-14.0.0.jar!/beanRefContext.xml]: Instantiation o

f bean failed; nested exception is org.springframework.beans.BeanInstantiationEx

ception: Could not instantiate bean class [org.springframework.context.support.C

lassPathXmlApplicationContext]: Constructor threw exception; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean wi

th name 'daemon' defined in class path resource [META-INF/opennms/applicationCon

text-trapDaemon.xml]: Invocation of init method failed; nested exception is java

.lang.reflect.UndeclaredThrowableException

        at org.springframework.beans.factory.support.ConstructorResolver.autowir

eConstructor(ConstructorResolver.java:285)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBean

Factory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1075)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBean

Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:979)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBean

Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBean

Factory.createBean(AbstractAutowireCapableBeanFactory.java:458)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb

ject(AbstractBeanFactory.java:296)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr

y.getSingleton(DefaultSingletonBeanRegistry.java:223)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe

an(AbstractBeanFactory.java:293)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean

(AbstractBeanFactory.java:198)

        at org.springframework.context.support.AbstractApplicationContext.getBea

n(AbstractApplicationContext.java:1121)

        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.

useBeanFactory(SingletonBeanFactoryLocator.java:394)

        ... 33 more

Caused by: org.springframework.beans.BeanInstantiationException: Could not insta

ntiate bean class [org.springframework.context.support.ClassPathXmlApplicationCo

ntext]: Constructor threw exception; nested exception is org.springframework.bea

ns.factory.BeanCreationException: Error creating bean with name 'daemon' defined

in class path resource [META-INF/opennms/applicationContext-trapDaemon.xml]: In

vocation of init method failed; nested exception is java.lang.reflect.Undeclared

ThrowableException

        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:1

63)

        at org.springframework.beans.factory.support.SimpleInstantiationStrategy

.instantiate(SimpleInstantiationStrategy.java:121)

        at org.springframework.beans.factory.support.ConstructorResolver.autowir

eConstructor(ConstructorResolver.java:277)

        ... 43 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creati

ng bean with name 'daemon' defined in class path resource [META-INF/opennms/appl

icationContext-trapDaemon.xml]: Invocation of init method failed; nested excepti

on is java.lang.reflect.UndeclaredThrowableException

        at org.springframework.beans.factory.support.AbstractAutowireCapableBean

Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1512)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBean

Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBean

Factory.createBean(AbstractAutowireCapableBeanFactory.java:458)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb

ject(AbstractBeanFactory.java:296)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr

y.getSingleton(DefaultSingletonBeanRegistry.java:223)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe

an(AbstractBeanFactory.java:293)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean

(AbstractBeanFactory.java:194)

        at org.springframework.beans.factory.support.DefaultListableBeanFactory.

preInstantiateSingletons(DefaultListableBeanFactory.java:633)

       at org.springframework.context.support.AbstractApplicationContext.finish

BeanFactoryInitialization(AbstractApplicationContext.java:932)

        at org.springframework.context.support.AbstractApplicationContext.refres

h(AbstractApplicationContext.java:479)

        at org.springframework.context.support.ClassPathXmlApplicationContext.<i

nit>(ClassPathXmlApplicationContext.java:139)

        at org.springframework.context.support.ClassPathXmlApplicationContext.<i

nit>(ClassPathXmlApplicationContext.java:105)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct

orAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC

onstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:408)

        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:1

48)

        ... 45 more

Caused by: java.lang.reflect.UndeclaredThrowableException

        at org.opennms.netmgt.trapd.Trapd.onInit(Trapd.java:189)

        at org.opennms.netmgt.daemon.AbstractServiceDaemon$1.run(AbstractService

Daemon.java:226)

        at org.opennms.core.logging.Logging.withPrefix(Logging.java:66)

        at org.opennms.netmgt.daemon.AbstractServiceDaemon.init(AbstractServiceD

aemon.java:220)

        at org.opennms.netmgt.daemon.AbstractServiceDaemon.afterPropertiesSet(Ab

stractServiceDaemon.java:52)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBean

Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1571)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBean

Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1509)

        ... 61 more

Caused by: java.net.BindException: Address already in use: Cannot bind

        at java.net.DualStackPlainDatagramSocketImpl.socketBind(Native Method)

        at java.net.DualStackPlainDatagramSocketImpl.bind0(DualStackPlainDatagra

mSocketImpl.java:80)

        at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSo

cketImpl.java:94)

        at java.net.DatagramSocket.bind(DatagramSocket.java:392)

        at java.net.DatagramSocket.<init>(DatagramSocket.java:242)

        at java.net.DatagramSocket.<init>(DatagramSocket.java:299)

        at org.snmp4j.transport.DefaultUdpTransportMapping.<init>(DefaultUdpTran

sportMapping.java:100)

        at org.opennms.netmgt.snmp.snmp4j.Snmp4JStrategy.registerForTraps(Snmp4J

Strategy.java:441)

        at org.opennms.netmgt.snmp.SnmpUtils.registerForTraps(SnmpUtils.java:185

)

        at org.opennms.netmgt.trapd.Trapd.onInit(Trapd.java:173)

        ... 67 more

 

C:\Program Files\OpenNMS\bin>

 

Many Thanks,

Mike

 

 

 

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

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