install error, exception thrown

David P Olshefski <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <OF2BA00261.4E558550-ON85257BDE.00632D35-85257BDE.0063BB8C@us.ibm.com>
Hi,

   I have followed the install instructions (doing this all today, in one 
shot) but when I get to this point, it fails.

Any suggestions?


Dave


root@x240r2n13:/openstack/GV200-test# sudo /usr/share/opennms/bin/install 
-dis
==============================================================================
OpenNMS Installer
==============================================================================

Configures PostgreSQL tables, users, and other miscellaneous settings.

- searching for libjicmp.so:
  - trying to load /usr/lib/jni/libjicmp.so: OK
- searching for libjicmp6.so:
  - trying to load /usr/lib/jni/libjicmp6.so: OK
- searching for libjrrd.so:
  - trying to load /usr/lib/jni/libjrrd.so: NO
  - trying to load /usr/lib/jni/libjrrd.so: NO
  - trying to load 
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server/libjrrd.so: NO
  - trying to load 
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/libjrrd.so: NO
  - trying to load 
/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64/libjrrd.so: NO
  - trying to load /libjrrd.so: NO
  - trying to load /usr/share/opennms/lib/libjrrd.so: NO
  - trying to load /usr/share/opennms/lib/linux64/libjrrd.so: NO
  - trying to load /usr/java/packages/lib/amd64/libjrrd.so: NO
  - trying to load /usr/lib/x86_64-linux-gnu/jni/libjrrd.so: NO
  - trying to load /lib/x86_64-linux-gnu/libjrrd.so: NO
  - trying to load /usr/lib/x86_64-linux-gnu/libjrrd.so: NO
  - trying to load /usr/lib/jni/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
- using SQL directory... /usr/share/opennms/etc
- using create.sql... /usr/share/opennms/etc/create.sql
* using 'postgres' as the PostgreSQL user for OpenNMS
* using 'opennms' as the PostgreSQL database name for OpenNMS
Exception in thread "main" org.opennms.core.schema.MigrationException: an 
error occurred creating the OpenNMS database
        at 
org.opennms.core.schema.Migrator.createDatabase(Migrator.java:429)
        at 
org.opennms.core.schema.Migrator.prepareDatabase(Migrator.java:445)
        at org.opennms.install.Installer.install(Installer.java:236)
        at org.opennms.install.Installer.main(Installer.java:949)
Caused by: org.postgresql.util.PSQLException: ERROR: encoding UTF8 does 
not match locale en_US
  Detail: The chosen LC_CTYPE setting requires encoding LATIN1.
        at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
        at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
        at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374)
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:366)
        at 
org.opennms.core.schema.Migrator.createDatabase(Migrator.java:426)
        ... 3 more
root@x240r2n13:/openstack/GV200-test#

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.