Quantcast

Cannot Reinstall OpenNMS on CentOS 5

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Cannot Reinstall OpenNMS on CentOS 5

arshadparvez
AoA;

After removing opennms with yum remove command, now I am sort of unable to reinstall it on the same system.

I installed the rpm file from:
[opennms@localhost ~]$ su -c 'rpm -Uvh http://yum.opennms.org/repofiles/opennms-repo-stable-rhel5.noarch.rpm'

Then, after installing jdk and postgresql, I tried to install opennms. Below, I have pasted the screen output,
[opennms@localhost ~]$ su -c 'yum install opennms'
Password:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.neu.edu.cn
 * base: mirror.neu.edu.cn
 * extras: mirror.neu.edu.cn
 * updates: mirror.neu.edu.cn
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package opennms.noarch 0:1.8.13-1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================
 Package               Arch                 Version                  Repository                           Size
===============================================================================================================
Installing:
 opennms               noarch               1.8.13-1                 opennms-stable-common               2.6 k

Transaction Summary
===============================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 2.6 k
Is this ok [y/N]: y
Downloading Packages:
opennms-1.8.13-1.noarch.rpm                                                             | 2.6 kB     00:00    
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : opennms                                                                                 1/1

Installed:
  opennms.noarch 0:1.8.13-1                                                                                    

Complete!

------------------------------------------------------------------------------------------------------------------------------------------


But it doesn't even create /opt/opennms folder. I have tried to find & locate the folder elsewhere but there aren't any opennms folders except /var/log/opennms but that seems to be from the previous installation. The time "yum install opennms" takes is too less to create folders and copty files. At the end of this post I shall paste the output of the command.

It seems that the uninstall wasn't clean enough and yum install thinks that it some of the things are already installed. I have checked with "yum search opennms" which has
Here is the screen capture:
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[opennms@localhost ~]$ su -c 'yum search opennms'
Password:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.neu.edu.cn
 * base: mirror.neu.edu.cn
 * extras: mirror.neu.edu.cn
 * updates: mirror.neu.edu.cn
============================================== Matched: opennms ===============================================
opennms.noarch : Enterprise-grade Network Management Platform (Easy Install)
opennms-core.noarch : The core OpenNMS backend.
opennms-webapp-jetty.noarch : Embedded web interface for OpenNMS

-----------------------------------------------------------------------------------------------------------------------------------------------

Can someone help me please?

regards

Arshad
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Cannot Reinstall OpenNMS on CentOS 5

Benjamin Reed

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/23/11 5:55 AM, arshadparvez wrote:
> --> Running transaction check
> ---> Package opennms.noarch 0:1.8.13-1 set to be updated
> --> Finished Dependency Resolution

Looks like you never fully uninstalled opennms, but deleted /opt/opennms
yourself.  The "opennms" package is just a wrapper that depends on other
things.  You need to remove "opennms-core" to get rid of everything:

  sudo yum remove opennms-core

- --
Benjamin Reed
The OpenNMS Group
http://www.opennms.org/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFOU5tPUu+jZtP2Zf4RAkd5AJwIrRn2rcfy+cK1PiOdWZ463gH2UQCeLT+w
rYT6y6IeUz80oDO7eZYJgmA=
=pHTQ
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
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
|  
Report Content as Inappropriate
star

Re: Cannot Reinstall OpenNMS on CentOS 5

arshadparvez
Thanks a lot - it worked ... I had given it a thought but all the way i had been trying to
           sudo yum remove opennms
never thought of the core !! But don't we install just the 'opennms" without the core-suffix? Why need to remove the core now? Must be because of deleting the folder without proper uninstall...

regards and thanks again

Arshad
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Cannot Reinstall OpenNMS on CentOS 5

Benjamin Reed

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/24/11 3:38 AM, arshadparvez wrote:
> But don't we install just the 'opennms" without the core-suffix?

"opennms" is just an empty wrapper package which depends on multiple other packages to make it easy to install the different parts you need for a full running OpenNMS install.  It's a convenience for installing "jicmp", "opennms-core", and so on.

- --
Benjamin Reed
The OpenNMS Group
http://www.opennms.org/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFOVQjCUu+jZtP2Zf4RAqaRAJ4x9WgXywvt4GdyYIGoIEsOrmUbWgCeLMmw
Q6rLWCM7fk76tUs6oq+Z+5w=
=aut/
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
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
|  
Report Content as Inappropriate
star

Re: Cannot Reinstall OpenNMS on CentOS 5

arshadparvez
Thanks for the explanation.

I'm stuck again: unable to start opennms.
The error on the very first effort to start opennms was unsuccessful. I have copied this line from output.log
An error occurred while attempting to start the "OpenNMS:Name=Capsd" service

Please help.

Arshad

Here is the relevant portion of complete log:
------------------------------------------------------------------------------
Thu Aug 25 10:28:56 PKST 2011
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) 45056
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) unlimited
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
end ulimit settings
Executing command: /opt/opennms/bin/runjava -r  -- -Djava.endorsed.dirs=/opt/opennms/lib/endorsed   -Dopennms.home=/opt/opennms -Dcom.sun.management.jmxremote.port=18980 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Xmx256m -Djava.net.preferIPv4Stack=true  -XX:MaxPermSize=128m -jar /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-services-1.8.13.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#7025bd08' 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#7025bd08': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut capsdEventHandler
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:821)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
        at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:338)
        at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:261)
        at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:266)
        at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:137)
        at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:202)
        at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:174)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:352)
        at java.lang.Thread.run(Thread.java:722)
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-services-1.8.13.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#7025bd08' 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#7025bd08': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut capsdEventHandler
        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:409)
        at org.opennms.core.utils.BeanUtils.getBeanFactory(BeanUtils.java:59)
        at org.opennms.core.utils.BeanUtils.getFactory(BeanUtils.java:101)
        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(AbstractSpringContextJmxServiceDaemon.java:109)
        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:601)
        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:235)
        at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:250)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
        ... 13 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'capsdContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-1.8.13.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#7025bd08' 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#7025bd08': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut capsdEventHandler
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:285)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:993)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:897)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
        at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1049)
        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:397)
        ... 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#7025bd08' 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#7025bd08': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut capsdEventHandler
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:107)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:277)
        ... 36 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#7025bd08' 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#7025bd08': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut capsdEventHandler
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:872)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:105)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
        ... 38 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'util:property-path#7025bd08': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut capsdEventHandler
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
        ... 57 more
Caused by: java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut capsdEventHandler
        at org.aspectj.weaver.tools.PointcutParser.parsePointcutExpression(PointcutParser.java:317)
        at org.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointcutExpression(AspectJExpressionPointcut.java:204)
        at org.springframework.aop.aspectj.AspectJExpressionPointcut.checkReadyToMatch(AspectJExpressionPointcut.java:191)
        at org.springframework.aop.aspectj.AspectJExpressionPointcut.getClassFilter(AspectJExpressionPointcut.java:172)
        at org.springframework.aop.support.AopUtils.canApply(AopUtils.java:200)
        at org.springframework.aop.support.AopUtils.canApply(AopUtils.java:254)
        at org.springframework.aop.support.AopUtils.findAdvisorsThatCanApply(AopUtils.java:286)
        at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findAdvisorsThatCanApply(AbstractAdvisorAutoProxyCreator.java:117)
        at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findEligibleAdvisors(AbstractAdvisorAutoProxyCreator.java:87)
        at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean(AbstractAdvisorAutoProxyCreator.java:68)
        at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:359)
        at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:322)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:407)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1418)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        ... 59 more
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Nodes from excluded range discovered

Kevin Küper
Good morning everybody,
a few days ago I had to restart my OpenNMS Server.
Since then the discoveryd discovers nodes from excluded ranges.
Interesting part ist hat not all excluded nodes are discovered.
Always with every run there are three new nodes that get found by opennms.
But they are not always the same. Other IP-Adresses and other nodenames.
Looks like OpenNMS is randomly picking IP-Adresses of a randomly picked exclude-range.
But always from the subnet 192.168.161.1 /24

I don't know where I have to search.
No configuration change has been made.
Another restart doesnt solve the problem.
Reconfiguration of discoveryd doesnt help either.
Upgrade from 1.8.12 to 1.8.13 didn't make a difference

OpenNMS version 1.8.13
I'm just using the discoveryd. Provisioning is disabled.

Does anyone know a hint where to search fort he reason?

____________________________discovery-configuration____________________________________
<?xml version="1.0" encoding="UTF-8"?>
<discovery-configuration
    xmlns="http://xmlns.opennms.org/xsd/config/discovery" threads="4"
    packets-per-second="1" initial-sleep-time="30000"
    restart-sleep-time="86400000" retries="1" timeout="2000">
    <specific retries="1" timeout="2000">192.168.201.154</specific>
    <specific retries="1" timeout="2000">192.168.201.156</specific>
    <specific retries="1" timeout="2000">192.168.201.152</specific>
    <specific retries="1" timeout="2000">192.168.201.170</specific>
    <specific retries="1" timeout="2000">192.168.201.53</specific>
    <specific retries="1" timeout="2000">192.168.201.63</specific>
    <specific retries="1" timeout="2000">192.168.201.160</specific>
    <include-range retries="1" timeout="2000">
        <begin xmlns="">192.168.161.1</begin>
        <end xmlns="">192.168.161.254</end>
    </include-range>
    <include-range retries="1" timeout="2000">
        <begin xmlns="">192.168.201.1</begin>
        <end xmlns="">192.168.201.254</end>
    </include-range>
    <include-range retries="1" timeout="2000">
        <begin xmlns="">192.168.162.1</begin>
        <end xmlns="">192.168.162.254</end>
    </include-range>
    <exclude-range>
        <begin xmlns="">192.168.161.11</begin>
        <end xmlns="">192.168.161.49</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.161.121</begin>
        <end xmlns="">192.168.161.149</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.161.191</begin>
        <end xmlns="">192.168.161.199</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.161.201</begin>
        <end xmlns="">192.168.161.229</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.161.240</begin>
        <end xmlns="">192.168.161.250</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.161.251</begin>
        <end xmlns="">192.168.161.254</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.201.51</begin>
        <end xmlns="">192.168.201.200</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.162.150</begin>
        <end xmlns="">192.168.162.225</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.161.95</begin>
        <end xmlns="">192.168.161.95</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.161.171</begin>
        <end xmlns="">192.168.161.189</end>
    </exclude-range>
</discovery-configuration>



------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
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
|  
Report Content as Inappropriate
star

Re: Cannot Reinstall OpenNMS on CentOS 5

Benjamin Reed
In reply to this post by arshadparvez

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/25/11 1:50 AM, arshadparvez wrote:
> Caused by: java.lang.IllegalArgumentException: error at ::0 can't find
> referenced pointcut capsdEventHandler

This is a JDK7/AspectJ bug.  It's fixed in snapshots, but the fix did
not make it into 1.8.13/1.9.90.

Either switch to JDK6, or try one of the snapshot packages, and it
should work.

- --
Benjamin Reed
The OpenNMS Group
http://www.opennms.org/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFOVjwrUu+jZtP2Zf4RAnVZAKCQuuNBmn3s1dJvudZjJir2TJeTrwCcCHHS
Mp+2LqvIWtEvbJaiqzrSBpk=
=cb/n
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
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
|  
Report Content as Inappropriate
star

Re: Nodes from excluded range discovered

Bob Greene-2
In reply to this post by Kevin Küper
Have you defined those nodes somewhere else?  Do grep for the IP in the etc/imports directory.

________________________________________
From: Kevin Küper [[hidden email]]
Sent: Thursday, August 25, 2011 02:12
To: General OpenNMS Discussion
Subject: [opennms-discuss] Nodes from excluded range discovered

Good morning everybody,
a few days ago I had to restart my OpenNMS Server.
Since then the discoveryd discovers nodes from excluded ranges.
Interesting part ist hat not all excluded nodes are discovered.
Always with every run there are three new nodes that get found by opennms.
But they are not always the same. Other IP-Adresses and other nodenames.
Looks like OpenNMS is randomly picking IP-Adresses of a randomly picked exclude-range.
But always from the subnet 192.168.161.1 /24

I don't know where I have to search.
No configuration change has been made.
Another restart doesnt solve the problem.
Reconfiguration of discoveryd doesnt help either.
Upgrade from 1.8.12 to 1.8.13 didn't make a difference

OpenNMS version 1.8.13
I'm just using the discoveryd. Provisioning is disabled.

Does anyone know a hint where to search fort he reason?

____________________________discovery-configuration____________________________________
<?xml version="1.0" encoding="UTF-8"?>
<discovery-configuration
    xmlns="http://xmlns.opennms.org/xsd/config/discovery" threads="4"
    packets-per-second="1" initial-sleep-time="30000"
    restart-sleep-time="86400000" retries="1" timeout="2000">
    <specific retries="1" timeout="2000">192.168.201.154</specific>
    <specific retries="1" timeout="2000">192.168.201.156</specific>
    <specific retries="1" timeout="2000">192.168.201.152</specific>
    <specific retries="1" timeout="2000">192.168.201.170</specific>
    <specific retries="1" timeout="2000">192.168.201.53</specific>
    <specific retries="1" timeout="2000">192.168.201.63</specific>
    <specific retries="1" timeout="2000">192.168.201.160</specific>
    <include-range retries="1" timeout="2000">
        <begin xmlns="">192.168.161.1</begin>
        <end xmlns="">192.168.161.254</end>
    </include-range>
    <include-range retries="1" timeout="2000">
        <begin xmlns="">192.168.201.1</begin>
        <end xmlns="">192.168.201.254</end>
    </include-range>
    <include-range retries="1" timeout="2000">
        <begin xmlns="">192.168.162.1</begin>
        <end xmlns="">192.168.162.254</end>
    </include-range>
    <exclude-range>
        <begin xmlns="">192.168.161.11</begin>
        <end xmlns="">192.168.161.49</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.161.121</begin>
        <end xmlns="">192.168.161.149</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.161.191</begin>
        <end xmlns="">192.168.161.199</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.161.201</begin>
        <end xmlns="">192.168.161.229</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.161.240</begin>
        <end xmlns="">192.168.161.250</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.161.251</begin>
        <end xmlns="">192.168.161.254</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.201.51</begin>
        <end xmlns="">192.168.201.200</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.162.150</begin>
        <end xmlns="">192.168.162.225</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.161.95</begin>
        <end xmlns="">192.168.161.95</end>
    </exclude-range>
    <exclude-range>
        <begin xmlns="">192.168.161.171</begin>
        <end xmlns="">192.168.161.189</end>
    </exclude-range>
</discovery-configuration>



------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
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

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
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
|  
Report Content as Inappropriate
star

Re: Cannot Reinstall OpenNMS on CentOS 5

arshadparvez
In reply to this post by Benjamin Reed
I am installing on a to-be production server (we had tried it out on Windows machine). Do you recommend snapshot or 1.8.13 or 1.9.90?

Sorry that I am bothering you a little off the original question.

regards

Arshad
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Cannot Reinstall OpenNMS on CentOS 5

arshadparvez
This post was updated on .
In reply to this post by Benjamin Reed
Excited as I was; I couldn't wait for your response and have installed 1.8.13 with jdk 6 (I guessed that would be your recommendation). I managed starting OpenNMS without much hassle except that iplike didl't install until I edited the script file to point to 64bit version of 'iplike.so' for my 64-bit machine. Its running very fine.

Thanks a lot for your help. I would request you to guide me on provisioning through a file containing list of IP addresses, location names, categories of each node, services to be monitored, and the community strings. The last time I had installed (I wonder how come it then got installed with jdk 7 !)I had saved all the info in .csv file and had partially managed through provision.pl, but it had failed to register services and SNMP string due to some text encoding issues in the version of perl that is installed by default on my CentOS 5 server. With my limited experience on linux, I very easily crashed my installation and had to go for a fresh installation.

regards

Arshad    
Loading...