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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...