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

archive_events.sh still uses the old lib/scripts/* style initialization

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.8.12, 1.9.8
    • Component/s: Build / Packaging
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Operating System: Solaris
      Platform: PC
    • Bugzilla Id:
      3891

      Description

      It would seem that the /opt/opennms/lib/scripts/ directory is not bundled in the Solaris 1.8 package.

      -bash-3.00$ /opt/opennms/archive_events.sh
      ./archive_events.sh: line 27: /opt/opennms/lib/scripts/pid_process.sh: No such file or directory
      ./archive_events.sh: line 27: /opt/opennms/lib/scripts/arg_process.sh: No such file or directory
      ./archive_events.sh: line 27: /opt/opennms/lib/scripts/build_classpath.sh: No such file or directory
      ./archive_events.sh: line 27: /opt/opennms/lib/scripts/check_tools.sh: No such file or directory
      ./archive_events.sh: line 27: /opt/opennms/lib/scripts/find_jarfile.sh: No such file or directory
      ./archive_events.sh: line 27: /opt/opennms/lib/scripts/handle_properties.sh: No such file or directory
      ./archive_events.sh: line 27: /opt/opennms/lib/scripts/java_lint.sh: No such file or directory
      ./archive_events.sh: line 27: /opt/opennms/lib/scripts/ld_path.sh: No such file or directory
      ./archive_events.sh: line 27: /opt/opennms/lib/scripts/version_compare.sh: No such file or directory
      ./archive_events.sh: line 31: /opt/opennms/lib/scripts/platform_*.sh: No such file or directory
      ./archive_events.sh: line 34: add_ld_path: command not found
      ./archive_events.sh: line 39: build_classpath: command not found
      Exception in thread "main" java.lang.NoClassDefFoundError: org/opennms/netmgt/archive/EventsArchiver

      pkgchk only shows scripts in the contrib directory
      /opt/opennms/bin# pkgchk -l opennms | grep scripts
      Pathname: /opt/opennms/contrib/failover/scripts
      Pathname: /opt/opennms/contrib/failover/scripts/failover.sh
      Pathname: /opt/opennms/contrib/failover/scripts/sync-state.sh
      Pathname: /opt/opennms/contrib/failover/scripts/sync.sh
      Pathname: /opt/opennms/contrib/qosdaemon/testscripts
      Pathname: /opt/opennms/contrib/qosdaemon/testscripts/opennms_IF.sh
      Pathname: /opt/opennms/contrib/qosdaemon/testscripts/opennms_IFOpenOSS1.sh
      Pathname: /opt/opennms/contrib/qosdaemon/testscripts/opennms_IFOpenOSS2.sh
      Pathname: /opt/opennms/contrib/qosdaemon/testscripts/opennms_IFOpenOSS3.sh
      Pathname: /opt/opennms/contrib/qosdaemon/testscripts/qosclient.properties
      Pathname: /opt/opennms/contrib/qosdaemon/testscripts/qosclientOpenOSS1.properties
      Pathname: /opt/opennms/contrib/qosdaemon/testscripts/qosclientOpenOSS2.properties
      Pathname: /opt/opennms/contrib/qosdaemon/testscripts/qosclientOpenOSS3.properties

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              etcetc@tesco.net etcetc
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: