Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-5603

config-tester does not run on a standard Debian install

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.6
    • Fix Version/s: 14.0.0
    • Component/s: Command-Line Tools
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Debian Squeeze

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              jeffg Jeff Gehlbach
              Reporter:
              davebell David Bell
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: