install starts, then shuts down
Phil DuMas <[email protected]>
| Newsgroups | gmane.network.opennms.install |
|---|---|
| Message-ID | <4927744164B9BE488C25DE0FB91C663C4AB3DD3E94@CybrixServer.cybrix.local> |
First, thank you for taking the time to look at my issue. I am running Ubuntu server 10.04 LTS and everything went well on the initial install
(well written install document) but when I start opennms from the command line I get the following:
Starting Open Network Management System: opennmsStarted OpenNMS, but it stopped running: for details see /var/log/opennms/daemon/output.log
and the log results are as follows:
------------------------------------------------------------------------------
Wed Jun 1 17:11:51 EDT 2011
begin ulimit settings:
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 8192
coredump(blocks) 0
memory(kbytes) unlimited
locked memory(kbytes) 64
process unlimited
nofiles 10240
vmemory(kbytes) unlimited
locks unlimited
end ulimit settings
Executing command: /usr/share/opennms/bin/runjava -r -- -Djava.endorsed.dirs=/usr/share/opennms/lib/endorsed -Dopennms.home=/usr/share/opennms -Dcom.sun.management.jmxremote.port=18980 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Xmx256m -Djava.net.preferIPv4Stack=true -XX:MaxPermSize=128m -jar /usr/share/opennms/lib/opennms_bootstrap.jar start
[DEBUG] System property 'opennms.library.jicmp' set to '/usr/lib/jni/libjicmp.so. Attempting to load jicmp library from this location.
[INFO] Successfully loaded jicmp library.
An error occurred while attempting to start the "OpenNMS:Name=Dhcpd" service (class org.opennms.netmgt.dhcpd.jmx.Dhcpd). Shutting down and exiting.
javax.management.RuntimeMBeanException: java.lang.reflect.UndeclaredThrowableException
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:877)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:890)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:859)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:795)
at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:338)
at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:261)
at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:266)
at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:137)
at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:202)
at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:174)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:352)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.reflect.UndeclaredThrowableException
at org.opennms.netmgt.dhcpd.Dhcpd.onStart(Dhcpd.java:251)
at org.opennms.netmgt.daemon.AbstractServiceDaemon.start(AbstractServiceDaemon.java:423)
at org.opennms.netmgt.dhcpd.jmx.Dhcpd.start(Dhcpd.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:111)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:45)
at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:226)
at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:251)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:857)
... 13 more
Caused by: java.net.BindException: Could not open datagram socket for DHCP client on port 67. Is there another DHCP client listening on this port? Original exception: java.net.BindException: Address already in use
at org.opennms.netmgt.dhcpd.Receiver2.<init>(Receiver2.java:74)
at org.opennms.netmgt.dhcpd.Dhcpd.onStart(Dhcpd.java:244)
... 25 more
Caused by: java.net.BindException: Address already in use
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:85)
at java.net.DatagramSocket.bind(DatagramSocket.java:373)
at java.net.DatagramSocket.<init>(DatagramSocket.java:229)
at java.net.DatagramSocket.<init>(DatagramSocket.java:282)
at java.net.DatagramSocket.<init>(DatagramSocket.java:254)
at org.opennms.netmgt.dhcpd.Receiver2.<init>(Receiver2.java:72)
... 26 more
log4j:WARN No appenders could be found for logger (org.mortbay.log).
log4j:WARN Please initialize the log4j system properly.
Can someone give me an idea of where I went wrong?
Thanks in advance!
Phil
IMPORTANT NOTICE!: This Email, (including attachments) are covered by the Electronic Communications Privacy Act, 18 U.S.C.?? 2510-2521 Private, Confidential and Privileged. This email message, including any attachments, is for the sole use of the intended recipient and may contain privileged and/or confidential information. If you are not the intended recipient, you are hereby notified that any unauthorized review, use, disclosure, or distribution of this electronic information and/or any attachment is prohibited. If you have received this email message in error, please notify the sender immediately and then delete the electronic message and any attachments
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
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