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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk Life | Splunk is Officially Part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint. Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...