<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Running Splunkd as a gMSA in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Running-Splunkd-as-a-gMSA/m-p/413720#M3530</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Has anyone had success with running the Splunkd service on a HeavyForwarder using a gMSA (Group Managed Service account)?&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I am using the gMSA account on the HeavyForwarder already for other services and this is working, but when i try run the Splunkd service as a gMSA i get various issues.&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;The gMSA is also in the local Administrator group.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;The service starts but there are permission issues... Mongo fails to start, KVStore issues etc...&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;splunkd.log&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;06-29-2018 10:06:18.557 +0100 ERROR Logger - Failed opening "C:\Program Files\Splunk\var\log\introspection\disk_objects.log": Access is denied.&lt;BR /&gt;
06-29-2018 10:06:18.557 +0100 ERROR Logger - Failed opening "C:\Program Files\Splunk\var\log\introspection\http_event_collector_metrics.log": Access is denied.&lt;BR /&gt;
06-29-2018 10:06:18.557 +0100 ERROR Logger - Failed opening "C:\Program Files\Splunk\var\log\introspection\kvstore.log": Access is denied.&lt;BR /&gt;
06-29-2018 10:06:18.557 +0100 ERROR Logger - Failed opening "C:\Program Files\Splunk\var\log\introspection\resource_usage.log": Access is denied.&lt;/P&gt;

&lt;P&gt;06-29-2018 10:08:22.999 +0100 ERROR KVStoreConfigurationProvider - Could not get ping from mongod. &lt;BR /&gt;
06-29-2018 10:08:22.999 +0100 ERROR KVStoreConfigurationProvider - Could not start mongo instance. Initialization failed.&lt;BR /&gt;
06-29-2018 10:08:22.999 +0100 ERROR KVStoreBulletinBoardManager - Failed to start KV Store process. See mongod.log and splunkd.log for details.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;mongod.log&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;2018-06-29T09:08:12.347Z I CONTROL  [initandlisten] options: { net: { port: 8191, ssl: { PEMKeyFile: "C:\Program Files\Splunk\etc\auth\server.pem", PEMKeyPassword: "", allowInvalidHostnames: true, disabledProtocols: "noTLS1_0,noTLS1_1", mode: "requireSSL", sslCipherConfig: "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RS..." } }, replication: { oplogSizeMB: 200, replSet: "E98BF268-F1CB-4CF1-945B" }, security: { javascriptEnabled: false, keyFile: "C:\Program Files\Splunk\var\lib\splunk\kvstore\mongo\splunk.key" }, setParameter: { enableLocalhostAuthBypass: "0" }, storage: { dbPath: "C:\Program Files\Splunk\var\lib\splunk\kvstore\mongo", mmapv1: { smallFiles: true } }, systemLog: { timeStampFormat: "iso8601-utc" } }&lt;/P&gt;

&lt;P&gt;2018-06-29T09:08:12.348Z I STORAGE  [initandlisten] exception in initAndListen: 98 Unable to create/open lock file: C:\Program Files\Splunk\var\lib\splunk\kvstore\mongo\mongod.lock errno:5 Access is denied.. Is a mongod instance already running?, terminating&lt;/P&gt;

&lt;P&gt;What permissions are necessary for a gMSA?&lt;/P&gt;

&lt;P&gt;This &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.0/Installation/ChoosetheuserSplunkshouldrunas" target="_blank"&gt;page&lt;/A&gt; talks about service accounts but not specifically about gMSA's&lt;/P&gt;

&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 20:13:45 GMT</pubDate>
    <dc:creator>davidjohnbecket</dc:creator>
    <dc:date>2020-09-29T20:13:45Z</dc:date>
    <item>
      <title>Running Splunkd as a gMSA</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Running-Splunkd-as-a-gMSA/m-p/413720#M3530</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Has anyone had success with running the Splunkd service on a HeavyForwarder using a gMSA (Group Managed Service account)?&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I am using the gMSA account on the HeavyForwarder already for other services and this is working, but when i try run the Splunkd service as a gMSA i get various issues.&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;The gMSA is also in the local Administrator group.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;The service starts but there are permission issues... Mongo fails to start, KVStore issues etc...&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;splunkd.log&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;06-29-2018 10:06:18.557 +0100 ERROR Logger - Failed opening "C:\Program Files\Splunk\var\log\introspection\disk_objects.log": Access is denied.&lt;BR /&gt;
06-29-2018 10:06:18.557 +0100 ERROR Logger - Failed opening "C:\Program Files\Splunk\var\log\introspection\http_event_collector_metrics.log": Access is denied.&lt;BR /&gt;
06-29-2018 10:06:18.557 +0100 ERROR Logger - Failed opening "C:\Program Files\Splunk\var\log\introspection\kvstore.log": Access is denied.&lt;BR /&gt;
06-29-2018 10:06:18.557 +0100 ERROR Logger - Failed opening "C:\Program Files\Splunk\var\log\introspection\resource_usage.log": Access is denied.&lt;/P&gt;

&lt;P&gt;06-29-2018 10:08:22.999 +0100 ERROR KVStoreConfigurationProvider - Could not get ping from mongod. &lt;BR /&gt;
06-29-2018 10:08:22.999 +0100 ERROR KVStoreConfigurationProvider - Could not start mongo instance. Initialization failed.&lt;BR /&gt;
06-29-2018 10:08:22.999 +0100 ERROR KVStoreBulletinBoardManager - Failed to start KV Store process. See mongod.log and splunkd.log for details.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;mongod.log&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;2018-06-29T09:08:12.347Z I CONTROL  [initandlisten] options: { net: { port: 8191, ssl: { PEMKeyFile: "C:\Program Files\Splunk\etc\auth\server.pem", PEMKeyPassword: "", allowInvalidHostnames: true, disabledProtocols: "noTLS1_0,noTLS1_1", mode: "requireSSL", sslCipherConfig: "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RS..." } }, replication: { oplogSizeMB: 200, replSet: "E98BF268-F1CB-4CF1-945B" }, security: { javascriptEnabled: false, keyFile: "C:\Program Files\Splunk\var\lib\splunk\kvstore\mongo\splunk.key" }, setParameter: { enableLocalhostAuthBypass: "0" }, storage: { dbPath: "C:\Program Files\Splunk\var\lib\splunk\kvstore\mongo", mmapv1: { smallFiles: true } }, systemLog: { timeStampFormat: "iso8601-utc" } }&lt;/P&gt;

&lt;P&gt;2018-06-29T09:08:12.348Z I STORAGE  [initandlisten] exception in initAndListen: 98 Unable to create/open lock file: C:\Program Files\Splunk\var\lib\splunk\kvstore\mongo\mongod.lock errno:5 Access is denied.. Is a mongod instance already running?, terminating&lt;/P&gt;

&lt;P&gt;What permissions are necessary for a gMSA?&lt;/P&gt;

&lt;P&gt;This &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.0/Installation/ChoosetheuserSplunkshouldrunas" target="_blank"&gt;page&lt;/A&gt; talks about service accounts but not specifically about gMSA's&lt;/P&gt;

&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:13:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Running-Splunkd-as-a-gMSA/m-p/413720#M3530</guid>
      <dc:creator>davidjohnbecket</dc:creator>
      <dc:date>2020-09-29T20:13:45Z</dc:date>
    </item>
  </channel>
</rss>

