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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...