Re: install opennms in fedora10
"DJ Gregor" <[email protected]>
| Newsgroups | gmane.network.opennms.install |
|---|---|
| Message-ID | <[email protected]> |
> Pls give some advice.thanks
Reading the error message thoroughly is usually a good start. ;-)
Particularly this part:
> The database server's
> error
> messages are not in English, however the installer requires them to be in
> English when using PostgreSQL earlier than 7.4. You either need to set
> "lc_messages = 'C'" in your postgresql.conf file and restart PostgreSQL
> or
> upgrade to PostgreSQL 7.4 or later. The installer executed the query
> "SELECT bogus_column_1268273987612 FROM bogus_table_1268273987612 WHERE
> another_bogus_column_1268273987612 IS NULL" and expected "does not exist"
> in
> the error message, but this exception was received instead:
> org.postgresql.util.PSQLException: 错误: 关系 "bogus_table_1268273987612" 不
> 存在
It gave you the solution in the error message. Actually, it gave you
TWO solutions--you get to chose which one you want to implement. :-)
- djg
On Thu, 11 Mar 2010 10:22 +0800, "studyfordo" <[email protected]>
wrote:
> When I instll opennms in fedora10 , refer to
> http://www.opennms.org/wiki/Installation:Yum
>
>
>
> I excute the following command $OPENNMS_HOME/bin/install -dis ,
> occurring
> the following error.
>
> root@tomatoegg sbin]# $OPENNMS_HOME/bin/install -dis
>
> ============================================================================
> ==
>
> OpenNMS Installer Version $Id$
>
> ============================================================================
> ==
>
>
>
> Configures PostgreSQL tables, users, and other miscellaneous settings.
>
>
>
> - searching for jicmp:
>
> - trying to load /usr/lib/libjicmp.so: OK
>
> - searching for jrrd:
>
> - trying to load /usr/lib/libjrrd.so: OK
>
> - using SQL directory... /opt/opennms/etc
>
> - using create.sql... /opt/opennms/etc/create.sql
>
> Exception in thread "main" java.lang.Exception: The database server's
> error
> messages are not in English, however the installer requires them to be in
> English when using PostgreSQL earlier than 7.4. You either need to set
> "lc_messages = 'C'" in your postgresql.conf file and restart PostgreSQL
> or
> upgrade to PostgreSQL 7.4 or later. The installer executed the query
> "SELECT bogus_column_1268273987612 FROM bogus_table_1268273987612 WHERE
> another_bogus_column_1268273987612 IS NULL" and expected "does not exist"
> in
> the error message, but this exception was received instead:
> org.postgresql.util.PSQLException: 错误: 关系 "bogus_table_1268273987612" 不
> 存在
>
> at
> org.opennms.netmgt.dao.db.InstallerDb.databaseCheckLanguage(InstallerDb.java
> :1610)
>
> at org.opennms.install.Installer.install(Installer.java:225)
>
> at org.opennms.install.Installer.main(Installer.java:857)
>
> Caused by: org.postgresql.util.PSQLException: 错误: 关系
> "bogus_table_1268273987612" 不存在
>
> at
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorI
> mpl.java:1525)
>
> at
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.ja
> va:1309)
>
> at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
>
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.j
> ava:452)
>
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2St
> atement.java:340)
>
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statem
> ent.java:239)
>
> at
> org.opennms.netmgt.dao.db.InstallerDb.databaseCheckLanguage(InstallerDb.java
> :1600)
>
> ... 2 more
>
>
>
> Pls give some advice.thanks
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> 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
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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