root@opennms-dev:/etc/opennms# /usr/share/opennms/bin/config-tester -a -v Exception in thread "main" java.lang.RuntimeException: Unable to load default properties from $OPENNMS_HOME! at org.opennms.bootstrap.Bootstrap.loadDefaultProperties(Bootstrap.java:382) at org.opennms.bootstrap.Bootstrap.main(Bootstrap.java:306)
This can be fixed by editing the script, and inserting: -Dopennms.home=$opennms_home
Environment
Debian Squeeze
Acceptance / Success Criteria
None
Lucidchart Diagrams
Activity
Show:
Jeff Gehlbach August 20, 2014 at 10:17 AM
Pushed suggested fix to 1.12.
Cyrille Bollu December 3, 2013 at 8:47 AM
>This can be fixed by editing the script, and inserting: >-Dopennms.home=$opennms_home
It just worked for me
... and save me from a 5 minutes downtime
Cyrille Bollu December 3, 2013 at 8:46 AM
This looks like a very easy bug to solve!?
David Bell January 14, 2013 at 10:50 AM
Hi,
I've noticed when we upgraded our instance that the fix to make this work was reverted. Is there any plans to correct this in the future packages?
When running the config tester:
root@opennms-dev:/etc/opennms# echo $OPENNMS_HOME
/usr/share/opennms/
root@opennms-dev:/etc/opennms# /usr/share/opennms/bin/config-tester -a -v
Exception in thread "main" java.lang.RuntimeException: Unable to load default properties from $OPENNMS_HOME!
at org.opennms.bootstrap.Bootstrap.loadDefaultProperties(Bootstrap.java:382)
at org.opennms.bootstrap.Bootstrap.main(Bootstrap.java:306)
This can be fixed by editing the script, and inserting:
-Dopennms.home=$opennms_home