Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-7921

Startup fails with Syslogd enabled

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: 17.0.0
    • Fix Version/s: 17.0.0
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:

      Description

      Change line 317 of service-configuration.xml from enabled="false" to enabled="true" to enable the Syslogd service daemon, then try to restart or cold start. Startup fails right away with only manager.log containing anything. Here's the complete stack trace with some context:

      2015-10-12 21:32:10,261 DEBUG [Main] o.o.n.c.ServiceConfigFactory: ServiceConfigFactory.init: config file path /opt/opennms/etc/service-configuration.xml
      2015-10-12 21:32:10,808 DEBUG [Main] o.o.c.x.JaxbUtils: @ValidateUsing is missing from class class org.opennms.netmgt.config.service.ServiceConfiguration
      2015-10-12 21:32:10,808 DEBUG [Main] o.o.c.x.JaxbUtils: No schema files found for validating class org.opennms.netmgt.config.service.ServiceConfiguration
      2015-10-12 21:32:10,873 DEBUG [Thread-30161] o.o.n.v.Manager: Beginning status check
      2015-10-12 21:32:10,874 DEBUG [Thread-30161] o.o.n.c.ServiceConfigFactory: ServiceConfigFactory.init: config file path /opt/opennms/etc/service-configuration.xml
      2015-10-12 21:32:10,975 DEBUG [Thread-30161] o.o.c.x.JaxbUtils: @ValidateUsing is missing from class class org.opennms.netmgt.config.service.ServiceConfiguration
      2015-10-12 21:32:10,975 DEBUG [Thread-30161] o.o.c.x.JaxbUtils: No schema files found for validating class org.opennms.netmgt.config.service.ServiceConfiguration
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance :Name=XSLTProcessor
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance :Name=HttpAdaptor
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance :Name=HttpAdaptorMgmt
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Manager
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=TestLoadLibraries
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Eventd
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Trapd
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Queued
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Actiond
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Notifd
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Scriptd
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Rtcd
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Pollerd
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=PollerBackEnd
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=EnhancedLinkd
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Ticketer
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Collectd
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Discovery
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Vacuumd
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=EventTranslator
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=PassiveStatusd
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Statsd
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Provisiond
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Reportd
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Alarmd
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Ackd
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=JettyServer
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Syslogd
      2015-10-12 21:32:11,078 ERROR [Thread-30161] o.o.n.v.Invoker: An error occurred loading the mbean OpenNMS:Name=Syslogd of type org.opennms.netmgt.syslogd.jmx.Syslogd it will be skipped
      2015-10-12 21:32:11,078 DEBUG [Thread-30161] o.o.n.v.Invoker: finding mbean instance OpenNMS:Name=Syslogd
      2015-10-12 21:32:11,078 ERROR [Thread-30161] o.o.n.v.Invoker: An error occurred loading the mbean OpenNMS:Name=Syslogd of type org.opennms.netmgt.syslogd.jmx.Syslogd it will be skipped
      javax.management.InstanceNotFoundException: OpenNMS:Name=Syslogd
              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(Unknown Source) ~[?:1.8.0_40]
              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getObjectInstance(Unknown Source) ~[?:1.8.0_40]
              at com.sun.jmx.mbeanserver.JmxMBeanServer.getObjectInstance(Unknown Source) ~[?:1.8.0_40]
              at org.opennms.netmgt.vmmgr.Invoker.getObjectInstances(Invoker.java:158) [org.opennms.core.daemon-17.0.0-SNAPSHOT.jar:?]
              at org.opennms.netmgt.vmmgr.Manager.status(Manager.java:147) [org.opennms.core.daemon-17.0.0-SNAPSHOT.jar:?]
              at org.opennms.netmgt.vmmgr.Manager.status(Manager.java:133) [org.opennms.core.daemon-17.0.0-SNAPSHOT.jar:?]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_40]
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]
              at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]
              at sun.reflect.misc.Trampoline.invoke(Unknown Source) [?:1.8.0_40]
              at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) ~[?:?]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_40]
              at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]
              at sun.reflect.misc.MethodUtil.invoke(Unknown Source) [?:1.8.0_40]
              at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source) [?:1.8.0_40]
              at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source) [?:1.8.0_40]
              at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source) [?:1.8.0_40]
              at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source) [?:1.8.0_40]
              at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source) [?:1.8.0_40]
              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source) [?:1.8.0_40]
              at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source) [?:1.8.0_40]
              at mx4j.tools.adaptor.http.InvokeOperationCommandProcessor.executeRequest(InvokeOperationCommandProcessor.java:164) [mx4j-tools-3.0.1.jar:?]
              at mx4j.tools.adaptor.http.HttpAdaptor$HttpClient.run(HttpAdaptor.java:980) [mx4j-tools-3.0.1.jar:?]
      2015-10-12 21:32:11,080 DEBUG [Thread-30161] o.o.n.v.Invoker: starting pass 0
      2015-10-12 21:32:11,080 DEBUG [Thread-30161] o.o.n.v.Invoker: pass 0 on service OpenNMS:Name=Eventd will invoke method "status"
      2015-10-12 21:32:11,080 DEBUG [Thread-30161] o.o.n.v.Invoker: Invoking status on object OpenNMS:Name=Eventd
      2015-10-12 21:32:11,080 DEBUG [Thread-30161] o.o.n.v.Invoker: Invocation status successful for MBean OpenNMS:Name=Eventd
      2015-10-12 21:32:11,080 DEBUG [Thread-30161] o.o.n.v.Invoker: pass 0 on service OpenNMS:Name=Trapd will invoke method "status"
      2015-10-12 21:32:11,080 DEBUG [Thread-30161] o.o.n.v.Invoker: Invoking status on object OpenNMS:Name=Trapd
      2015-10-12 21:32:11,080 DEBUG [Thread-30161] o.o.n.v.Invoker: Invocation status successful for MBean OpenNMS:Name=Trapd
      2015-10-12 21:32:11,080 DEBUG [Thread-30161] o.o.n.v.Invoker: pass 0 on service OpenNMS:Name=Queued will invoke method "status"
      2015-10-12 21:32:11,080 DEBUG [Thread-30161] o.o.n.v.Invoker: Invoking status on object OpenNMS:Name=Queued
      2015-10-12 21:32:11,080 DEBUG [Thread-30161] o.o.n.v.Invoker: Invocation status successful for MBean OpenNMS:Name=Queued
      2015-10-12 21:32:11,080 DEBUG [Thread-30161] o.o.n.v.Invoker: pass 0 on service OpenNMS:Name=Actiond will invoke method "status"
      2015-10-12 21:32:11,080 DEBUG [Thread-30161] o.o.n.v.Invoker: Invoking status on object OpenNMS:Name=Actiond
      2015-10-12 21:32:11,080 DEBUG [Thread-30161] o.o.n.v.Invoker: Invocation status successful for MBean OpenNMS:Name=Actiond
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jeffg Jeff Gehlbach
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: