All Apps and Add-ons

How to adjust bash scripts within Oracle Weblogic App to work on AIX WLS environment with KornShell?

gbangsbollH1
New Member

We're setting up the Oracle Weblogic App for Splunk (built by Function1, version 3.0) on an AIX Weblogic environment. Currently just a single admin server and single managed server. Have followed the instructions to adjust the domain paths appropriately. With no results coming into Splunk upon deployment, we have checked within the admin server and found:
a) No wls_jmx_*.log files had been generated
b) Upon, attempting to manually execute the scripts (to see if log files could be generated, or to use errors for troubleshooting) we realized that the errors stopping the scripts from running were because these were bash scripts and the AIX server leverages a Korn Shell.

Has anyone been able to adjust the bash scripts appropriately so that they may be able to run successfully on a Korn Shell server?

Thanks!

0 Karma

Function1_Inc
Engager

There are a couple of options for this:
1) You could try switching from bash to sh:
- Essentially edit the first line in scripts to invoke Bourne shell by changing :

!/bin/bash

to:

!/bin/sh

2) Else, see if bash can be installed from the AIX Toolbox.
https://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html#B

If neither of those options work for you, please contact us directly at support@function1.com.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...