All Apps and Add-ons

Why is the common.sh script not included in the pack for the Oracle WebLogic App for Splunk?

gsingh33
Engager

Hi,

I got the errro below while starting the server after installing Oracle WebLogic App for Splunk. It shows no common.sh file. The file was not there with the pack. Can anybody help on this?

06-01-2016 12:21:24.881 +1000 ERROR ExecProcessor - message from "/opt/splunkforwarder/etc/apps/Function1_WLS_nix_performance_TA/bin/top.sh" /opt/splunkforwarder/etc/apps/Function1_WLS_nix_performance_TA/bin/top.sh[16]: .: /opt/splunkfor
warder/etc/apps/Function1_WLS_nix_performance_TA/bin/common.sh: cannot open [No such file or directory]
06-01-2016 12:21:22.612 +1000 ERROR ExecProcessor - message from "/opt/splunkforwarder/etc/apps/Function1_WLS_nix_performance_TA/bin/cpu.sh" /opt/splunkforwarder/etc/apps/Function1_WLS_nix_performance_TA/bin/cpu.sh[16]: .: /opt/splunkfor
warder/etc/apps/Function1_WLS_nix_performance_TA/bin/common.sh: cannot open [No such file or directory]
06-01-2016 12:21:23.273 +1000 INFO  TcpOutputProc - Connected to idx=52.91.86.115:9997 using ACK.
06-01-2016 12:21:23.423 +1000 ERROR ExecProcessor - message from "/opt/splunkforwarder/etc/apps/Function1_WLS_nix_performance_TA/bin/hardware.sh" /opt/splunkforwarder/etc/apps/Function1_WLS_nix_performance_TA/bin/hardware.sh[16]: .: /opt
/splunkforwarder/etc/apps/Function1_WLS_nix_performance_TA/bin/common.sh: cannot open [No such file or directory]
06-01-2016 12:21:24.124 +1000 ERROR ExecProcessor - message from "/opt/splunkforwarder/etc/apps/Function1_WLS_nix_performance_TA/bin/ps.sh" /opt/splunkforwarder/etc/apps/Function1_WLS_nix_performance_TA/bin/ps.sh[16]: .: /opt/splunkforwa
rder/etc/apps/Function1_WLS_nix_performance_TA/bin/common.sh: cannot open [No such file or directory]

mossdba
Engager

I found the solution (applied to rhel 7.3)
Just copy common.sh from /usr/share/os-prober/ to /opt/splunkforwarder/etc/apps/Function1_WLS_nix_performance_TA/bin/:

cp /usr/share/os-prober/common.sh /opt/splunkforwarder/etc/apps/Function1_WLS_nix_performance_TA/bin/common.sh
0 Karma

mossdba
Engager

I have the same error! Could someone to resolve this issue?

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...