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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...