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!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...