Broken Startup on Fedora 9

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

Broken Startup on Fedora 9

Seann Clark
All,

    I have looked over this all over the place, and haven't found
anything, and I am the suck at reading java errors. My OpenNMS doesn't
start on my system, and I did follow the directions for Redhat/Fedora
(http://www.opennms.org/index.php/Installation:Yum) and I fixed one
problem to get another (Just killed an snmpd service on my local box
that was being used by Cacti).
Hardware Platform is 64bit Xeon with 4GB memory, and plenty of hard
drive space. Fedora 9 is my release of software.

My New error is:



Tue Jul 29 13:19:41 CDT 2008
begin ulimit settings:
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 40960
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 10240
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1024
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
end ulimit settings
Executing command: /opt/opennms/bin/runjava -r  --  
-Dopennms.home=/opt/opennms -Xmx256m -verbose:gc -jar
/opt/opennms/lib/opennms_bootstrap.jar  start
[GC 3072K->669K(8896K), 0.0049610 secs]
[GC 3741K->879K(11968K), 0.0044320 secs]
[GC 7023K->1021K(11968K), 0.0037270 secs]
[GC 7165K->1460K(18112K), 0.0024010 secs]
[DEBUG] System property 'opennms.library.jicmp' set to
'/usr/lib64/libjicmp.so.  Attempting to load jicmp library from this
location.
[INFO] Successfully loaded jicmp library.
[GC 13748K->2239K(18112K), 0.0032680 secs]
[GC 14527K->3014K(30976K), 0.0033580 secs]
[GC 27398K->6209K(31168K), 0.0100380 secs]
[Full GC 6209K->5480K(38272K), 0.0583690 secs]
[GC 29695K->8159K(50048K), 0.0200420 secs]
[GC 42911K->9287K(60096K), 0.0088900 secs]
[GC 53383K->11661K(59584K), 0.0100520 secs]
[Full GC 11661K->11639K(70272K), 0.0934740 secs]
[GC 57207K->18079K(74304K), 0.0100400 secs]
[GC 63647K->28734K(79232K), 0.0224800 secs]
[Full GC 28734K->28659K(97088K), 0.1526740 secs]
[GC 72383K->38352K(101696K), 0.0336040 secs]
[GC 87632K->50292K(110528K), 0.0333480 secs]
[Full GC 50292K->48366K(136832K), 0.2695720 secs]
[GC 95679K->58817K(138304K), 0.0407810 secs]
[GC 113537K->70465K(130752K), 0.0364110 secs]
[Full GC 70465K->70115K(165888K), 0.2716210 secs]
[GC 114431K->74952K(169664K), 0.0357700 secs]
An error occurred while attempting to start the "OpenNMS:Name=Capsd"
service (class org.opennms.netmgt.capsd.jmx.Capsd).  Shutting down and
exiting.
javax.management.RuntimeMBeanException:
org.springframework.beans.factory.access.BootstrapException: Unable to
return specified BeanFactory instance: factory key [capsdContext], from
group with resource name [classpath*:beanRefContext.xml]; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'capsdContext' defined in URL
[jar:file:/opt/opennms/lib/opennms-remote-poller.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 'xmlRpcNotifier' defined in class path resource
[META-INF/opennms/applicationContext-capsd.xml]: Cannot create inner
bean 'util:property-path#3c24ea0e' of type
[org.springframework.beans.factory.config.PropertyPathFactoryBean] while
setting bean property 'xmlRpcEnabled'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'util:property-path#3c24ea0e': Initialization of bean
failed; nested exception is java.lang.NoClassDefFoundError:
org/objectweb/asm/commons/EmptyVisitor
        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:313)
        at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:236)
        at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:247)
        at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:127)
        at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:197)
        at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:169)
        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:368)
        at java.lang.Thread.run(Thread.java:636)
Caused by: org.springframework.beans.factory.access.BootstrapException:
Unable to return specified BeanFactory instance: factory key
[capsdContext], from group with resource name
[classpath*:beanRefContext.xml]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'capsdContext' defined in URL
[jar:file:/opt/opennms/lib/opennms-remote-poller.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 'xmlRpcNotifier' defined in class path resource
[META-INF/opennms/applicationContext-capsd.xml]: Cannot create inner
bean 'util:property-path#3c24ea0e' of type
[org.springframework.beans.factory.config.PropertyPathFactoryBean] while
setting bean property 'xmlRpcEnabled'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'util:property-path#3c24ea0e': Initialization of bean
failed; nested exception is java.lang.NoClassDefFoundError:
org/objectweb/asm/commons/EmptyVisitor
        at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:405)
        at
org.opennms.core.utils.BeanUtils.getBeanFactory(BeanUtils.java:58)
        at org.opennms.core.utils.BeanUtils.getFactory(BeanUtils.java:101)
        at
org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(AbstractSpringContextJmxServiceDaemon.java:80)
        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: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'capsdContext' defined in URL
[jar:file:/opt/opennms/lib/opennms-remote-poller.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 'xmlRpcNotifier' defined in class path resource
[META-INF/opennms/applicationContext-capsd.xml]: Cannot create inner
bean 'util:property-path#3c24ea0e' of type
[org.springframework.beans.factory.config.PropertyPathFactoryBean] while
setting bean property 'xmlRpcEnabled'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'util:property-path#3c24ea0e': Initialization of bean
failed; nested exception is java.lang.NoClassDefFoundError:
org/objectweb/asm/commons/EmptyVisitor
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:451)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:733)
        at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:395)
        ... 26 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 'xmlRpcNotifier' defined in class path resource
[META-INF/opennms/applicationContext-capsd.xml]: Cannot create inner
bean 'util:property-path#3c24ea0e' of type
[org.springframework.beans.factory.config.PropertyPathFactoryBean] while
setting bean property 'xmlRpcEnabled'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'util:property-path#3c24ea0e': Initialization of bean
failed; nested exception is java.lang.NoClassDefFoundError:
org/objectweb/asm/commons/EmptyVisitor
        at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
        at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
        at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:186)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:795)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:713)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)
        ... 32 more
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'xmlRpcNotifier' defined in class path
resource [META-INF/opennms/applicationContext-capsd.xml]: Cannot create
inner bean 'util:property-path#3c24ea0e' of type
[org.springframework.beans.factory.config.PropertyPathFactoryBean] while
setting bean property 'xmlRpcEnabled'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'util:property-path#3c24ea0e': Initialization of bean
failed; nested exception is java.lang.NoClassDefFoundError:
org/objectweb/asm/commons/EmptyVisitor
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:228)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:123)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1095)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
        at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122)
        at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:88)
        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:85)
        ... 37 more
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'util:property-path#3c24ea0e':
Initialization of bean failed; nested exception is
java.lang.NoClassDefFoundError: org/objectweb/asm/commons/EmptyVisitor
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:451)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:216)
        ... 54 more
Caused by: java.lang.NoClassDefFoundError:
org/objectweb/asm/commons/EmptyVisitor
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:637)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
        at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:615)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
        at
org.springframework.aop.aspectj.AbstractAspectJAdvice.createParameterNameDiscoverer(AbstractAspectJAdvice.java:411)
        at
org.springframework.aop.aspectj.AbstractAspectJAdvice.bindArgumentsByName(AbstractAspectJAdvice.java:387)
        at
org.springframework.aop.aspectj.AbstractAspectJAdvice.calculateArgumentBindings(AbstractAspectJAdvice.java:359)
        at
org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory.getAdvice(ReflectiveAspectJAdvisorFactory.java:219)
        at
org.springframework.aop.aspectj.annotation.InstantiationModelAwarePointcutAdvisorImpl.instantiateAdvice(InstantiationModelAwarePointcutAdvisorImpl.java:145)
        at
org.springframework.aop.aspectj.annotation.InstantiationModelAwarePointcutAdvisorImpl.<init>(InstantiationModelAwarePointcutAdvisorImpl.java:94)
        at
org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory.getAdvisor(ReflectiveAspectJAdvisorFactory.java:135)
        at
org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory$1.doWith(ReflectiveAspectJAdvisorFactory.java:75)
        at
org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:238)
        at
org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:215)
        at
org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory.getAdvisors(ReflectiveAspectJAdvisorFactory.java:71)
        at
org.springframework.aop.aspectj.annotation.BeanFactoryAspectJAdvisorsBuilder.buildAspectJAdvisors(BeanFactoryAspectJAdvisorsBuilder.java:111)
        at
org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator.findCandidateAdvisors(AnnotationAwareAspectJAutoProxyCreator.java:85)
        at
org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findEligibleAdvisors(AbstractAdvisorAutoProxyCreator.java:83)
        at
org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean(AbstractAdvisorAutoProxyCreator.java:66)
        at
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:296)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:313)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1176)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
        ... 55 more
Caused by: java.lang.ClassNotFoundException:
org.objectweb.asm.commons.EmptyVisitor
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
        at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:615)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
        ... 86 more



Now I have no clue what is broken, the only thing changed from the
defaults was the discovery ranges. Any help would be appreciated. Any
more information needed, let me know



~Seann

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Broken Startup on Fedora 9

Jeff Gehlbach
On Jul 29, 2008, at 2:59 PM, Seann Clark wrote:
> OpenNMS doesn't
> start on my system, and I did follow the directions for Redhat/Fedora
> (http://www.opennms.org/index.php/Installation:Yum) and I fixed one
> problem to get another (Just killed an snmpd service on my local box
> that was being used by Cacti).

Has OpenNMS ever started successfully on this system?

> Hardware Platform is 64bit Xeon with 4GB memory, and plenty of hard
> drive space. Fedora 9 is my release of software.

Thanks for those details, but can you also provide the release of  
OpenNMS that you're using?  Also, check the version of Java that  
OpenNMS is using:

`head -1 /opt/opennms/etc/java.conf` -version

Mind the backticks, they're intentional.

-jeff

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Broken Startup on Fedora 9

Seann Clark
Jeff Gehlbach wrote:

> On Jul 29, 2008, at 2:59 PM, Seann Clark wrote:
>  
>> OpenNMS doesn't
>> start on my system, and I did follow the directions for Redhat/Fedora
>> (http://www.opennms.org/index.php/Installation:Yum) and I fixed one
>> problem to get another (Just killed an snmpd service on my local box
>> that was being used by Cacti).
>>    
>
> Has OpenNMS ever started successfully on this system?
>  
Negative, this is a brand new install.

>  
>> Hardware Platform is 64bit Xeon with 4GB memory, and plenty of hard
>> drive space. Fedora 9 is my release of software.
>>    
>
> Thanks for those details, but can you also provide the release of  
> OpenNMS that you're using?  Also, check the version of Java that  
> OpenNMS is using:
>
> `head -1 /opt/opennms/etc/java.conf` -version
>
> Mind the backticks, they're intentional.
>
> -jeff
>  
java version "1.6.0"
OpenJDK  Runtime Environment (build 1.6.0-b09)
OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)

Versions of all Opennms installed programs:
opennms-webapp-jetty-1.7.0-0.9633.snapshot.noarch
opennms-repo-testing-1.0-12.noarch
opennms-repo-snapshot-1.0-12.noarch
opennms-repo-unstable-1.0-12.noarch
opennms-1.7.0-0.9633.snapshot.noarch
mib2opennms-0.3.1-1.x86_64
opennms-remote-poller-1.7.0-0.9633.snapshot.noarch
opennms-webapp-standalone-1.7.0-0.9633.snapshot.noarch
opennms-core-1.7.0-0.9633.snapshot.noarch
opennms-docs-1.7.0-0.9633.snapshot.noarch
opennms-repo-stable-1.0-12.noarch


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Broken Startup on Fedora 9

Jeff Gehlbach
On Jul 29, 2008, at 4:22 PM, Seann Clark wrote:
> java version "1.6.0"
> OpenJDK  Runtime Environment (build 1.6.0-b09)
> OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)

This is your problem.  OpenJDK doesn't yet include all the  
infrastructure needed to bootstrap OpenNMS.  I'm not sure exactly  
what's missing, but I'm fairly certain it's related to a dependency of  
the Spring Framework that OpenJDK cannot satisfy.

If you go to java.sun.com and download and install a real Sun Java 6  
SE JDK (you don't need the EE one), you will be all set.

> Versions of all Opennms installed programs:
> opennms-webapp-jetty-1.7.0-0.9633.snapshot.noarch
> opennms-repo-testing-1.0-12.noarch
> opennms-repo-snapshot-1.0-12.noarch
> opennms-repo-unstable-1.0-12.noarch

Generally we're recommending at present that people run the "unstable"  
rather than the "snapshot" version.  "unstable" is the 1.5.9x series,  
which currently gets you beta releases for the upcoming 1.6.0 stable  
release.  Everything that goes into these releases has been peer-
reviewed.  "snapshot" currently gets you the trunk of our Subversion  
repository, which is prone to getting bleeding-edge commits that have  
not yet been thoroughly reviewed or tested.  This is especially true  
right now, as we're having our annual developers' conference this  
week.  If you uninstall all the RPMs you listed apart from the opennms-
repo-unstable one, and then yum install opennms again, you'll get the  
latest 1.6 beta release (currently 1.5.93).

Before you go doing this, though, it's worth pointing out that Fedora  
9 ships by default with PostgreSQL 8.3, which OpenNMS does not yet  
fully support.  OpenNMS will start and run with 8.3, but will fail in  
subtle ways later on.  You can get 8.2 RPMs via Yum from PostgreSQL's  
repo; instructions are here: <http://yum.pgsqlrpms.org/howtoyum.php>.

-jeff

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Broken Startup on Fedora 9

Seann Clark
Jeff Gehlbach wrote:

> On Jul 29, 2008, at 4:22 PM, Seann Clark wrote:
>  
>> java version "1.6.0"
>> OpenJDK  Runtime Environment (build 1.6.0-b09)
>> OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)
>>    
>
> This is your problem.  OpenJDK doesn't yet include all the  
> infrastructure needed to bootstrap OpenNMS.  I'm not sure exactly  
> what's missing, but I'm fairly certain it's related to a dependency of  
> the Spring Framework that OpenJDK cannot satisfy.
>
> If you go to java.sun.com and download and install a real Sun Java 6  
> SE JDK (you don't need the EE one), you will be all set.
>
>  
Well, That was something silly I didn't see in the documentation. This
all started for me in looking for a more Spectrum or HP OpenView style
NMS, so this is my first time with this product. Live and learn, I guess.


I am working on getting the full SE JDK  downloaded and installed to see
the status after this.

>> Versions of all Opennms installed programs:
>> opennms-webapp-jetty-1.7.0-0.9633.snapshot.noarch
>> opennms-repo-testing-1.0-12.noarch
>> opennms-repo-snapshot-1.0-12.noarch
>> opennms-repo-unstable-1.0-12.noarch
>>    
>
> Generally we're recommending at present that people run the "unstable"  
> rather than the "snapshot" version.  "unstable" is the 1.5.9x series,  
> which currently gets you beta releases for the upcoming 1.6.0 stable  
> release.  Everything that goes into these releases has been peer-
> reviewed.  "snapshot" currently gets you the trunk of our Subversion  
> repository, which is prone to getting bleeding-edge commits that have  
> not yet been thoroughly reviewed or tested.  This is especially true  
> right now, as we're having our annual developers' conference this  
> week.  If you uninstall all the RPMs you listed apart from the opennms-
> repo-unstable one, and then yum install opennms again, you'll get the  
> latest 1.6 beta release (currently 1.5.93).
>
>  
If I do that, One would think it would have been done already, but I
could be crazy, and misreading what you are meaning. I just installed
this all today. Unless of course you mean it will install the Beta only
if the unstable is in there.
> Before you go doing this, though, it's worth pointing out that Fedora  
> 9 ships by default with PostgreSQL 8.3, which OpenNMS does not yet  
> fully support.  OpenNMS will start and run with 8.3, but will fail in  
> subtle ways later on.  You can get 8.2 RPMs via Yum from PostgreSQL's  
> repo; instructions are here: <http://yum.pgsqlrpms.org/howtoyum.php>.
>
> -jeff
>  

PostgreSQL wasn't my DB of choice, but that is just due to lack of
working with it. I will see what I can do to 'downgrade' to the 8.2
version. I am not as worried about nuking that DB system since OpenNMS
is the only thing using this DB.

Regards,
Seann

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Broken Startup on Fedora 9

Jeff Gehlbach
On Jul 29, 2008, at 5:30 PM, Seann Clark wrote:

>> If you go to java.sun.com and download and install a real Sun Java 6
>> SE JDK (you don't need the EE one), you will be all set.
>>
>>
> Well, That was something silly I didn't see in the documentation.

We try very hard to catch JDKs that don't work and refuse to use them,  
but OpenJDK in particular keeps moving the goalposts :)

> This
> all started for me in looking for a more Spectrum or HP OpenView style
> NMS, so this is my first time with this product. Live and learn, I  
> guess.

That's how my involvement with OpenNMS began, after Computer  
Associates bought Concord, which had just bought Spectrum, and I got  
laid off from my job there.  Having spent five years as a professional  
services consultant and then a software engineer for Concord, I was  
looking for a comparable management framework in my new job, and  
OpenNMS was it.

> I am working on getting the full SE JDK  downloaded and installed to  
> see
> the status after this.

Do let us know how it goes.

> If I do that, One would think it would have been done already, but I
> could be crazy, and misreading what you are meaning. I just installed
> this all today. Unless of course you mean it will install the Beta  
> only
> if the unstable is in there.

Well, you currently (as of your initial mail) had the repo RPMs  
installed for all of stable, unstable, testing, and snapshot.  In that  
case, YUM picks the newest version from all those repos, which means  
that you get snapshot.  If you install only the unstable repo RPM,  
then you will get unstable OpenNMS RPMs.

> PostgreSQL wasn't my DB of choice, but that is just due to lack of
> working with it. I will see what I can do to 'downgrade' to the 8.2
> version. I am not as worried about nuking that DB system since OpenNMS
> is the only thing using this DB.

A bit of background on why PostgreSQL is the only RDBMS currently  
supported by OpenNMS, and how this will change in the future, is here:

http://www.opennms.org/index.php/Why_PostgreSQL

-jeff

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Broken Startup on Fedora 9

DJ Gregor-2
On Tue, 29 Jul 2008 18:23:04 -0400, "Jeff Gehlbach" <[hidden email]>
said:
> On Jul 29, 2008, at 5:30 PM, Seann Clark wrote:
> >> If you go to java.sun.com and download and install a real Sun Java 6
> >> SE JDK (you don't need the EE one), you will be all set.
> >>
> >>
> > Well, That was something silly I didn't see in the documentation.
>
> We try very hard to catch JDKs that don't work and refuse to use them,  
> but OpenJDK in particular keeps moving the goalposts :)

Seann,

Can  you run this for me on OpenJDK:

java -version


         Thanks,
         - djg

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Broken Startup on Fedora 9

Les Mikesell
In reply to this post by Seann Clark
Seann Clark wrote:
>
> PostgreSQL wasn't my DB of choice, but that is just due to lack of
> working with it. I will see what I can do to 'downgrade' to the 8.2
> version. I am not as worried about nuking that DB system since OpenNMS
> is the only thing using this DB.

This might be easier if you can start over with Centos5 instead of
Fedora.  The 'unstable' yum install with get all the right stuff
including a usable JVM.  And the OS will have several more years of
update support than Fedora.  If you haven't used Centos, you won't find
many surprises compared to fedora although it's closer to FC6.

--
   Les Mikesell
    [hidden email]


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Broken Startup on Fedora 9

Seann Clark
In reply to this post by DJ Gregor-2


-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of DJ
Gregor
Sent: Tuesday, July 29, 2008 5:29 PM
To: General OpenNMS Discussion
Subject: Re: [opennms-discuss] Broken Startup on Fedora 9

On Tue, 29 Jul 2008 18:23:04 -0400, "Jeff Gehlbach" <[hidden email]>
said:

> On Jul 29, 2008, at 5:30 PM, Seann Clark wrote:
> >> If you go to java.sun.com and download and install a real Sun Java 6
> >> SE JDK (you don't need the EE one), you will be all set.
> >>
> >>
> > Well, That was something silly I didn't see in the documentation.
>
> We try very hard to catch JDKs that don't work and refuse to use them,  
> but OpenJDK in particular keeps moving the goalposts :)
>
>Seann,
>
>Can  you run this for me on OpenJDK:
>
>java -version
>
>
>         Thanks,
>         - djg

java version "1.6.0"
OpenJDK  Runtime Environment (build 1.6.0-b09)
OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)


~Seann


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Broken Startup on Fedora 9

Seann Clark
In reply to this post by Jeff Gehlbach
-----Original Message-----
>From: [hidden email]
[mailto:opennms->[hidden email]] On Behalf Of Jeff
Gehlbach

>Sent: Tuesday, July 29, 2008 5:23 PM
>To: General OpenNMS Discussion
>Subject: Re: [opennms-discuss] Broken Startup on Fedora 9
>
>On Jul 29, 2008, at 5:30 PM, Seann Clark wrote:
>
>>> If you go to java.sun.com and download and install a real Sun Java 6
>>> SE JDK (you don't need the EE one), you will be all set.
>>>
>>>
> Well, That was something silly I didn't see in the documentation.
>
>We try very hard to catch JDKs that don't work and refuse to use them,  
>but OpenJDK in particular keeps moving the goalposts :)
>
>> This
>> all started for me in looking for a more Spectrum or HP OpenView style
>> NMS, so this is my first time with this product. Live and learn, I  
>> guess.
>
>That's how my involvement with OpenNMS began, after Computer  
>Associates bought Concord, which had just bought Spectrum, and I got  
>laid off from my job there.  Having spent five years as a professional  
>services consultant and then a software engineer for Concord, I was  
>looking for a comparable management framework in my new job, and  
>OpenNMS was it.
>
>> I am working on getting the full SE JDK  downloaded and installed to  
>> see
>> the status after this.
>
>Do let us know how it goes.
There wasn't a change, I am still getting the bail out due to a
configuration point with CASPD it looks like.
'An error occurred while attempting to start the "OpenNMS:Name=Capsd"
service (class org.opennms.netmgt.capsd.jmx.Capsd).  Shutting down and
exiting.'

