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

Start with the start script throws bad substitution error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 24.0.0
    • Fix Version/s: 24.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Distribution: CentOS 7
      Version: 24.0.0 SNAPSHOT 0.20190215.onms.develop.1636
      Java: OpenJDK Runtime Environment (build 1.8.0_191-b12)

      Description

      When you start opennms with the startup script in ${OPENNMS_HOME}/bin/opennms you get bad substitution errors as shown below:

      [root@localhost bin]# ./opennms start
      /opt/opennms/bin/_lib.sh: line 20: ${$__onms_convert_to_array_name}: bad substitution
      /opt/opennms/bin/_lib.sh: line 20: ${$__onms_convert_to_array_name}: bad substitution
      /opt/opennms/bin/_lib.sh: line 20: ${$__onms_convert_to_array_name}: bad substitution
      /opt/opennms/bin/_lib.sh: line 20: ${$__onms_convert_to_array_name}: bad substitution
      /opt/opennms/bin/_lib.sh: line 20: ${$__onms_convert_to_array_name}: bad substitution
      Starting OpenNMS: running ulimit -a
      core file size          (blocks, -c) 0
      data seg size           (kbytes, -d) unlimited
      scheduling priority             (-e) 0
      file size               (blocks, -f) unlimited
      pending signals                 (-i) 3657
      max locked memory       (kbytes, -l) 64
      max memory size         (kbytes, -m) unlimited
      open files                      (-n) 20480
      pipe size            (512 bytes, -p) 8
      POSIX message queues     (bytes, -q) 819200
      real-time priority              (-r) 0
      stack size              (kbytes, -s) 8192
      cpu time               (seconds, -t) unlimited
      max user processes              (-u) 3657
      virtual memory          (kbytes, -v) unlimited
      file locks                      (-x) unlimited
      [DEBUG] System property 'opennms.library.jicmp' set to '/usr/lib64/libjicmp.so.  Attempting to load jicmp library from this location.
      [INFO] Successfully loaded jicmp library.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ranger Benjamin Reed
                Reporter:
                indigo Ronny Trommer
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: