Splunk Enterprise

search head cluster after splunk db connect ver 3.1.1 Error related

spl109
Explorer

hi
I installed it by the method presented from the link below.
http://docs.splunk.com/Documentation/DBX/3.1.1/DeployDBX/Distributeddeployment

The following error occurs.
" Unable to initialize modular input "server" defined inside the app "splunk_app_db_connect": Introspecting scheme=server: Unable to run "/opt/splunk/etc/apps/splunk_app_db_connect/linux_x86_64/bin/server.sh --scheme": child failed to start: Permission denied "

I set only identities and connections, mysql JDBC drivers

What should I do?

Tags (1)
0 Karma
1 Solution

adonio
Ultra Champion

hello there,

please read the doc in detail:
http://docs.splunk.com/Documentation/DBX/3.1.3/DeployDBX/Architectureandperformanceconsiderations

To use Splunk DB Connect in a distributed search environment, including search head clusters, you must determine the planned use cases. For ad hoc, interactive usage of database connections by live users, install the app on search head(s). For scheduled indexing from databases and output of data to databases, install the app on heavy forwarder(s). 

avoid installing DB Connect as an input (data collection) mechanism in a Search Head Cluster. keep it on a single Splunk instance only, preferably a Heavy Forwarder.

hope it helps

View solution in original post

0 Karma

jaxjohnny2000
Builder

mine is on a heavy forwarder. this just started happening

Unable to initialize modular input "server" defined inside the app "splunk_app_db_connect": Introspecting scheme=server: Unable to run "/opt/splunk/etc/apps/splunk_app_db_connect/linux_x86_64/bin/server.sh --scheme": child failed to start: Permission denied

0 Karma

adonio
Ultra Champion

hello there,

please read the doc in detail:
http://docs.splunk.com/Documentation/DBX/3.1.3/DeployDBX/Architectureandperformanceconsiderations

To use Splunk DB Connect in a distributed search environment, including search head clusters, you must determine the planned use cases. For ad hoc, interactive usage of database connections by live users, install the app on search head(s). For scheduled indexing from databases and output of data to databases, install the app on heavy forwarder(s). 

avoid installing DB Connect as an input (data collection) mechanism in a Search Head Cluster. keep it on a single Splunk instance only, preferably a Heavy Forwarder.

hope it helps

0 Karma

spl109
Explorer

Thank you.
SHC tries to install to use the |dbxout command.

Is there no way to resolve the error? The splunk version is 6.6.3

0 Karma

jaxjohnny2000
Builder

My answer was to change the permissions on the server.sh file to make it and executable.

chmod 777 server.sh

0 Karma
Get Updates on the Splunk Community!

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...