The hard part with that is I don't know why it is bailing on that. Last one
was on TRAPD and that was because net-snmp was running the trap service on
UDP 162, and opennms couldn't bind to that socket. That was a simple fix.

>> If I do that, One would think it would have been done already, but I
>> could be crazy, and misreading what you are meaning. I just installed
>> this all today. Unless of course you mean it will install the Beta  
>> only
>> if the unstable is in there.
>
>Well, you currently (as of your initial mail) had the repo RPMs  
>installed for all of stable, unstable, testing, and snapshot.  In that  
>case, YUM picks the newest version from all those repos, which means  
>that you get snapshot.  If you install only the unstable repo RPM,  
>then you will get unstable OpenNMS RPMs.
>
>> PostgreSQL wasn't my DB of choice, but that is just due to lack of
>> working with it. I will see what I can do to 'downgrade' to the 8.2
>> version. I am not as worried about nuking that DB system since OpenNMS
>> is the only thing using this DB.
>
>A bit of background on why PostgreSQL is the only RDBMS currently  
>supported by OpenNMS, and how this will change in the future, is here:
>
>http://www.opennms.org/index.php/Why_PostgreSQL
>
>-jeff

Regards,
Seann


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Broken Startup on Fedora 9

Seann Clark
Seann Clark wrote:

> -----Original Message-----
>  
>> From: [hidden email]
>>    
> [mailto:opennms->[hidden email]] On Behalf Of Jeff
> Gehlbach
>  
>> Sent: Tuesday, July 29, 2008 5:23 PM
>> To: General OpenNMS Discussion
>> Subject: Re: [opennms-discuss] Broken Startup on Fedora 9
>>
>> On Jul 29, 2008, at 5:30 PM, Seann Clark wrote:
>>
>>    
>>>> If you go to java.sun.com and download and install a real Sun Java 6
>>>> SE JDK (you don't need the EE one), you will be all set.
>>>>
>>>>
>>>>        
>> Well, That was something silly I didn't see in the documentation.
>>
>> We try very hard to catch JDKs that don't work and refuse to use them,  
>> but OpenJDK in particular keeps moving the goalposts :)
>>
>>    
>>> This
>>> all started for me in looking for a more Spectrum or HP OpenView style
>>> NMS, so this is my first time with this product. Live and learn, I  
>>> guess.
>>>      
>> That's how my involvement with OpenNMS began, after Computer  
>> Associates bought Concord, which had just bought Spectrum, and I got  
>> laid off from my job there.  Having spent five years as a professional  
>> services consultant and then a software engineer for Concord, I was  
>> looking for a comparable management framework in my new job, and  
>> OpenNMS was it.
>>
>>    
>>> I am working on getting the full SE JDK  downloaded and installed to  
>>> see
>>> the status after this.
>>>      
>> Do let us know how it goes.
>>    
> There wasn't a change, I am still getting the bail out due to a
> configuration point with CASPD it looks like.
> 'An error occurred while attempting to start the "OpenNMS:Name=Capsd"
> service (class org.opennms.netmgt.capsd.jmx.Capsd).  Shutting down and
> exiting.'
>
> The hard part with that is I don't know why it is bailing on that. Last one
> was on TRAPD and that was because net-snmp was running the trap service on
> UDP 162, and opennms couldn't bind to that socket. That was a simple fix
>
>  
>>> If I do that, One would think it would have been done already, but I
>>> could be crazy, and misreading what you are meaning. I just installed
>>> this all today. Unless of course you mean it will install the Beta  
>>> only
>>> if the unstable is in there.
>>>      
>> Well, you currently (as of your initial mail) had the repo RPMs  
>> installed for all of stable, unstable, testing, and snapshot.  In that  
>> case, YUM picks the newest version from all those repos, which means  
>> that you get snapshot.  If you install only the unstable repo RPM,  
>> then you will get unstable OpenNMS RPMs.
>>
>>    
>>> PostgreSQL wasn't my DB of choice, but that is just due to lack of
>>> working with it. I will see what I can do to 'downgrade' to the 8.2
>>> version. I am not as worried about nuking that DB system since OpenNMS
>>> is the only thing using this DB.
>>>      
>> A bit of background on why PostgreSQL is the only RDBMS currently  
>> supported by OpenNMS, and how this will change in the future, is here:
>>
>> http://www.opennms.org/index.php/Why_PostgreSQL
>>
>> -jeff
>>    
>
> Regards,
> Seann
>
>
>  
I managed to get the server running by pruning 'problem' services out:
CAPS, Statsd, and Dhcpd.

Capsd crashes when starting up on my system. What is Capsd, what is it
used for, and why would it crash repetitively?

Is the dhcpd a service in terms of handing out DHCP, or just to monitor it?

And finally, what would cause Statsd to crash on start up?


I will provide the output.log for these crashes, if anyone needs them.

Regards,
Seann

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Broken Startup on Fedora 9

Jeff Gehlbach
On Jul 30, 2008, at 11:24 AM, Seann Clark wrote:
> I managed to get the server running by pruning 'problem' services out:
> CAPS, Statsd, and Dhcpd.
>
> Capsd crashes when starting up on my system. What is Capsd, what is it
> used for, and why would it crash repetitively?

Capsd is the capabilities scanning daemon.  You almost certainly need  
it.  You would know this if you had read any of the "getting started"  
documents -- it's good etiquette to do so.  You say you're looking for  
something comparable to OpenView NNM or Spectrum -- would you install  
and attempt to configure one of those products without reading the  
"getting started" chapters of the administrator manual first?

> Is the dhcpd a service in terms of handing out DHCP, or just to  
> monitor it?

Monitoring.

> And finally, what would cause Statsd to crash on start up?

Well, for one thing, a Java that can't provide everything that it needs.

Did you tell OpenNMS to use the new Java?

/opt/opennms/bin/runjava -S /usr/java/jdk1.6.0_6/bin/java

(Substituting the actual path to the new Sun java)

Turn Capsd and Statsd back on.  If you aren't running a DHCP client on  
your OpenNMS server, turn Dhcpd back on as well.  Restart and see if  
your problems disappear.

-jeff

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Broken Startup on Fedora 9

Les Mikesell
Jeff Gehlbach wrote:
> You say you're looking for  
> something comparable to OpenView NNM or Spectrum -- would you install  
> and attempt to configure one of those products without reading the  
> "getting started" chapters of the administrator manual first?

Don't those products come with a salesman to buy your lunch and read the
color glossies to you while you eat?  (At least until you sign a
contract...).

--
   Les Mikesell
    [hidden email]


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Broken Startup on Fedora 9

Seann Clark
In reply to this post by Jeff Gehlbach
Jeff Gehlbach wrote:

> On Jul 30, 2008, at 11:24 AM, Seann Clark wrote:
>  
>> I managed to get the server running by pruning 'problem' services out:
>> CAPS, Statsd, and Dhcpd.
>>
>> Capsd crashes when starting up on my system. What is Capsd, what is it
>> used for, and why would it crash repetitively?
>>    
>
> Capsd is the capabilities scanning daemon.  You almost certainly need  
> it.  You would know this if you had read any of the "getting started"  
> documents -- it's good etiquette to do so.  You say you're looking for  
> something comparable to OpenView NNM or Spectrum -- would you install  
> and attempt to configure one of those products without reading the  
> "getting started" chapters of the administrator manual first?
>  
For a dry run before any tweaking, I have never seen a problem with
installing Spectrum, and others without having to read the book first.
Secondly, I would be paying a good sum for support, so even if I didn't
read the quick start they would help me deploy with an on site tech.
Having deployed both in previous years, if I came across an error like
that, that was no where in the documentation, or site, I could call
their support and have them give me a hand. Even more so they could be
on site for the initial install for good customer relations.

    Now since this isn't a professional service, it is just a community
mailing list, I can live with that. I won't take 4-6 hours to read
manuals of a product I can't get running in the first place. I mean
after all, would you put in window tinting and a 100W stereo into a car
that has no engine?

Basically if you can't get a service running, you remove the errored
parts until you get it running, then troubleshoot what is broke to make
sure the rest of the product works. I am happy to say it seems Java and
the three services I have mentioned previously are the 'broken'
portions, and I don't know what is going on with it.

 If you can't install the product and get it to run as the install
document states, it is rather a waste of time learning how the products
nuts and bolts work. I had glanced over the getting started, but since I
couldn't get it past the install, it wasn't my highest priority. Since I
don't read Java, and the error codes in the error log are java, and very
cryptic, I don't know what is breaking where. I have asked the list
kindly for help, did upgrade the java, did get it pointing to the new
Java install, among other things, and didn't get anywhere except for the
same old crash.

On a lighter note, aside from one post, everything so far I have seen
was great and very supportive for my problems, and good troubleshooting.
It was this morning that I decided to see if the program would start
without the processes that had errors on startup, where the worst of it,
and it was just someone showing irritation to a person who looks like a,
well, for lack of better words, idiot.

>  
>> Is the dhcpd a service in terms of handing out DHCP, or just to  
>> monitor it?
>>    
>
> Monitoring.
>
>  
>> And finally, what would cause Statsd to crash on start up?
>>    
>
> Well, for one thing, a Java that can't provide everything that it needs.
>
> Did you tell OpenNMS to use the new Java?
>
> /opt/opennms/bin/runjava -S /usr/java/jdk1.6.0_6/bin/java
>
> (Substituting the actual path to the new Sun java)
>
> Turn Capsd and Statsd back on.  If you aren't running a DHCP client on  
> your OpenNMS server, turn Dhcpd back on as well.  Restart and see if  
> your problems disappear.
>
> -jeff
>
>
>  
As this shows, I am using the newest Java.

Wed Jul 30-11:25:21-root@haruhi:etc> /opt/opennms/bin/runjava -S
/usr/java/jdk1.6.0_07/bin/java
runjava: checking specified JRE: "/usr/java/jdk1.6.0_07/bin/java"...
runjava: specified JRE is good.
runjava: value of "/usr/java/jdk1.6.0_07/bin/java" stored in
configuration file
Wed Jul 30-11:25:26-root@haruhi:etc> cat java.conf
/usr/java/jdk1.6.0_07/bin/java
Wed Jul 30-11:25:28-root@haruhi:etc> cat /etc/default/opennms
JAVA_HOME=/usr/java/jdk1.6.0_07/bin/java

Wed Jul 30-11:25:30-root@haruhi:etc> ls /usr/java
default  jdk1.6.0_07  latest
Wed Jul 30-11:31:07-root@haruhi:etc> ls /usr/java/jdk1.6.0_07/
bin        demo     jre  LICENSE  README.html     README_zh_CN.html  
register_ja.html     sample   THIRDPARTYLICENSEREADME.txt
COPYRIGHT  include  lib  man      README_ja.html  register.html      
register_zh_CN.html  src.zip
Wed Jul 30-11:31:12-root@haruhi:etc>


I am posting my error logs from my 'playing' and the breaking again of
the CAPS here below for ease of erasing it on reply. If ANYONE can give
me a clue as to what/why this is breaking, even if it is a WIKI, or
anything else, I would appreciate it. I don't do Java, and I have
searched for as much of the errors as I could make sense of. Here it is:


[GC 3072K->649K(8896K), 0.0079770 secs]
[GC 3721K->825K(11968K), 0.0029550 secs]
[GC 6969K->1009K(11968K), 0.0041830 secs]
[GC 7153K->1494K(18112K), 0.0043420 secs]
[DEBUG] System property 'opennms.library.jicmp' set to
'/usr/lib64/libjicmp.so.  Attempting to load jicmp library from this
location.
[INFO] Successfully loaded jicmp library.
[GC 13782K->2263K(18112K), 0.0031990 secs]
[GC 14551K->2958K(31040K), 0.0035070 secs]
[GC 27406K->6104K(31168K), 0.0090450 secs]
[Full GC 6104K->5442K(38080K), 0.0629300 secs]
[GC 29753K->8129K(49856K), 0.0159650 secs]
[GC 42881K->9321K(59584K), 0.0080140 secs]
[GC 53161K->11659K(59136K), 0.0130630 secs]
[Full GC 11659K->11628K(69952K), 0.0882420 secs]
[GC 57452K->17980K(74368K), 0.0150620 secs]
[GC 63804K->28664K(79936K), 0.0280970 secs]
[Full GC 28664K->28604K(97472K), 0.1529730 secs]
[GC 73215K->38724K(102080K), 0.0332880 secs]
[GC 88900K->50983K(109696K), 0.0342040 secs]
[Full GC 50983K->49025K(135488K), 0.2509910 secs]
[GC 94784K->58872K(137152K), 0.0407980 secs]
[GC 113080K->70450K(129472K), 0.0375840 secs]
[Full GC 70450K->70161K(163776K), 0.2438490 secs]
[GC 112895K->74471K(167616K), 0.0355400 secs]
[GC 120999K->76647K(166144K), 0.0138110 secs]
An error occurred while attempting to start the
"OpenNMS:Name=Provisioner" service (class
org.opennms.netmgt.xmlrpcd.jmx.Provisioner).  Shutting down and exiting.
javax.management.RuntimeMBeanException:
org.springframework.beans.factory.access.BootstrapException: Unable to
return specified BeanFactory instance: factory key [provisionerContext],
from group with resource name [classpath*:beanRefContext.xml]; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'provisionerContext' defined in URL
[jar:file:/opt/opennms/lib/opennms-remote-poller.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 'provisioner' defined in class path resource
[META-INF/opennms/applicationContext-provisioner.xml]: Cannot resolve
reference to bean 'eventManager' while setting bean property
'eventManager'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'eventManager' is defined
        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:313)
        at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:236)
        at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:247)
        at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:127)
        at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:197)
        at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:169)
        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:368)
        at java.lang.Thread.run(Thread.java:636)
Caused by: org.springframework.beans.factory.access.BootstrapException:
Unable to return specified BeanFactory instance: factory key
[provisionerContext], from group with resource name
[classpath*:beanRefContext.xml]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'provisionerContext' defined in URL
[jar:file:/opt/opennms/lib/opennms-remote-poller.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 'provisioner' defined in class path resource
[META-INF/opennms/applicationContext-provisioner.xml]: Cannot resolve
reference to bean 'eventManager' while setting bean property
'eventManager'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'eventManager' is defined
        at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:405)
        at
org.opennms.core.utils.BeanUtils.getBeanFactory(BeanUtils.java:58)
        at org.opennms.core.utils.BeanUtils.getFactory(BeanUtils.java:101)
        at
org.opennms.netmgt.xmlrpcd.jmx.Provisioner.start(Provisioner.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: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'provisionerContext' defined in URL
[jar:file:/opt/opennms/lib/opennms-remote-poller.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 'provisioner' defined in class path resource
[META-INF/opennms/applicationContext-provisioner.xml]: Cannot resolve
reference to bean 'eventManager' while setting bean property
'eventManager'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'eventManager' is defined
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:451)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:733)
        at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:395)
        ... 26 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 'provisioner' defined in class path resource
[META-INF/opennms/applicationContext-provisioner.xml]: Cannot resolve
reference to bean 'eventManager' while setting bean property
'eventManager'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'eventManager' is defined
        at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
        at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
        at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:186)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:795)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:713)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)
        ... 32 more
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'provisioner' defined in class path
resource [META-INF/opennms/applicationContext-provisioner.xml]: Cannot
resolve reference to bean 'eventManager' while setting bean property
'eventManager'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'eventManager' is defined
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1095)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
        at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122)
        at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:88)
        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:85)
        ... 37 more
Caused by:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'eventManager' is defined
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:360)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:914)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:241)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:227)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:227)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:227)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
        ... 54 more
log4j:WARN No appenders could be found for logger (org.mortbay.log).
log4j:WARN Please initialize the log4j system properly.
------------------------------------------------------------------------------
Wed Jul 30 10:29:48 CDT 2008
begin ulimit settings:
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 40960
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 10240
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1024
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
end ulimit settings
Executing command: /opt/opennms/bin/runjava -r  --  
-Dopennms.home=/opt/opennms -Xmx256m -verbose:gc -jar
/opt/opennms/lib/opennms_bootstrap.jar  start
[GC 3072K->649K(8896K), 0.0067090 secs]
[GC 3721K->833K(11968K), 0.0019370 secs]
[GC 6977K->1037K(11968K), 0.0049520 secs]
[GC 7181K->1575K(18112K), 0.0021610 secs]
[DEBUG] System property 'opennms.library.jicmp' set to
'/usr/lib64/libjicmp.so.  Attempting to load jicmp library from this
location.
[INFO] Successfully loaded jicmp library.
[GC 13863K->2321K(18112K), 0.0037070 secs]
[GC 14609K->3124K(30976K), 0.0035690 secs]
[GC 27508K->6220K(31168K), 0.0072980 secs]
[Full GC 6220K->5450K(38272K), 0.0560080 secs]
[GC 29695K->8239K(49024K), 0.0136610 secs]
[GC 41903K->9231K(57408K), 0.0056160 secs]
[GC 50639K->11539K(58816K), 0.0103510 secs]
[Full GC 11539K->11514K(70016K), 0.0865660 secs]
[GC 57210K->17250K(74880K), 0.0092680 secs]
[GC 62946K->27816K(78656K), 0.0227000 secs]
[Full GC 27816K->27775K(97472K), 0.1470250 secs]
[GC 72127K->37512K(102080K), 0.0305780 secs]
[GC 86024K->48572K(113024K), 0.0293630 secs]
[Full GC 48572K->46769K(140096K), 0.2430270 secs]
[GC 98943K->59008K(141440K), 0.0392380 secs]
[GC 115520K->71715K(133248K), 0.0372880 secs]
[Full GC 71715K->71406K(169152K), 0.2494780 secs]
[GC 117823K->74552K(173248K), 0.0352240 secs]
[GC 122872K->77304K(170624K), 0.0140230 secs]
[GC 126456K->79207K(172352K), 0.0184700 secs]
[DEBUG] System property 'opennms.library.jicmp' set to
'/usr/lib64/libjicmp.so.  Attempting to load jicmp library from this
location.
[INFO] Successfully loaded jicmp library.
[GC 128359K->80128K(174720K), 0.0139780 secs]
[GC 131776K->79808K(174912K), 0.0139350 secs]
[GC 131452K->79600K(174464K), 0.0212310 secs]
[GC 131312K->81872K(169536K), 0.0128110 secs]
log4j:WARN No appenders could be found for logger (org.mortbay.log).
log4j:WARN Please initialize the log4j system properly.
------------------------------------------------------------------------------
Wed Jul 30 10:47:33 CDT 2008
begin ulimit settings:
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 40960
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 10240
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1024
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
end ulimit settings
Executing command: /opt/opennms/bin/runjava -r  --  
-Dopennms.home=/opt/opennms -Xmx256m -jar
/opt/opennms/lib/opennms_bootstrap.jar  start
[DEBUG] System property 'opennms.library.jicmp' set to
'/usr/lib64/libjicmp.so.  Attempting to load jicmp library from this
location.
[INFO] Successfully loaded jicmp library.
Exception in thread "PipedMarshaller"
java.lang.ArrayIndexOutOfBoundsException: -1
        at java.io.PipedReader.receive(PipedReader.java:195)
        at java.io.PipedReader.receive(PipedReader.java:207)
        at java.io.PipedWriter.write(PipedWriter.java:150)
        at java.io.Writer.write(Writer.java:192)
        at java.io.Writer.write(Writer.java:157)
        at org.apache.xml.serialize.IndentPrinter.flushLine(Unknown Source)
        at org.apache.xml.serialize.IndentPrinter.breakLine(Unknown Source)
        at org.apache.xml.serialize.IndentPrinter.breakLine(Unknown Source)
        at org.apache.xml.serialize.XMLSerializer.endElementIO(Unknown
Source)
        at org.apache.xml.serialize.XMLSerializer.endElement(Unknown Source)
        at org.apache.xml.serialize.XMLSerializer.endElement(Unknown Source)
        at
org.exolab.castor.xml.util.DocumentHandlerAdapter.endElement(DocumentHandlerAdapter.java:111)
        at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:1981)
        at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:1877)
        at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:836)
        at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:730)
        at
org.opennms.netmgt.rtc.utils.PipedMarshaller$MarshalThread.run(PipedMarshaller.java:73)
        at java.lang.Thread.run(Thread.java:636)
[DEBUG] System property 'opennms.library.jicmp' set to
'/usr/lib64/libjicmp.so.  Attempting to load jicmp library from this
location.
[INFO] Successfully loaded jicmp library.
log4j:WARN No appenders could be found for logger (org.mortbay.log).
log4j:WARN Please initialize the log4j system properly.
------------------------------------------------------------------------------
Wed Jul 30 11:10:11 CDT 2008
begin ulimit settings:
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 40960
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 10240
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1024
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
end ulimit settings
Executing command: /opt/opennms/bin/runjava -r  --  
-Dopennms.home=/opt/opennms -Xmx256m -jar
/opt/opennms/lib/opennms_bootstrap.jar  start
[DEBUG] System property 'opennms.library.jicmp' set to
'/usr/lib64/libjicmp.so.  Attempting to load jicmp library from this
location.
[INFO] Successfully loaded jicmp library.
[DEBUG] System property 'opennms.library.jicmp' set to
'/usr/lib64/libjicmp.so.  Attempting to load jicmp library from this
location.
[INFO] Successfully loaded jicmp library.
log4j:WARN No appenders could be found for logger (org.mortbay.log).
log4j:WARN Please initialize the log4j system properly.
------------------------------------------------------------------------------
Wed Jul 30 11:23:20 CDT 2008
begin ulimit settings:
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 40960
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 10240
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1024
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
end ulimit settings
Executing command: /opt/opennms/bin/runjava -r  --  
-Dopennms.home=/opt/opennms -Xmx256m -jar
/opt/opennms/lib/opennms_bootstrap.jar  start
[DEBUG] System property 'opennms.library.jicmp' set to
'/usr/lib64/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=Capsd"
service (class org.opennms.netmgt.capsd.jmx.Capsd).  Shutting down and
exiting.
javax.management.RuntimeMBeanException:
org.springframework.beans.factory.access.BootstrapException: Unable to
return specified BeanFactory instance: factory key [capsdContext], from
group with resource name [classpath*:beanRefContext.xml]; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'capsdContext' defined in URL
[jar:file:/opt/opennms/lib/opennms-remote-poller.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 'xmlRpcNotifier' defined in class path resource
[META-INF/opennms/applicationContext-capsd.xml]: Cannot create inner
bean 'util:property-path#5bbee265' of type
[org.springframework.beans.factory.config.PropertyPathFactoryBean] while
setting bean property 'xmlRpcEnabled'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'util:property-path#5bbee265': Initialization of bean
failed; nested exception is java.lang.NoClassDefFoundError:
org/objectweb/asm/commons/EmptyVisitor
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:856)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:869)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:838)
        at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
        at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:313)
        at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:236)
        at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:247)
        at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:127)
        at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:197)
        at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:169)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:368)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.springframework.beans.factory.access.BootstrapException:
Unable to return specified BeanFactory instance: factory key
[capsdContext], from group with resource name
[classpath*:beanRefContext.xml]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'capsdContext' defined in URL
[jar:file:/opt/opennms/lib/opennms-remote-poller.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 'xmlRpcNotifier' defined in class path resource
[META-INF/opennms/applicationContext-capsd.xml]: Cannot create inner
bean 'util:property-path#5bbee265' of type
[org.springframework.beans.factory.config.PropertyPathFactoryBean] while
setting bean property 'xmlRpcEnabled'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'util:property-path#5bbee265': Initialization of bean
failed; nested exception is java.lang.NoClassDefFoundError:
org/objectweb/asm/commons/EmptyVisitor
        at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:405)
        at
org.opennms.core.utils.BeanUtils.getBeanFactory(BeanUtils.java:58)
        at org.opennms.core.utils.BeanUtils.getFactory(BeanUtils.java:101)
        at
org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(AbstractSpringContextJmxServiceDaemon.java:80)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)
        at
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)
        at
com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
        at
com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)
        at
com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
        ... 13 more
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'capsdContext' defined in URL
[jar:file:/opt/opennms/lib/opennms-remote-poller.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 'xmlRpcNotifier' defined in class path resource
[META-INF/opennms/applicationContext-capsd.xml]: Cannot create inner
bean 'util:property-path#5bbee265' of type
[org.springframework.beans.factory.config.PropertyPathFactoryBean] while
setting bean property 'xmlRpcEnabled'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'util:property-path#5bbee265': Initialization of bean
failed; nested exception is java.lang.NoClassDefFoundError:
org/objectweb/asm/commons/EmptyVisitor
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:451)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:733)
        at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:395)
        ... 26 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 'xmlRpcNotifier' defined in class path resource
[META-INF/opennms/applicationContext-capsd.xml]: Cannot create inner
bean 'util:property-path#5bbee265' of type
[org.springframework.beans.factory.config.PropertyPathFactoryBean] while
setting bean property 'xmlRpcEnabled'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'util:property-path#5bbee265': Initialization of bean
failed; nested exception is java.lang.NoClassDefFoundError:
org/objectweb/asm/commons/EmptyVisitor
        at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
        at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
        at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:186)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:795)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:713)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)
        ... 32 more
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'xmlRpcNotifier' defined in class path
resource [META-INF/opennms/applicationContext-capsd.xml]: Cannot create
inner bean 'util:property-path#5bbee265' of type
[org.springframework.beans.factory.config.PropertyPathFactoryBean] while
setting bean property 'xmlRpcEnabled'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'util:property-path#5bbee265': Initialization of bean
failed; nested exception is java.lang.NoClassDefFoundError:
org/objectweb/asm/commons/EmptyVisitor
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:228)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:123)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1095)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
        at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122)
        at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:88)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
        ... 37 more
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'util:property-path#5bbee265':
Initialization of bean failed; nested exception is
java.lang.NoClassDefFoundError: org/objectweb/asm/commons/EmptyVisitor
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:451)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:216)
        ... 54 more
Caused by: java.lang.NoClassDefFoundError:
org/objectweb/asm/commons/EmptyVisitor
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:592)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at
org.springframework.aop.aspectj.AbstractAspectJAdvice.createParameterNameDiscoverer(AbstractAspectJAdvice.java:411)
        at
org.springframework.aop.aspectj.AbstractAspectJAdvice.bindArgumentsByName(AbstractAspectJAdvice.java:387)
        at
org.springframework.aop.aspectj.AbstractAspectJAdvice.calculateArgumentBindings(AbstractAspectJAdvice.java:359)
        at
org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory.getAdvice(ReflectiveAspectJAdvisorFactory.java:219)
        at
org.springframework.aop.aspectj.annotation.InstantiationModelAwarePointcutAdvisorImpl.instantiateAdvice(InstantiationModelAwarePointcutAdvisorImpl.java:145)
        at
org.springframework.aop.aspectj.annotation.InstantiationModelAwarePointcutAdvisorImpl.<init>(InstantiationModelAwarePointcutAdvisorImpl.java:94)
        at
org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory.getAdvisor(ReflectiveAspectJAdvisorFactory.java:135)
        at
org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory$1.doWith(ReflectiveAspectJAdvisorFactory.java:75)
        at
org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:238)
        at
org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:215)
        at
org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory.getAdvisors(ReflectiveAspectJAdvisorFactory.java:71)
        at
org.springframework.aop.aspectj.annotation.BeanFactoryAspectJAdvisorsBuilder.buildAspectJAdvisors(BeanFactoryAspectJAdvisorsBuilder.java:111)
        at
org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator.findCandidateAdvisors(AnnotationAwareAspectJAutoProxyCreator.java:85)
        at
org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findEligibleAdvisors(AbstractAdvisorAutoProxyCreator.java:83)
        at
org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean(AbstractAdvisorAutoProxyCreator.java:66)
        at
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:296)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:313)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1176)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
        ... 55 more
Caused by: java.lang.ClassNotFoundException:
org.objectweb.asm.commons.EmptyVisitor
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:592)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        ... 86 more







-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Broken Startup on Fedora 9

Jeff Gehlbach
On Jul 30, 2008, at 1:08 PM, Seann Clark wrote:
> Secondly, I would be paying a good sum for support, so even if I  
> didn't
> read the quick start they would help me deploy with an on site tech.
> Having deployed both in previous years, if I came across an error like
> that, that was no where in the documentation, or site, I could call
> their support and have them give me a hand. Even more so they could be
> on site for the initial install for good customer relations.

All of these options exist for OpenNMS as well, for the record, and at  
far lower prices than you probably imagine.  See http://www.opennms.org/index.php/Support_arrangements 
  for details.

> Now since this isn't a professional service, it is just a community
> mailing list, I can live with that. I won't take 4-6 hours to read
> manuals of a product I can't get running in the first place. I mean
> after all, would you put in window tinting and a 100W stereo into a  
> car
> that has no engine?

Bad analogy -- you have a kit car here.  The reason it won't start  
could be that you didn't hook up the ignition properly, or that you  
put gasoline in the tank when it needs diesel, or missed some subtle  
(and maybe even poorly documented) but important step.  I assure you,  
however, that it has an engine.

> Basically if you can't get a service running, you remove the errored
> parts until you get it running, then troubleshoot what is broke to  
> make
> sure the rest of the product works. I am happy to say it seems Java  
> and
> the three services I have mentioned previously are the 'broken'
> portions, and I don't know what is going on with it.

Yes, your troubleshooting steps have been sound so far.  You might  
consider starting fresh, with the right Java and the right  
PostgreSQL.  As somebody pointed out earlier, you'd be well served by  
choosing CentOS 5 rather than Fedora for a number of reasons.  Fedora  
9 represents quite a thorn in the side lately due to the PostgreSQL  
8.3 and OpenJDK issues.  You had no way of knowing this up front, of  
course, but it's the way it is at the moment.

> On a lighter note, aside from one post, everything so far I have seen
> was great and very supportive for my problems, and good  
> troubleshooting.
> It was this morning that I decided to see if the program would start
> without the processes that had errors on startup, where the worst of  
> it,
> and it was just someone showing irritation to a person who looks  
> like a,
> well, for lack of better words, idiot.

My apologies -- it's been a stressful week for me and I got little  
sleep last night.  Sixteen of us are gathered in one room this week,  
working very hard to make OpenNMS even better.  Far from an idiot, you  
look like a new user who made some unfortunate choices (Fedora 9,  
mostly) and from whose experience we can all learn.  One of our  
volunteer contributors spent several hours last night researching how  
to recognize a genuine Sun JVM given the moving target that OpenJDK  
presents.  So, thank you.

> As this shows, I am using the newest Java.

Agreed.

> I am posting my error logs from my 'playing' and the breaking again of
> the CAPS here below for ease of erasing it on reply.

Since output.log largely lacks timestamps, it's hard to tell which  
messages are from when.  Can you blow away all the logs in /opt/
opennms/logs/daemon, try again to start OpenNMS, and post the new  
output.log?

Thanks
-jeff

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Broken Startup on Fedora 9

Seann Clark
Jeff Gehlbach wrote:

> On Jul 30, 2008, at 1:08 PM, Seann Clark wrote:
>  
>> Secondly, I would be paying a good sum for support, so even if I  
>> didn't
>> read the quick start they would help me deploy with an on site tech.
>> Having deployed both in previous years, if I came across an error like
>> that, that was no where in the documentation, or site, I could call
>> their support and have them give me a hand. Even more so they could be
>> on site for the initial install for good customer relations.
>>    
>
> All of these options exist for OpenNMS as well, for the record, and at  
> far lower prices than you probably imagine.  See http://www.opennms.org/index.php/Support_arrangements 
>   for details.
>
>  
>> Now since this isn't a professional service, it is just a community
>> mailing list, I can live with that. I won't take 4-6 hours to read
>> manuals of a product I can't get running in the first place. I mean
>> after all, would you put in window tinting and a 100W stereo into a  
>> car
>> that has no engine?
>>    
>
> Bad analogy -- you have a kit car here.  The reason it won't start  
> could be that you didn't hook up the ignition properly, or that you  
> put gasoline in the tank when it needs diesel, or missed some subtle  
> (and maybe even poorly documented) but important step.  I assure you,  
> however, that it has an engine.
>  

Good point, and I don't think I missed a step. I will explain that in a
moment though...

>  
>> Basically if you can't get a service running, you remove the errored
>> parts until you get it running, then troubleshoot what is broke to  
>> make
>> sure the rest of the product works. I am happy to say it seems Java  
>> and
>> the three services I have mentioned previously are the 'broken'
>> portions, and I don't know what is going on with it.
>>    
>
> Yes, your troubleshooting steps have been sound so far.  You might  
> consider starting fresh, with the right Java and the right  
> PostgreSQL.  As somebody pointed out earlier, you'd be well served by  
> choosing CentOS 5 rather than Fedora for a number of reasons.  Fedora  
> 9 represents quite a thorn in the side lately due to the PostgreSQL  
> 8.3 and OpenJDK issues.  You had no way of knowing this up front, of  
> course, but it's the way it is at the moment.
>
>  
I said forget it to my install, nuked it, nuked the repos, forgot I
nuked the repo's, looked up how to re-import them, grabbed only
stable/unstable (I think that was my mistake the last time, I grabbed
all the repo's, not realizing what it could do to stability, and that
was the primary cause of my issues, that none of the versions matched in
a way that jived well with each other) and then re-installed ONMS. Ran
through the last of the configs for it, got it gold, started it, and got
yelled at... Ooops, I forgot to remove the .rpmsaves. removed that, got
yelled at one more time, this time for dhcpd, commented that out (This
server runs a DHCP/Cobbler server) and it ran just fine.

Final thing I need to do before I fully bless this as good, is take care
of PostgreSQL, since I am heeding the idea of certain undocumented
'features' that appear when using the newest PostgreSQL with the current
ONMS.

>> On a lighter note, aside from one post, everything so far I have seen
>> was great and very supportive for my problems, and good  
>> troubleshooting.
>> It was this morning that I decided to see if the program would start
>> without the processes that had errors on startup, where the worst of  
>> it,
>> and it was just someone showing irritation to a person who looks  
>> like a,
>> well, for lack of better words, idiot.
>>    
>
> My apologies -- it's been a stressful week for me and I got little  
> sleep last night.  Sixteen of us are gathered in one room this week,  
> working very hard to make OpenNMS even better.  Far from an idiot, you  
> look like a new user who made some unfortunate choices (Fedora 9,  
> mostly) and from whose experience we can all learn.  One of our  
> volunteer contributors spent several hours last night researching how  
> to recognize a genuine Sun JVM given the moving target that OpenJDK  
> presents.  So, thank you.
>
>  
I have had a long week so far myself, so I understand.

>> As this shows, I am using the newest Java.
>>    
>
> Agreed.
>
>  
>> I am posting my error logs from my 'playing' and the breaking again of
>> the CAPS here below for ease of erasing it on reply.
>>    
>
> Since output.log largely lacks timestamps, it's hard to tell which  
> messages are from when.  Can you blow away all the logs in /opt/
> opennms/logs/daemon, try again to start OpenNMS, and post the new  
> output.log?
>
> Thanks
> -jeff
>  
Now my next small project is to see about NetFlow with this (I found the
archives for it, so that helped me a bit) I just need to figure out a
bit more on that side of things though. I also need to move on with the
Documentation now that I have it up and partially configured.

Thanks for the help!
Seann

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Broken Startup on Fedora 9

Jeff Gehlbach
On Jul 30, 2008, at 4:13 PM, Seann Clark wrote:
> Now my next small project is to see about NetFlow with this (I found  
> the
> archives for it, so that helped me a bit) I just need to figure out a
> bit more on that side of things though. I also need to move on with  
> the
> Documentation now that I have it up and partially configured.

The type of data that Netflow provides does not really match up with  
the model used in OpenNMS, but people have successfully created  
integrations between OpenNMS and other projects that analyze this  
data.  We'd love to hear about your ideas and progress.

> Thanks for the help!

Sure thing!

-jeff

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss