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

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

Environment

Operating System: Solaris Platform: PC

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Benjamin Reed April 8, 2011 at 2:34 PM

fixed in 1.8 and master

Benjamin Reed March 1, 2011 at 7:49 AM

lib/scripts went away a long time ago; need to audit the scripts and fix them to use runjava instead.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created June 17, 2010 at 12:40 PM
Updated January 27, 2017 at 4:25 PM
Resolved April 8, 2011 at 2:34 PM