[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-install
Subject:    [opennms-install] install error, exception thrown
From:       David P Olshefski <olshef () us ! ibm ! com>
Date:       2013-09-06 18:09:20
Message-ID: OF2BA00261.4E558550-ON85257BDE.00632D35-85257BDE.0063BB8C () us ! ibm ! com
[Download RAW message or body]

This is a multipart message in MIME format.

This is a multipart message in MIME format.
--=_alternative 0063BB4785257BDE_=
Content-Type: text/plain; charset="US-ASCII"

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# 

--=_alternative 0063BB4785257BDE_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;I have followed the install
instructions (doing this all today, in one shot) but when I get to this
point, it fails.</font>
<br>
<br><font size=2 face="sans-serif">Any suggestions?</font>
<br>
<br>
<br><font size=2 face="sans-serif">Dave</font>
<br>
<br>
<br><font size=1 face="Courier New">root@x240r2n13:/openstack/GV200-test#
sudo /usr/share/opennms/bin/install -dis</font>
<br><font size=1 face="Courier \
New">==============================================================================</font>
 <br><font size=1 face="Courier New">OpenNMS Installer</font>
<br><font size=1 face="Courier \
New">==============================================================================</font>
 <br>
<br><font size=1 face="Courier New">Configures PostgreSQL tables, users,
and other miscellaneous settings.</font>
<br>
<br><font size=1 face="Courier New">- searching for libjicmp.so:</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load /usr/lib/jni/libjicmp.so:
OK</font>
<br><font size=1 face="Courier New">- searching for libjicmp6.so:</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load \
/usr/lib/jni/libjicmp6.so: OK</font>
<br><font size=1 face="Courier New">- searching for libjrrd.so:</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load /usr/lib/jni/libjrrd.so:
NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load /usr/lib/jni/libjrrd.so:
NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load \
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server/libjrrd.so: NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load \
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/libjrrd.so: NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load \
/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64/libjrrd.so: NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load /libjrrd.so:
NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load \
/usr/share/opennms/lib/libjrrd.so: NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load \
/usr/share/opennms/lib/linux64/libjrrd.so: NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load \
/usr/java/packages/lib/amd64/libjrrd.so: NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load \
/usr/lib/x86_64-linux-gnu/jni/libjrrd.so: NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load \
/lib/x86_64-linux-gnu/libjrrd.so: NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load \
/usr/lib/x86_64-linux-gnu/libjrrd.so: NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load /usr/lib/jni/libjrrd.so:
NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load /lib/libjrrd.so:
NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load /usr/lib/libjrrd.so:
NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load /usr/lib/jni/libjrrd.so:
NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load /usr/lib/libjrrd.so:
NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load \
/usr/local/lib/libjrrd.so: NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load \
/opt/NMSjicmp/lib/32/libjrrd.so: NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load \
/opt/NMSjicmp/lib/64/libjrrd.so: NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load \
/opt/NMSjicmp6/lib/32/libjrrd.so: NO</font>
<br><font size=1 face="Courier New">&nbsp; - trying to load \
/opt/NMSjicmp6/lib/64/libjrrd.so: NO</font>
<br><font size=1 face="Courier New">- Failed to load the optional jrrd
library.</font>
<br><font size=1 face="Courier New">&nbsp; - This error is not fatal, since
jrrd is only required for optional features.</font>
<br><font size=1 face="Courier New">&nbsp; - For more information, see
</font><a href=http://www.opennms.org/index.php/jrrd><font size=1 face="Courier \
New">http://www.opennms.org/index.php/jrrd</font></a> <br><font size=1 face="Courier \
New">- using SQL directory... /usr/share/opennms/etc</font> <br><font size=1 \
face="Courier New">- using create.sql... /usr/share/opennms/etc/create.sql</font> \
<br><font size=1 face="Courier New">* using 'postgres' as the PostgreSQL user for \
OpenNMS</font> <br><font size=1 face="Courier New">* using 'opennms' as the \
PostgreSQL database name for OpenNMS</font>
<br><font size=1 face="Courier New">Exception in thread &quot;main&quot;
org.opennms.core.schema.MigrationException: an error occurred creating
the OpenNMS database</font>
<br><font size=1 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; at
org.opennms.core.schema.Migrator.createDatabase(Migrator.java:429)</font>
<br><font size=1 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; at
org.opennms.core.schema.Migrator.prepareDatabase(Migrator.java:445)</font>
<br><font size=1 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; at
org.opennms.install.Installer.install(Installer.java:236)</font>
<br><font size=1 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; at
org.opennms.install.Installer.main(Installer.java:949)</font>
<br><font size=1 face="Courier New">Caused by: org.postgresql.util.PSQLException:
ERROR: encoding UTF8 does not match locale en_US</font>
<br><font size=1 face="Courier New">&nbsp; Detail: The chosen LC_CTYPE
setting requires encoding LATIN1.</font>
<br><font size=1 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)</font>
 <br><font size=1 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)</font>
 <br><font size=1 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)</font>
<br><font size=1 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)</font>
 <br><font size=1 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374)</font>
 <br><font size=1 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:366)</font>
 <br><font size=1 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; at
org.opennms.core.schema.Migrator.createDatabase(Migrator.java:426)</font>
<br><font size=1 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; ...
3 more</font>
<br><font size=1 face="Courier New">root@x240r2n13:/openstack/GV200-test#
</font>
<br>
--=_alternative 0063BB4785257BDE_=--



------------------------------------------------------------------------------
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic