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!

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 ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...