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

Startup fails due to libc.so being in invalid file format

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.13.0
    • Fix Version/s: 1.12.2
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      FreeBSD 10.0-ALPHA4 #15 r255967
      openjdk version "1.6.0_32"
      OpenJDK Runtime Environment (build 1.6.0_32-b27)
      OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
      Jicmp 1.4.2
      Jicmp6 1.2.1
      jrrd 1.0.6

      Description

      Attempting to start opennms results in:
      Starting OpenNMS: Started OpenNMS, but it stopped running: for details see /usr/local/opennms/logs/output.log

      output.log
      ------------------------------------------------------------------------------
      Thu Oct 3 16:30:22 MSK 2013
      begin ulimit settings:
      cpu time (seconds, -t) unlimited
      file size (512-blocks, -f) unlimited
      data seg size (kbytes, -d) 33554432
      stack size (kbytes, -s) 8192
      core file size (512-blocks, -c) unlimited
      max memory size (kbytes, -m) unlimited
      locked memory (kbytes, -l) 64
      max user processes (-u) 26931
      open files (-n) 20480
      virtual mem size (kbytes, -v) unlimited
      swap limit (kbytes, -w) unlimited
      sbsize (bytes, -b) unlimited
      pseudo-terminals (-p) unlimited
      end ulimit settings
      Executing command: /usr/local/opennms/bin/runjava -r – -Djava.endorsed.dirs=/usr/local/opennms/lib/endorsed -Dopennms.home=/usr/local/opennms -Dcom.sun.management.jmxremote.port=18980 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -Djava.io.tmpdir=/usr/local/opennms/data/tmp -jar /usr/local/opennms/lib/opennms_bootstrap.jar start
      [DEBUG] System property 'opennms.library.jicmp' set to '/usr/local/lib/libjicmp.so. Attempting to load jicmp library from this location.
      [INFO] Successfully loaded jicmp library.
      [DEBUG] System property 'opennms.library.jicmp6' set to '/usr/local/lib/libjicmp6.so. Attempting to load jicmp6 library from this location.
      [INFO] Successfully loaded jicmp6 library.
      An error occurred while attempting to start the "OpenNMS:Name=Eventd" service (class org.opennms.netmgt.eventd.jmx.Eventd). Shutting down and exiting.
      javax.management.RuntimeMBeanException: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [eventDaemonContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventDaemonContext' defined in URL [jar:file:/usr/local/opennms/lib/opennms-services-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'commonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commonContext' defined in URL [jar:file:/usr/local/opennms/lib/opennms-services-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daemonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemonContext' defined in URL [jar:file:/usr/local/opennms/lib/org.opennms.core.daemon-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/usr/local/opennms/lib/opennms-dao-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'syslogNorthbounderManager' defined in URL [jar:file:/usr/local/opennms/lib/opennms-alarm-northbounder-syslog-1.13.0-SNAPSHOT.jar!/META-INF/opennms/component-dao.xml]: Invocation of init method failed; nested exception is java.lang.UnsatisfiedLinkError: Unable to load library 'c': /usr/lib/libc.so: invalid file format
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:876)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:889)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:858)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:805)
      at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:294)
      at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:223)
      at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:248)
      at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:106)
      at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:184)
      at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:163)
      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:365)
      at java.lang.Thread.run(Thread.java:679)
      Caused by: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [eventDaemonContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventDaemonContext' defined in URL [jar:file:/usr/local/opennms/lib/opennms-services-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'commonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commonContext' defined in URL [jar:file:/usr/local/opennms/lib/opennms-services-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daemonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemonContext' defined in URL [jar:file:/usr/local/opennms/lib/org.opennms.core.daemon-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/usr/local/opennms/lib/opennms-dao-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'syslogNorthbounderManager' defined in URL [jar:file:/usr/local/opennms/lib/opennms-alarm-northbounder-syslog-1.13.0-SNAPSHOT.jar!/META-INF/opennms/component-dao.xml]: Invocation of init method failed; nested exception is java.lang.UnsatisfiedLinkError: Unable to load library 'c': /usr/lib/libc.so: invalid file format
      at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:402)
      at org.opennms.core.utils.BeanUtils.getBeanFactory(BeanUtils.java:62)
      at org.opennms.core.utils.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:39)
      at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(AbstractSpringContextJmxServiceDaemon.java:96)
      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 sun.reflect.misc.Trampoline.invoke(MethodUtil.java:74)
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:277)
      at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
      at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
      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:253)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:856)
      ... 13 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventDaemonContext' defined in URL [jar:file:/usr/local/opennms/lib/opennms-services-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'commonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commonContext' defined in URL [jar:file:/usr/local/opennms/lib/opennms-services-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daemonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemonContext' defined in URL [jar:file:/usr/local/opennms/lib/org.opennms.core.daemon-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/usr/local/opennms/lib/opennms-dao-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'syslogNorthbounderManager' defined in URL [jar:file:/usr/local/opennms/lib/opennms-alarm-northbounder-syslog-1.13.0-SNAPSHOT.jar!/META-INF/opennms/component-dao.xml]: Invocation of init method failed; nested exception is java.lang.UnsatisfiedLinkError: Unable to load library 'c': /usr/lib/libc.so: invalid file format
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
      at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:629)
      at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1045)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:949)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
      at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1121)
      at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:394)
      ... 33 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commonContext' defined in URL [jar:file:/usr/local/opennms/lib/opennms-services-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daemonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemonContext' defined in URL [jar:file:/usr/local/opennms/lib/org.opennms.core.daemon-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/usr/local/opennms/lib/opennms-dao-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'syslogNorthbounderManager' defined in URL [jar:file:/usr/local/opennms/lib/opennms-alarm-northbounder-syslog-1.13.0-SNAPSHOT.jar!/META-INF/opennms/component-dao.xml]: Invocation of init method failed; nested exception is java.lang.UnsatisfiedLinkError: Unable to load library 'c': /usr/lib/libc.so: invalid file format
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
      at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:629)
      at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1045)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:949)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
      ... 46 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemonContext' defined in URL [jar:file:/usr/local/opennms/lib/org.opennms.core.daemon-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/usr/local/opennms/lib/opennms-dao-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'syslogNorthbounderManager' defined in URL [jar:file:/usr/local/opennms/lib/opennms-alarm-northbounder-syslog-1.13.0-SNAPSHOT.jar!/META-INF/opennms/component-dao.xml]: Invocation of init method failed; nested exception is java.lang.UnsatisfiedLinkError: Unable to load library 'c': /usr/lib/libc.so: invalid file format
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
      at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:629)
      at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1045)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:949)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
      ... 58 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/usr/local/opennms/lib/opennms-dao-1.13.0-SNAPSHOT.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'syslogNorthbounderManager' defined in URL [jar:file:/usr/local/opennms/lib/opennms-alarm-northbounder-syslog-1.13.0-SNAPSHOT.jar!/META-INF/opennms/component-dao.xml]: Invocation of init method failed; nested exception is java.lang.UnsatisfiedLinkError: Unable to load library 'c': /usr/lib/libc.so: invalid file format
      at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1045)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:949)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
      ... 70 more
      Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'syslogNorthbounderManager' defined in URL [jar:file:/usr/local/opennms/lib/opennms-alarm-northbounder-syslog-1.13.0-SNAPSHOT.jar!/META-INF/opennms/component-dao.xml]: Invocation of init method failed; nested exception is java.lang.UnsatisfiedLinkError: Unable to load library 'c': /usr/lib/libc.so: invalid file format
      at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
      at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121)
      at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
      ... 79 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'syslogNorthbounderManager' defined in URL [jar:file:/usr/local/opennms/lib/opennms-alarm-northbounder-syslog-1.13.0-SNAPSHOT.jar!/META-INF/opennms/component-dao.xml]: Invocation of init method failed; nested exception is java.lang.UnsatisfiedLinkError: Unable to load library 'c': /usr/lib/libc.so: invalid file format
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1482)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
      at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
      at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:105)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
      at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
      ... 81 more
      Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'c': /usr/lib/libc.so: invalid file format
      at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:163)
      at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:236)
      at com.sun.jna.Library$Handler.<init>(Library.java:140)
      at com.sun.jna.Native.loadLibrary(Native.java:379)
      at com.sun.jna.Native.loadLibrary(Native.java:364)
      at org.productivity.java.syslog4j.impl.unix.UnixSyslog.loadLibrary(Unknown Source)
      at org.productivity.java.syslog4j.impl.unix.UnixSyslog.initialize(Unknown Source)
      at org.productivity.java.syslog4j.impl.AbstractSyslog.initialize(Unknown Source)
      at org.productivity.java.syslog4j.Syslog.createInstance(Unknown Source)
      at org.productivity.java.syslog4j.Syslog.initialize(Unknown Source)
      at org.productivity.java.syslog4j.Syslog.<clinit>(Unknown Source)
      at org.opennms.netmgt.alarmd.northbounder.syslog.SyslogNorthbounder.createNorthboundInstance(SyslogNorthbounder.java:326)
      at org.opennms.netmgt.alarmd.northbounder.syslog.SyslogNorthbounder.afterPropertiesSet(SyslogNorthbounder.java:93)
      at org.opennms.netmgt.alarmd.northbounder.syslog.SyslogNorthbounderManager.afterPropertiesSet(SyslogNorthbounderManager.java:68)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1541)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1479)
      ... 97 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ranger Benjamin Reed
                Reporter:
                ranger Benjamin Reed
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: