The opennms startup script doesn't work in Solaris on a fresh installation

Description

This is related with the support Ticket # 747.

After a fresh installation of OpenNMS 1.8.14 over Solaris, the customer reported the following error when starting opennms:

opennms -v start
Starting OpenNMS: /opt/opennms/bin/opennms: local: not found
/opt/opennms/bin/opennms: test: argument expected

Ben suggested to change the following line on /opt/opennms/bin/opennms:

#!/bin/sh

with

#!/bin/bash

That has solved the problem !!

Environment

Solaris SPARC 64

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Matt Brozowski January 17, 2012 at 4:22 PM

Changed opennms script to use /bin/bash

Fixed

Details

Assignee

Reporter

Labels

Fix versions

Affects versions

Priority

PagerDuty

Created October 6, 2011 at 3:34 PM
Updated January 27, 2017 at 4:21 PM
Resolved January 17, 2012 at 4:22 PM

Flag notifications