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!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...