OpenNMS 1.10.8 installation problem on Debian 3.2.39-2 x86_64
Salih Selcuk OZEN <[email protected]>
| Newsgroups | gmane.network.opennms.install |
|---|---|
| Message-ID | <CABcAgGWzfW=Bt6pGo2LYrN9ZCDa5oodDa6f-YwvvonBoik75Ew@mail.gmail.com> |
Hello,
I've been stuck installing OpenNMS 1.10.8 on Debian 3.2.39-2 x86_64, using
PostgreSQL v9.1. Any help will be appreciated.
All installation requirements have been confined,
all installation attempts have been tried both with sun java version
"1.6.0_43" and java version "1.7.0_17". liquibase 2.0.1(included with
opennms), 2.0.5 and 3.0.0(beta) versions have been tried independently but
problem persists.
PostgreSQL access grants are confirmed, both on localhost cli and debugging
installation procedure, liquibase is watched to update lock table and then
deleteing the record it updated.(This is done to confirm, if actually
access has been successfully achieved by the installation process).
opennms database has been created by the installer successfully, and
postgres user can logon w/o password. Dropping opennms results successfully
creation of same db by the installer. Deleting all rows in table
databasechangeloglock changes error to no rows returned.
This is an attempt for a full fresh install, for all postgresql, opennms
and java. I have searched mailing lists but couldnt get any to work for
this situation.
Following log output is where I'm got stuck:
* using 'postgres' as the PostgreSQL user for OpenNMS
* using 'opennms' as the PostgreSQL database name for OpenNMS
- checking if database "opennms" is unicode... ALREADY UNICODE
- Checking for old import files in /usr/share/opennms/etc... DONE
- Running migration for changelog: URL
[jar:file:/usr/share/java/opennms/org.opennms.core.schema-1.10.8-liquibase.jar!/changelog.xml]
DEBUG 04.04.2013 01:19:liquibase: Unable to load/access Apache Derby driver
class org.apache.derby.tools.sysinfo to check version:
org.apache.derby.tools.sysinfo
DEBUG 04.04.2013 01:19:liquibase: Connected to opennms@jdbc
:postgresql://localhost:5432/opennms
DEBUG 04.04.2013 01:19:liquibase: Executing QUERY database command: SELECT
LOCKED FROM databasechangeloglock WHERE ID=1
DEBUG 04.04.2013 01:19:liquibase: Lock Database
DEBUG 04.04.2013 01:19:liquibase: Executing UPDATE database command: UPDATE
databasechangeloglock SET LOCKED = TRUE, LOCKEDBY =
'fe80:0:0:0:217:31ff:fe2d:e35b%2 (fe80:0:0:0:217:31ff:fe2d:e35b%2)',
LOCKGRANTED = '2013-04-04 01:19:47.677' WHERE ID = 1 AND LOCKED = FALSE
INFO 04.04.2013 01:19:liquibase: Successfully acquired change log lock
DEBUG 04.04.2013 01:19:liquibase: Executing QUERY database command: SELECT
MD5SUM FROM databasechangelog WHERE MD5SUM IS NOT NULL
INFO 04.04.2013 01:19:liquibase: Reading from databasechangelog
DEBUG 04.04.2013 01:19:liquibase: Executing QUERY database command: SELECT
FILENAME,AUTHOR,ID,MD5SUM,DATEEXECUTED,ORDEREXECUTED,TAG,EXECTYPE FROM
databasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
DEBUG 04.04.2013 01:19:liquibase: Release Database Lock
DEBUG 04.04.2013 01:19:liquibase: Executing UPDATE database command: UPDATE
databasechangeloglock SET LOCKED = FALSE, LOCKEDBY = NULL, LOCKGRANTED =
NULL WHERE ID = 1
INFO 04.04.2013 01:19:liquibase: Successfully released change log lock
Exception in thread "main" org.opennms.core.schema.MigrationException:
unable to migrate the database
at org.opennms.core.schema.Migrator.migrate(Migrator.java:473)
at org.opennms.install.Installer.install(Installer.java:255)
at org.opennms.install.Installer.main(Installer.java:949)
Caused by: java.lang.NullPointerException
at
liquibase.database.AbstractDatabase.getRanChangeSetList(AbstractDatabase.java:855)
at
liquibase.database.AbstractDatabase.checkDatabaseChangeLogTable(AbstractDatabase.java:441)
at
liquibase.Liquibase.checkDatabaseChangeLogTable(Liquibase.java:535)
at liquibase.Liquibase.update(Liquibase.java:108)
at org.opennms.core.schema.Migrator.migrate(Migrator.java:471)
Any suggestions will be very helpful, and thank you in advance.
Best regards,
Selcuk
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
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