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]
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
I have the same error! Could someone to resolve this issue?