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

List:       opennms-install
Subject:    [opennms-install] centos6 :: ERROR: encoding UTF8 does not match locale en_US.iso885915
From:       Adrian Sevcenco <Adrian.Sevcenco () spacescience ! ro>
Date:       2013-07-28 17:39:07
Message-ID: 51F5573B.3070704 () spacescience ! ro
[Download RAW message or body]

Hi! I try to install opennms but i encountered this error:
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:428)
        at
org.opennms.core.schema.Migrator.prepareDatabase(Migrator.java:444)
        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.iso885915
  Detail: The chosen LC_CTYPE setting requires encoding LATIN9.
        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:425)
        ... 3 more

i have the following locale :
[root@monitor /]# locale
LANG=en_US.utf-8
LC_CTYPE="en_US.utf-8"
LC_NUMERIC="en_US.utf-8"
LC_TIME="en_US.utf-8"
LC_COLLATE="en_US.utf-8"
LC_MONETARY="en_US.utf-8"
LC_MESSAGES="en_US.utf-8"
LC_PAPER="en_US.utf-8"
LC_NAME="en_US.utf-8"
LC_ADDRESS="en_US.utf-8"
LC_TELEPHONE="en_US.utf-8"
LC_MEASUREMENT="en_US.utf-8"
LC_IDENTIFICATION="en_US.utf-8"
LC_ALL=en_US.utf-8

Any idea about the problem and solution?
Thanks!
Adrian

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&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