<?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 Re: Splunk install on MacOS is not working in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302065#M4450</link>
    <description>&lt;P&gt;This Worked for me as well. Thank you very much!&lt;/P&gt;</description>
    <pubDate>Wed, 09 May 2018 03:39:26 GMT</pubDate>
    <dc:creator>bamdemichael_sp</dc:creator>
    <dc:date>2018-05-09T03:39:26Z</dc:date>
    <item>
      <title>Splunk install on MacOS is not working</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302054#M4439</link>
      <description>&lt;P&gt;the command-line script&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;(clear; '/Applications/Splunk/bin/splunk' ftr
--accept-license || touch "/tmp/splunk_start_failed_6986"); rm "/tmp/splunk_start_running_3397"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;aborted w/ this error:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;This appears to be your first time running this version of Splunk.
Traceback (most recent call last):
  File "/Applications/Splunk/lib/python2.7/site-packages/splunk/clilib/cli.py", line 17, in &amp;lt;module&amp;gt;
    import splunk.clilib.cli_common as comm
  File "/Applications/Splunk/lib/python2.7/site-packages/splunk/clilib/cli_common.py", line 10, in &amp;lt;module&amp;gt;
    from xml.sax import saxutils
  File "/Applications/Splunk/lib/python2.7/xml/sax/saxutils.py", line 6, in &amp;lt;module&amp;gt;
    import os, urlparse, urllib, types
  File "/Applications/Splunk/lib/python2.7/urllib.py", line 1440, in &amp;lt;module&amp;gt;
    from _scproxy import _get_proxy_settings, _get_proxies
ImportError: dlopen(/Applications/Splunk/lib/python2.7/lib-dynload/_scproxy.so, 2): Symbol not found: _inflateValidate
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
  Expected in: /Applications/Splunk/lib/libz.1.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Jun 2020 18:58:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302054#M4439</guid>
      <dc:creator>PSIPol</dc:creator>
      <dc:date>2020-06-15T18:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk install on MacOS is not working</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302055#M4440</link>
      <description>&lt;P&gt;Did you try just removing it, then downloading and installing again?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2017 16:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302055#M4440</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2017-08-25T16:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk install on MacOS is not working</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302056#M4441</link>
      <description>&lt;P&gt;I did. Same error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;This appears to be your first time running this version of Splunk.
Traceback (most recent call last):
  File "/Applications/Splunk/lib/python2.7/site-packages/splunk/clilib/cli.py", line 17, in &amp;lt;module&amp;gt;
    import splunk.clilib.cli_common as comm
  File "/Applications/Splunk/lib/python2.7/site-packages/splunk/clilib/cli_common.py", line 10, in &amp;lt;module&amp;gt;
    from xml.sax import saxutils
  File "/Applications/Splunk/lib/python2.7/xml/sax/saxutils.py", line 6, in &amp;lt;module&amp;gt;
    import os, urlparse, urllib, types
  File "/Applications/Splunk/lib/python2.7/urllib.py", line 1440, in &amp;lt;module&amp;gt;
    from _scproxy import _get_proxy_settings, _get_proxies
ImportError: dlopen(/Applications/Splunk/lib/python2.7/lib-dynload/_scproxy.so, 2): Symbol not found: _inflateValidate
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
  Expected in: /Applications/Splunk/lib/libz.1.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Aug 2017 17:04:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302056#M4441</guid>
      <dc:creator>PSIPol</dc:creator>
      <dc:date>2017-08-25T17:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk install on MacOS is not working</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302057#M4442</link>
      <description>&lt;P&gt;Also tried the .tgz, same problem.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2017 17:28:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302057#M4442</guid>
      <dc:creator>PSIPol</dc:creator>
      <dc:date>2017-08-25T17:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk install on MacOS is not working</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302058#M4443</link>
      <description>&lt;P&gt;Hey @PSIPol, were you able to successfully install Splunk? If not, did you already use this documentation for the install process? &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.2/SearchTutorial/InstallSplunk"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.2/SearchTutorial/InstallSplunk&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 21:45:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302058#M4443</guid>
      <dc:creator>lfedak_splunk</dc:creator>
      <dc:date>2017-09-13T21:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk install on MacOS is not working</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302059#M4444</link>
      <description>&lt;P&gt;It didn't work, no. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I did try that....&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 22:25:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302059#M4444</guid>
      <dc:creator>PSIPol</dc:creator>
      <dc:date>2017-09-13T22:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk install on MacOS is not working</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302060#M4445</link>
      <description>&lt;P&gt;Ah! Do you want to join our Slack and see if the general channel or new user channel could help you? I'm just a community moderator, so beyond the docs I don't know how to decipher the error messages. &lt;A href="http://splk.it/slack"&gt;http://splk.it/slack&lt;/A&gt; You can follow that link if you want to try there!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 22:29:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302060#M4445</guid>
      <dc:creator>lfedak_splunk</dc:creator>
      <dc:date>2017-09-13T22:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk install on MacOS is not working</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302061#M4446</link>
      <description>&lt;P&gt;Are you running the High Sierra beta? I'm on the beta and seeing the same issue.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Update:&lt;/STRONG&gt;&lt;BR /&gt;
Just did some poking around and made some progress. I noticed that the error is coming from &lt;CODE&gt;/Applications/Splunk/lib/libz.1.dylib&lt;/CODE&gt;. Going there, I discovered that the offending library is an alias to &lt;CODE&gt;lib.1.2.8.dylib&lt;/CODE&gt; in the same folder. I replaced this alias with an alias to &lt;CODE&gt;/usr/lib/libz.1.dylib&lt;/CODE&gt; (which is aliased to by &lt;CODE&gt;/usr/lib/libz.1.2.8.dylib&lt;/CODE&gt;). This got past the original error and &lt;CODE&gt;./splunk ftr&lt;/CODE&gt; succeeded. However, now I'm getting the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;➜  ~ /Applications/Splunk/bin/splunk start

Splunk&amp;gt; The IT Search Engine.

Checking prerequisites...
    Checking http port [8000]: open
    Checking mgmt port [8089]: open
    Checking appserver port [127.0.0.1:8065]: open
    Checking kvstore port [8191]: open
    Checking configuration...  Done.
        Creating: /Applications/Splunk/var/lib/splunk
        Creating: /Applications/Splunk/var/run/splunk
        Creating: /Applications/Splunk/var/run/splunk/appserver/i18n
        Creating: /Applications/Splunk/var/run/splunk/appserver/modules/static/css
        Creating: /Applications/Splunk/var/run/splunk/upload
        Creating: /Applications/Splunk/var/spool/splunk
        Creating: /Applications/Splunk/var/spool/dirmoncache
        Creating: /Applications/Splunk/var/lib/splunk/authDb
        Creating: /Applications/Splunk/var/lib/splunk/hashDb
New certs have been generated in '/Applications/Splunk/etc/auth'.
    Checking critical directories...    Done
    Checking indexes...
homePath='/Applications/Splunk/var/lib/splunk/audit/db' of index=_audit on unusable filesystem.
Validating databases (splunkd validatedb) failed with code '1'.  If you cannot resolve the issue(s) above after consulting documentation, please file a case online at &lt;A href="http://www.splunk.com/page/submit_issue" target="test_blank"&gt;http://www.splunk.com/page/submit_issue&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The important part here is &lt;CODE&gt;homePath='/Applications/Splunk/var/lib/splunk/audit/db' of index=_audit on unusable filesystem.&lt;/CODE&gt;. It appears that Splunk blindly refuses to run on an APFS partitioned disk. ¯\&lt;EM&gt;(ツ)&lt;/EM&gt;/¯&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Update Part 2:&lt;/STRONG&gt;&lt;BR /&gt;
I got it working!&lt;BR /&gt;
Thanks to &lt;A href="https://answers.splunk.com/answers/306998/why-am-i-getting-homepathoptsplunkvarlibsplunkaudi.html"&gt;this answer&lt;/A&gt;, I learned that I just needed to add the line &lt;CODE&gt;OPTIMISTIC_ABOUT_FILE_LOCKING = 1&lt;/CODE&gt; to my &lt;CODE&gt;/Applications/Splunk/etc/splunk-launch.conf&lt;/CODE&gt;. Doing this got Splunk to properly launch on my Mac. However, I imagine that filesystem check is there for a reason, so use at your own risk. It seems that it just has to do with file locking, so worst case is &lt;EM&gt;probably&lt;/EM&gt; that you risk a corrupt Splunk database, but I can't say for sure.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 22:02:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302061#M4446</guid>
      <dc:creator>garrettdavidson</dc:creator>
      <dc:date>2017-09-14T22:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk install on MacOS is not working</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302062#M4447</link>
      <description>&lt;P&gt;I am! Ohhhh...&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 22:07:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302062#M4447</guid>
      <dc:creator>PSIPol</dc:creator>
      <dc:date>2017-09-14T22:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk install on MacOS is not working</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302063#M4448</link>
      <description>&lt;P&gt;@PSIPol, I just got it working, though I make no promises that my solution is a &lt;EM&gt;good&lt;/EM&gt; one.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 22:48:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302063#M4448</guid>
      <dc:creator>garrettdavidson</dc:creator>
      <dc:date>2017-09-14T22:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk install on MacOS is not working</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302064#M4449</link>
      <description>&lt;P&gt;Had the same, thanks to your post I was able to solve with changing link&lt;/P&gt;

&lt;P&gt;ln -hfs /usr/lib/libz.1.dylib /Applications/Splunk/lib/libz.1.dylib&lt;/P&gt;

&lt;P&gt;,Had the same issue after upgrade to High Sierra, solved the same as you with&lt;BR /&gt;
ln -hfs /usr/lib/libz.1.dylib /Applications/Splunk/lib/libz.1.dylib&lt;BR /&gt;
and adding OPTIMISTIC_ABOUT_FILE_LOCKING = 1 to config&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:41:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302064#M4449</guid>
      <dc:creator>stanlastsplunk</dc:creator>
      <dc:date>2020-09-29T16:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk install on MacOS is not working</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302065#M4450</link>
      <description>&lt;P&gt;This Worked for me as well. Thank you very much!&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 03:39:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302065#M4450</guid>
      <dc:creator>bamdemichael_sp</dc:creator>
      <dc:date>2018-05-09T03:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk install on MacOS is not working</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302066#M4451</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Thanks a LOT ! . this Solved for me as well ! !&lt;/STRONG&gt; &lt;BR /&gt;
Adding a little detailed step :&lt;BR /&gt;
1. Navigate to the directory of your splunk installation &lt;CODE&gt;cd /Applications/Splunk/lib&lt;/CODE&gt;&lt;BR /&gt;
2. &lt;CODE&gt;ln -hfs /usr/lib/libz.1.dylib /Applications/Splunk/lib/libz.1.dylib&lt;/CODE&gt;&lt;BR /&gt;
3. &lt;CODE&gt;vi /Applications/Splunk/etc/splunk-launch.conf&lt;/CODE&gt;&lt;BR /&gt;
4. add the line &lt;CODE&gt;OPTIMISTIC_ABOUT_FILE_LOCKING = 1&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 12:39:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302066#M4451</guid>
      <dc:creator>sunilsk1</dc:creator>
      <dc:date>2018-07-13T12:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk install on MacOS is not working</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302067#M4452</link>
      <description>&lt;P&gt;Thanks for the step by step instructions, I have used this to get my local Splunk instance working too.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2018 09:57:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-install-on-MacOS-is-not-working/m-p/302067#M4452</guid>
      <dc:creator>pwinchester_spl</dc:creator>
      <dc:date>2018-10-02T09:57:49Z</dc:date>
    </item>
  </channel>
</rss>

