Heide, Todd | 7 Apr 20:04 2015

Rancid Integration V.3.2

 

Hi all, I am working on getting this functioning, the patch for Opennms is for V.2.3.8, which appears to no longer be available.  Is there a current patch for Rancid to use with Opennms?

This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential, privileged or proprietary information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, immediately contact the sender and destroy all copies of the original message.
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Kristijan Lečnik | 7 Apr 21:54 2015
Picon

opennms LDAP configuration

Hi,

i am new to the opennms / spring / ldap configuration, but i think my config should work. If somebody could look over my configuration and tell me if i am wrong.

system: Debian 7
opennms version: 15.0.1-1

Here is my ldap entry:

# klecnik, People, DOMAIN.lan
dn: uid=klecnik,ou=People,dc=DOMAIN,dc=lan
mail: MAIL
uid: klecnik
givenName: Kristijan
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
sn:: TGXEjW5paw==
cn:: S3Jpc3RpamFuIExlxI1uaWs=
userPassword::

# Sysadmins, Groups, DOMAIN.lan
dn: cn=Sysadmins,ou=Groups,dc=DOMAIN,dc=lan
description: System administrators
objectClass: top
objectClass: groupofuniquenames
objectClass: groupofurls
uniqueMember: uid=klecnik,ou=People,dc=DOMAIN,dc=lan
cn: Sysadmins
memberURL: ldap:///dc%3dDOMAIN,dc%3dlan??sub?(%26(objectclass%3dperson)(cn%3d*
 ))

my configuration:

<?xml version="1.0" encoding="UTF-8"?>

<beans:beans xmlns="http://www.springframework.org/schema/security"

  xmlns:beans="http://www.springframework.org/schema/beans"

  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd

              http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd">


  <beans:bean id="ldapTemplate" class="org.springframework.ldap.core.LdapTemplate">

    <beans:constructor-arg ref="contextSource"/>

    <beans:property name="ignorePartialResultException" value="true"/>

  </beans:bean>

  <beans:bean id="contextSource" class="org.springframework.ldap.core.support.LdapContextSource">

    <beans:property name="urls">

      <beans:list>

        <!-- List one or more of your enterprise's LDAP servers here -->

        <beans:value>ldap://IP_ADDRESS:389/</beans:value>

      </beans:list>

    </beans:property>

    <!-- An optional base DN. Every user and group below is relative to this. -->

    <beans:property name="base" value="dc=DOMAIN,dc=lan" />

    <beans:property name="authenticationSource" ref="authenticationSource" />

  </beans:bean>

  <beans:bean id="authenticationSource" class="org.springframework.ldap.authentication.DefaultValuesAuthenticationSourceDecorator">

    <beans:property name="target" ref="springSecurityAuthenticationSource"/>

    <!-- Specify the DN of an unprivileged user for initial binding to the directory -->

    <beans:property name="defaultUser" value="cn=Directory Manager"/>

    <!-- Specify the unprivileged bind user's password here -->

    <beans:property name="defaultPassword" value=“PASSWORD”/>

  </beans:bean>


  <beans:bean id="springSecurityAuthenticationSource" class="org.springframework.security.ldap.authentication.SpringSecurityAuthenticationSource">

  </beans:bean>


  <beans:bean id="externalAuthenticationProvider" class="org.springframework.security.ldap.authentication.LdapAuthenticationProvider">

    <beans:constructor-arg ref="ldapAuthenticator"/>

    <beans:constructor-arg ref="userGroupLdapAuthoritiesPopulator"/>

  </beans:bean>


  <beans:bean id="ldapAuthenticator" class="org.springframework.security.ldap.authentication.BindAuthenticator">

    <beans:constructor-arg ref="contextSource"/>

    <beans:property name="userSearch" ref="userSearch"></beans:property>

  </beans:bean>

  <!-- userSearch (alt.: userDnPatterns) -->


  <beans:bean id="userSearch" class="org.springframework.security.ldap.search.FilterBasedLdapUserSearch">

    <beans:constructor-arg index="0" value="ou=People" />


    <!-- More complex filters are possible depending on the layout of your directory -->

    <beans:constructor-arg index="1" value="(uid={0})" />

    <beans:constructor-arg index="2" ref="contextSource" />

    <beans:property name="searchSubtree" value="true" />

  </beans:bean>


  <beans:bean id="userGroupLdapAuthoritiesPopulator" class="org.opennms.web.springframework.security.UserGroupLdapAuthoritiesPopulator">

    <beans:constructor-arg ref="contextSource"/>

    <!-- Common LDAP container for the user and admin groups listed below -->

    <beans:constructor-arg value="ou=People" />

    <beans:property name="searchSubtree" value="true" />

    <beans:property name="convertToUpperCase" value="true" />

    <beans:property name="groupRoleAttribute" value="cn" />

    <beans:property name="groupSearchFilter" value="member={0}" />

    <beans:property name="groupToRoleMap">

      <beans:map>

        <beans:entry>

          <!-- Name of the LDAP group for normal (non-admin) OpenNMS users -->

          <beans:key><beans:value>users</beans:value></beans:key>

          <beans:list>

            <beans:value>ROLE_USER</beans:value>

            <!-- <beans:value>ROLE_DASHBOARD</beans:value> -->

          </beans:list>

        </beans:entry>

        <beans:entry>

          <!-- Name of the LDAP group for OpenNMS administrators -->

          <beans:key><beans:value>Sysadmins</beans:value></beans:key>

          <beans:list>

            <beans:value>ROLE_USER</beans:value>

            <beans:value>ROLE_ADMIN</beans:value>

          </beans:list>

        </beans:entry>

      </beans:map>

    </beans:property>

  </beans:bean>


</beans:beans>

i can login with my user, but i get:

Access denied
You do not have permission to access this page.

web.log:
2015-04-07 21:41:18,020 WARN  [qtp953704807-536 - /opennms/j_spring_security_check] o.s.s.l.a.SpringSecurityAuthenticationSource: No Authentication object set in SecurityContext - returning empty String as Principal
2015-04-07 21:41:18,020 WARN  [qtp953704807-536 - /opennms/j_spring_security_check] o.s.s.l.a.SpringSecurityAuthenticationSource: No Authentication object set in SecurityContext - returning empty String as Principal
2015-04-07 21:41:18,092 INFO  [qtp953704807-536 - /opennms/j_spring_security_check] o.s.l.c.LdapTemplate: The returnObjFlag of supplied SearchControls is not set but a ContextMapper is used - setting flag to true
2015-04-07 21:41:18,095 WARN  [qtp953704807-536 - /opennms/j_spring_security_check] o.s.s.l.a.SpringSecurityAuthenticationSource: No Authentication object set in SecurityContext - returning empty String as Principal
2015-04-07 21:41:18,095 WARN  [qtp953704807-536 - /opennms/j_spring_security_check] o.s.s.l.a.SpringSecurityAuthenticationSource: No Authentication object set in SecurityContext - returning empty String as Principal
2015-04-07 21:41:18,099 INFO  [qtp953704807-536 - /opennms/j_spring_security_check] o.s.l.c.LdapTemplate: The returnObjFlag of supplied SearchControls is not set but a ContextMapper is used - setting flag to true
2015-04-07 21:41:18,099 WARN  [qtp953704807-536 - /opennms/j_spring_security_check] o.s.s.l.a.SpringSecurityAuthenticationSource: No Authentication object set in SecurityContext - returning empty String as Principal
2015-04-07 21:41:18,099 WARN  [qtp953704807-536 - /opennms/j_spring_security_check] o.s.s.l.a.SpringSecurityAuthenticationSource: No Authentication object set in SecurityContext - returning empty String as Principal

Best Regards
Kristijan Lecnik
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Bates, Todd (Dublin | 2 Apr 20:08 2015

Migration of Opennms 1.6.7 on windows to a 2008vm

I am looking for some assistance with the process of migrating an existing rel 1.6.7 of opennms from a windows 2003 server to a 2008 vm. The system has been running well and has many nodes and notifications already setup. I would like to know if there is an easy way to migrate this data. I have setup a test vm on my pc with the latest version of opennms running. I seem to have some issues though as I am  only get a reporting page and none of the admin features that I am used to seeing. Below is a screen shot of the test system. Any assistance would be greatly appreciated. The person that initially set the production system up has moved on. I have managed to keep the old system updated by tinkering around. Thanks, Todd

 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Ronny Trommer | 27 Mar 12:21 2015

Kickstart workshop in Berlin

Hello,

here a last reminder, on Monday the 30th March, we have a free workshop in Berlin at the Open Source
co-working space Büro 2.0. You can register for the event at the meetup platform.

Venue:
  https://www.buero20.org/anfahrt/

Programm and Register
  https://www.buero20.org/veranstaltungen/
  http://www.meetup.com/b20_knowledge_space/

Greetings from Germany
Ronny

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Nicholas Siow | 20 Mar 12:10 2015
Picon

OpenNMS v15.0.1 failed to start

Hi there,
 
I encountered the following error description, extracted from web.log, when I attempted to start OpenNMS for the first time. Please help.
 
2015-03-20 13:38:05,675 ERROR [Main] o.s.w.c.ContextLoader: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceRegistryExporter' defined in ServletContext resource [/WEB-INF/applicationContext-serviceRegistryRemoting.xml]: Initialization of bean failed;
 nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.opennms.core.soa.support.DefaultServiceRegistry' to required type 'org.opennms.core.soa.ServiceRegistry' for property 'serviceRegistry';
 nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.opennms.core.soa.support.DefaultServiceRegistry] to required type [org.opennms.core.soa.ServiceRegistry] for property 'serviceRegistry': no matching editors or conversion strategy found
 
Thanks & Regards,
Nicholas
 
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Robert L Craig | 23 Mar 22:04 2015

Re: opennms-install Digest, Vol 103, Issue 8

OK, that did it. I had to use the first method of dropping the old database and creating a new one, then run the
install. Thanks for your help guys.

Robert 

-----Original Message-----
From: opennms-install-request <at> lists.sourceforge.net
[mailto:opennms-install-request <at> lists.sourceforge.net] 
Sent: Monday, March 23, 2015 1:37 PM
To: opennms-install <at> lists.sourceforge.net
Subject: opennms-install Digest, Vol 103, Issue 8

Send opennms-install mailing list submissions to
	opennms-install <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/opennms-install
or, via email, send a message with subject or body 'help' to
	opennms-install-request <at> lists.sourceforge.net

You can reach the person managing the list at
	opennms-install-owner <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific than "Re: Contents of opennms-install digest..."

Today's Topics:

   1. Re: Installation Error (Roskens, Ronald)

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

Message: 1
Date: Mon, 23 Mar 2015 18:36:08 +0000
From: "Roskens, Ronald" <Ronald.Roskens <at> biworldwide.com>
Subject: Re: [opennms-install] Installation Error
To: 'Installation questions and help'
	<opennms-install <at> lists.sourceforge.net>
Message-ID:
	<B6663E208B2DA14DBB3C6FABB9207F7859ADEA54 <at> BIUSMB1.bius.bi.corp>
Content-Type: text/plain; charset="utf-8"

You don?t need to do all that extra work of dropping template1 and re-creating it.

Since you are doing a fresh install, this should work:

# sudo -u postgres dropdb opennms
# sudo -u postgres createdb -U postgres -E UNICODE opennms # /opt/opennms/bin/install -dis

Ron

From: Silvio Mink [mailto:silvio.mink <at> web.de]
Sent: Monday, March 23, 2015 12:55 PM
To: Installation questions and help
Subject: Re: [opennms-install] Installation Error

I think you have to resolve this failure "ERROR: new encoding (UTF8) is incompatible with the encoding of
the template database (SQL_ASCII)" in your postgres installation.

Maybe this link helps you
http://stackoverflow.com/questions/16736891/pgerror-error-new-encoding-utf8-is-incompatible
-
Silvio

Am 23.03.2015 um 17:14 schrieb Robert L Craig <robert.l.craig <at> craignetwork.com<mailto:robert.l.craig <at> craignetwork.com>>:
Trying to install the latest version on Centos 7 with Java 7u75. I?ve tried it with multiple guides on the NET
and I keep getting the below error. Any ideas?

[root <at> chicago1 /]# /opt/opennms/bin/install -dis ==============================================================================
OpenNMS Installer
==============================================================================

Configures PostgreSQL tables, users, and other miscellaneous settings.

DEBUG: Platform is IPv6 ready: true
- searching for libjicmp.so:
  - trying to load /usr/lib64/libjicmp.so: OK
- searching for libjicmp6.so:
  - trying to load /usr/lib64/libjicmp6.so: OK
- searching for libjrrd.so:
  - trying to load /usr/lib64/libjrrd.so: NO
  - trying to load /usr/lib64/libjrrd.so: NO
  - trying to load /libjrrd.so: NO
  - trying to load /opt/opennms/lib/libjrrd.so: NO
  - trying to load /opt/opennms/lib/linux64/libjrrd.so: NO
  - trying to load /usr/java/packages/lib/amd64/libjrrd.so: NO
  - trying to load /usr/lib64/libjrrd.so: NO
  - trying to load /lib64/libjrrd.so: NO
  - trying to load /lib/libjrrd.so: NO
  - trying to load /usr/lib/libjrrd.so: NO
  - trying to load /usr/lib/jni/libjrrd.so: NO
  - trying to load /usr/lib/libjrrd.so: NO
  - trying to load /usr/local/lib/libjrrd.so: NO
  - trying to load /opt/NMSjicmp/lib/32/libjrrd.so: NO
  - trying to load /opt/NMSjicmp/lib/64/libjrrd.so: NO
  - trying to load /opt/NMSjicmp6/lib/32/libjrrd.so: NO
  - trying to load /opt/NMSjicmp6/lib/64/libjrrd.so: NO
- Failed to load the optional jrrd library.
  - This error is not fatal, since jrrd is only required for optional features.
  - For more information, see http://www.opennms.org/index.php/jrrd
15:31:15.841 [Main] WARN  org.opennms.install.Installer - Could not create file: /opt/opennms/etc/libraries.properties
- using SQL directory... /opt/opennms/etc
- using create.sql... /opt/opennms/etc/create.sql
15:31:15.845 [Main] INFO  org.opennms.core.schema.Migrator - validating database version
* using 'postgres' as the PostgreSQL user for OpenNMS
* using 'opennms' as the PostgreSQL database name for OpenNMS
15:31:15.930 [Main] INFO  org.opennms.core.schema.Migrator - validating database version
15:31:15.936 [Main] INFO  org.opennms.core.schema.Migrator - creating OpenNMS user, if necessary
15:31:15.944 [Main] INFO  org.opennms.core.schema.Migrator - creating OpenNMS database, if necessary java.lang.reflect.InvocationTargetException
        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:606)
        at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:366)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.opennms.core.schema.MigrationException: an error occurred creating the OpenNMS database
        at org.opennms.core.schema.Migrator.createDatabase(Migrator.java:433)
        at org.opennms.core.schema.Migrator.prepareDatabase(Migrator.java:449)
        at org.opennms.install.Installer.install(Installer.java:241)
        at org.opennms.install.Installer.main(Installer.java:967)
        ... 6 more
Caused by: org.postgresql.util.PSQLException: ERROR: new encoding (UTF8) is incompatible with the
encoding of the template database (SQL_ASCII)
  Hint: Use the same encoding as in the template database, or use template0 as template.
        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2161)
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1890)
        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:560)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:403)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:395)
        at org.opennms.core.schema.Migrator.createDatabase(Migrator.java:430)
        ... 9 more

Robert
 ?

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in
partnership with Slashdot Media, is your hub for all things parallel software development, from weekly
thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

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

This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential
information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the
intended recipient, please contact the sender by phone or reply by e-mail, delete the original message
and destroy all copies. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...

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

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in
partnership with Slashdot Media, is your hub for all things parallel software development, from weekly
thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/

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

_______________________________________________
opennms-install mailing list
opennms-install <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opennms-install

End of opennms-install Digest, Vol 103, Issue 8
***********************************************

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

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

Robert L Craig | 23 Mar 17:14 2015

Installation Error

Trying to install the latest version on Centos 7 with Java 7u75. I’ve tried it with multiple guides on the NET and I keep getting the below error. Any ideas?
 
 
[root <at> chicago1 /]# /opt/opennms/bin/install -dis
==============================================================================
OpenNMS Installer
==============================================================================
 
Configures PostgreSQL tables, users, and other miscellaneous settings.
 
DEBUG: Platform is IPv6 ready: true
- searching for libjicmp.so:
  - trying to load /usr/lib64/libjicmp.so: OK
- searching for libjicmp6.so:
  - trying to load /usr/lib64/libjicmp6.so: OK
- searching for libjrrd.so:
  - trying to load /usr/lib64/libjrrd.so: NO
  - trying to load /usr/lib64/libjrrd.so: NO
  - trying to load /libjrrd.so: NO
  - trying to load /opt/opennms/lib/libjrrd.so: NO
  - trying to load /opt/opennms/lib/linux64/libjrrd.so: NO
  - trying to load /usr/java/packages/lib/amd64/libjrrd.so: NO
  - trying to load /usr/lib64/libjrrd.so: NO
  - trying to load /lib64/libjrrd.so: NO
  - trying to load /lib/libjrrd.so: NO
  - trying to load /usr/lib/libjrrd.so: NO
  - trying to load /usr/lib/jni/libjrrd.so: NO
  - trying to load /usr/lib/libjrrd.so: NO
  - trying to load /usr/local/lib/libjrrd.so: NO
  - trying to load /opt/NMSjicmp/lib/32/libjrrd.so: NO
  - trying to load /opt/NMSjicmp/lib/64/libjrrd.so: NO
  - trying to load /opt/NMSjicmp6/lib/32/libjrrd.so: NO
  - trying to load /opt/NMSjicmp6/lib/64/libjrrd.so: NO
- Failed to load the optional jrrd library.
  - This error is not fatal, since jrrd is only required for optional features.
  - For more information, see http://www.opennms.org/index.php/jrrd
15:31:15.841 [Main] WARN  org.opennms.install.Installer - Could not create file: /opt/opennms/etc/libraries.properties
- using SQL directory... /opt/opennms/etc
- using create.sql... /opt/opennms/etc/create.sql
15:31:15.845 [Main] INFO  org.opennms.core.schema.Migrator - validating database version
* using 'postgres' as the PostgreSQL user for OpenNMS
* using 'opennms' as the PostgreSQL database name for OpenNMS
15:31:15.930 [Main] INFO  org.opennms.core.schema.Migrator - validating database version
15:31:15.936 [Main] INFO  org.opennms.core.schema.Migrator - creating OpenNMS user, if necessary
15:31:15.944 [Main] INFO  org.opennms.core.schema.Migrator - creating OpenNMS database, if necessary
java.lang.reflect.InvocationTargetException
        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:606)
        at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:366)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.opennms.core.schema.MigrationException: an error occurred creating the OpenNMS database
        at org.opennms.core.schema.Migrator.createDatabase(Migrator.java:433)
        at org.opennms.core.schema.Migrator.prepareDatabase(Migrator.java:449)
        at org.opennms.install.Installer.install(Installer.java:241)
        at org.opennms.install.Installer.main(Installer.java:967)
        ... 6 more
Caused by: org.postgresql.util.PSQLException: ERROR: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
  Hint: Use the same encoding as in the template database, or use template0 as template.
        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2161)
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1890)
        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:560)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:403)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:395)
        at org.opennms.core.schema.Migrator.createDatabase(Migrator.java:430)
        ... 9 more
 
Robert
 ​

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Fabian Montero | 14 Mar 03:17 2015

Problem with an Installation of OpenNMS

Hello  team of OpenNMS Install.

 

I have an Issue and in my Company we need your help. The problema its no related with the installation, but we have a problema after we reboot the Server. I tried starting the services but I only have an error.

 

In the document in this Mail I have the copy of the error.

 

We really need your help. Thanks.

 

 

Microsoft Windows [Versión 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. Reservados todos los derechos.

C:\Users\Administrator>cdC:\Program Files\OpenNMS\bin
El nombre de archivo, el nombre de directorio o la sintaxis de la etiqueta del v
olumen no son correctos.
C:\Users\Administrator>cd C:\Program Files\OpenNMS\bin

C:\Program Files\OpenNMS\bin>start.bat

C:\Program Files\OpenNMS\bin>"C:\Program Files\Java\jdk1.8.0_40\bin\java"    -Xm
x512m -XX:MaxPermSize=256m    -XX:+HeapDumpOnOutOfMemoryError    -DisThreadConte
xtMapInheritable=true    -Dopennms.home="C:/Program Files/OpenNMS"    -Djava.end
orsed.dirs="C:/Program Files/OpenNMS/lib/endorsed"    -Djava.io.tmpdir="C:/Progr
am Files/OpenNMS/data/tmp"    -Dcom.sun.management.jmxremote.port=18980    -Dcom
.sun.management.jmxremote.ssl=false    -Dcom.sun.management.jmxremote.authentica
te=false    -jar "C:/Program Files/OpenNMS/lib/opennms_bootstrap.jar" start
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; sup
port was removed in 8.0
[DEBUG] System property 'opennms.library.jicmp' set to 'C:/Program Files/OpenNMS
/lib\jicmp.dll.  Attempting to load jicmp library from this location.
[INFO] Successfully loaded jicmp library.
[DEBUG] System property 'opennms.library.jicmp6' set to 'C:/Program Files/OpenNM
S/lib\jicmp6.dll.  Attempting to load jicmp6 library from this location.
[INFO] Successfully loaded jicmp6 library.
An error occurred while attempting to start the "OpenNMS:Name=Trapd" service (cl
ass org.opennms.netmgt.trapd.jmx.Trapd).  Shutting down and exiting.
javax.management.RuntimeMBeanException: org.springframework.beans.factory.access
.BootstrapException: Unable to return specified BeanFactory instance: factory ke
y [trapDaemonContext], from group with resource name [classpath*:beanRefContext.
xml]; nested exception is org.springframework.beans.factory.BeanCreationExceptio
n: Error creating bean with name 'trapDaemonContext' defined in URL [jar:file:/C
:/Program%20Files/OpenNMS/lib/org.opennms.features.events.traps-15.0.1.jar!/bean
RefContext.xml]: Instantiation of bean failed; nested exception is org.springfra
mework.beans.BeanInstantiationException: Could not instantiate bean class [org.s
pringframework.context.support.ClassPathXmlApplicationContext]: Constructor thre
w exception; nested exception is org.springframework.beans.factory.BeanCreationE
xception: Error creating bean with name 'daemon' defined in class path resource
[META-INF/opennms/applicationContext-trapDaemon.xml]: Invocation of init method
failed; nested exception is java.lang.reflect.UndeclaredThrowableException
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(Default
MBeanServerInterceptor.java:839)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBe
anException(DefaultMBeanServerInterceptor.java:852)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
BeanServerInterceptor.java:821)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801
)
        at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278)
        at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207)
        at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:248)
        at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:107)
        at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:183)
        at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:162)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:366)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.access.BootstrapException: Unable t
o return specified BeanFactory instance: factory key [trapDaemonContext], from g
roup with resource name [classpath*:beanRefContext.xml]; nested exception is org
.springframework.beans.factory.BeanCreationException: Error creating bean with n
ame 'trapDaemonContext' defined in URL [jar:file:/C:/Program%20Files/OpenNMS/lib
/org.opennms.features.events.traps-15.0.1.jar!/beanRefContext.xml]: Instantiatio
n of bean failed; nested exception is org.springframework.beans.BeanInstantiatio
nException: Could not instantiate bean class [org.springframework.context.suppor
t.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception
 is org.springframework.beans.factory.BeanCreationException: Error creating bean
 with name 'daemon' defined in class path resource [META-INF/opennms/application
Context-trapDaemon.xml]: Invocation of init method failed; nested exception is j
ava.lang.reflect.UndeclaredThrowableException
        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.
useBeanFactory(SingletonBeanFactoryLocator.java:402)
        at org.opennms.core.spring.BeanUtils.getBeanFactory(BeanUtils.java:62)
        at org.opennms.core.spring.BeanUtils.getFactory(BeanUtils.java:104)
        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon$1.run
(AbstractSpringContextJmxServiceDaemon.java:103)
        at org.opennms.core.logging.Logging.withPrefix(Logging.java:66)
        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(
AbstractSpringContextJmxServiceDaemon.java:96)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMB
eanIntrospector.java:112)
        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMB
eanIntrospector.java:46)
        at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.j
ava:237)
        at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
BeanServerInterceptor.java:819)
        ... 13 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'trapDaemonContext' defined in URL [jar:file:/C:/Program%20Fil
es/OpenNMS/lib/org.opennms.features.events.traps-15.0.1.jar!/beanRefContext.xml]
: Instantiation of bean failed; nested exception is org.springframework.beans.Be
anInstantiationException: Could not instantiate bean class [org.springframework.
context.support.ClassPathXmlApplicationContext]: Constructor threw exception; ne
sted exception is org.springframework.beans.factory.BeanCreationException: Error
 creating bean with name 'daemon' defined in class path resource [META-INF/openn
ms/applicationContext-trapDaemon.xml]: Invocation of init method failed; nested
exception is java.lang.reflect.UndeclaredThrowableException
        at org.springframework.beans.factory.support.ConstructorResolver.autowir
eConstructor(ConstructorResolver.java:285)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1075)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:979)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:458)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:296)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:198)
        at org.springframework.context.support.AbstractApplicationContext.getBea
n(AbstractApplicationContext.java:1121)
        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.
useBeanFactory(SingletonBeanFactoryLocator.java:394)
        ... 33 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not insta
ntiate bean class [org.springframework.context.support.ClassPathXmlApplicationCo
ntext]: Constructor threw exception; nested exception is org.springframework.bea
ns.factory.BeanCreationException: Error creating bean with name 'daemon' defined
 in class path resource [META-INF/opennms/applicationContext-trapDaemon.xml]: In
vocation of init method failed; nested exception is java.lang.reflect.Undeclared
ThrowableException
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:1
63)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy
.instantiate(SimpleInstantiationStrategy.java:121)
        at org.springframework.beans.factory.support.ConstructorResolver.autowir
eConstructor(ConstructorResolver.java:277)
        ... 43 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'daemon' defined in class path resource [META-INF/opennms/appl
icationContext-trapDaemon.xml]: Invocation of init method failed; nested excepti
on is java.lang.reflect.UndeclaredThrowableException
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1512)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:458)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:296)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:194)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:633)
        at org.springframework.context.support.AbstractApplicationContext.finish
BeanFactoryInitialization(AbstractApplicationContext.java:932)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:479)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:139)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:105)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:1
48)
        ... 45 more
Caused by: java.lang.reflect.UndeclaredThrowableException
        at org.opennms.netmgt.trapd.Trapd.onInit(Trapd.java:189)
        at org.opennms.netmgt.daemon.AbstractServiceDaemon$1.run(AbstractService
Daemon.java:226)
        at org.opennms.core.logging.Logging.withPrefix(Logging.java:66)
        at org.opennms.netmgt.daemon.AbstractServiceDaemon.init(AbstractServiceD
aemon.java:220)
        at org.opennms.netmgt.daemon.AbstractServiceDaemon.afterPropertiesSet(Ab
stractServiceDaemon.java:52)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1571)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1509)
        ... 61 more
Caused by: java.net.BindException: Address already in use: Cannot bind
        at java.net.DualStackPlainDatagramSocketImpl.socketBind(Native Method)
        at java.net.DualStackPlainDatagramSocketImpl.bind0(DualStackPlainDatagra
mSocketImpl.java:80)
        at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSo
cketImpl.java:94)
        at java.net.DatagramSocket.bind(DatagramSocket.java:392)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:242)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:299)
        at org.snmp4j.transport.DefaultUdpTransportMapping.<init>(DefaultUdpTran
sportMapping.java:100)
        at org.opennms.netmgt.snmp.snmp4j.Snmp4JStrategy.registerForTraps(Snmp4J
Strategy.java:444)
        at org.opennms.netmgt.snmp.SnmpUtils.registerForTraps(SnmpUtils.java:185
)
        at org.opennms.netmgt.trapd.Trapd.onInit(Trapd.java:173)
        ... 67 more

C:\Program Files\OpenNMS\bin>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
sèho Sèco | 11 Mar 03:48 2015
Picon

./bin/opennms: OpenNMS not configured error

Hello, 

I'm installing OpenNMS from source on debian. I followed instructions on the page http://www.opennms.org/wiki/Installation:Source
Everything is ok until JVM. When I executed this command: ./bin/install -dis 
it does not work correctly for me (see figure Debian2Database2). Since, this concerns libjrrd loading, which is optionel, it is not a fatal error. The big problem cames when I execute ./bin/opennms start 
it gives me:./bin/opennms: OpenNMS not configured (see figure Debian2StartError).
I execute the command the error output indicate, but I got the same error. I don't know how to resolve this. If anybody can help me, It is will be greatly appreciated. 

Thank you in advance, 

Seho
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Axel Chevrier | 13 Mar 14:36 2015
Picon

Jicmp error while run ./configure script

Hi everyone,

 I got a problem with the jicmp install..

I explain my case, i had to install OpenNMS from source (git), build it, make an rpm and then install it on Centos 6.6 server (QEMU virtual machine).

Everything worked well until i had to install jicmp and jicmp6.

So, i downloaded sources (tar.gz) extract them and run the configure script.. And there is my error : "configure: error: cannot find struct timeval"

i tried to run a bash -x ./configure but for this case it's realy illegible and i didn't manage to find the right error location...

Then here i am, if someone could help me he will be realy helpful !

Thanks for reading !   
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Sven Antonissen | SMARTLYNC | 12 Mar 09:21 2015
Picon

Remote poller in release 15.01

Hi there,

 

I have an issue with the release 15.0.1 where the remote poller is not working.

Also if I would check on the demo website via the URL http://demo.opennms.org/opennms-remoting it gives a 503 error.

 

I checked by installing this releases via git and apt-get they are all giving me the same error.

 

When I would install a release 14.0.3 or 16 the remote poller site works.

 

Can you please assist me on this?

 

Sincere regards,

 

Sven

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

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

Gmane