<?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 Splunk web server won't start - first invocation in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-web-server-won-t-start-first-invocation/m-p/252390#M370</link>
    <description>&lt;P&gt;Installed Splunk Light and started it. Navigated to web page at &lt;A href="http://&amp;lt;username&amp;gt;-local:8000" target="test_blank"&gt;http://&amp;lt;username&amp;gt;-local:8000&lt;/A&gt;.&lt;BR /&gt;
Chrome says: "This web page is not available"&lt;/P&gt;

&lt;P&gt;Below is the output from when I launch splunk.&lt;BR /&gt;
Troubleshooting ideas?&lt;/P&gt;

&lt;P&gt;/Applications/Splunk/bin/splunk start&lt;BR /&gt;
dyld: Library not loaded: /Users/eserv/wrangler-2.0/build-home/ember/lib/libmongoc-1.0.0.dylib&lt;BR /&gt;
  Referenced from: /Applications/Splunk/bin/splunkd&lt;BR /&gt;
  Reason: image not found&lt;BR /&gt;
dyld: Library not loaded: /Users/eserv/wrangler-2.0/build-home/ember/lib/libmongoc-1.0.0.dylib&lt;BR /&gt;
  Referenced from: /Applications/Splunk/bin/splunkd&lt;BR /&gt;
  Reason: image not found&lt;BR /&gt;
dyld: Library not loaded: /Users/eserv/wrangler-2.0/build-home/ember/lib/libmongoc-1.0.0.dylib&lt;BR /&gt;
  Referenced from: /Applications/Splunk/bin/splunkd&lt;BR /&gt;
  Reason: image not found&lt;BR /&gt;
Did not find "disabled" setting of "kvstore" stanza in server bundle.&lt;/P&gt;

&lt;P&gt;Splunk&amp;gt; The IT Search Engine.&lt;/P&gt;

&lt;P&gt;Checking prerequisites...&lt;BR /&gt;
dyld: Library not loaded: /Users/eserv/wrangler-2.0/build-home/ember/lib/libmongoc-1.0.0.dylib&lt;BR /&gt;
  Referenced from: /Applications/Splunk/bin/splunkd&lt;BR /&gt;
  Reason: image not found&lt;BR /&gt;
Checking mgmt port [8089]: dyld: Library not loaded: /Users/eserv/wrangler-2.0/build-home/ember/lib/libmongoc-1.0.0.dylib&lt;BR /&gt;
  Referenced from: /Applications/Splunk/bin/splunkd&lt;BR /&gt;
  Reason: image not found&lt;BR /&gt;
open&lt;BR /&gt;
Checking configuration...  Done.&lt;BR /&gt;
Creating: /Applications/Splunk/var/run/splunk/appserver/i18n&lt;BR /&gt;
Creating: /Applications/Splunk/var/run/splunk/appserver/modules/static/css&lt;BR /&gt;
Creating: /Applications/Splunk/var/run/splunk/upload&lt;BR /&gt;
Creating: /Applications/Splunk/var/spool/splunk&lt;BR /&gt;
Creating: /Applications/Splunk/var/spool/dirmoncache&lt;BR /&gt;
Creating: /Applications/Splunk/var/lib/splunk/authDb&lt;BR /&gt;
Creating: /Applications/Splunk/var/lib/splunk/hashDb&lt;BR /&gt;
Checking critical directories...&lt;BR /&gt;
Done&lt;BR /&gt;
Checking indexes...&lt;BR /&gt;
Validated: _audit _internal _introspection _thefishbucket history main summary&lt;BR /&gt;
Done&lt;BR /&gt;
New certs have been generated in '/Applications/Splunk/etc/auth'.&lt;BR /&gt;
dyld: Library not loaded: /Users/eserv/wrangler-2.0/build-home/ember/lib/libmongoc-1.0.0.dylib&lt;BR /&gt;
  Referenced from: /Applications/Splunk/bin/splunkd&lt;BR /&gt;
  Reason: image not found&lt;BR /&gt;
Checking filesystem compatibility...  Done&lt;BR /&gt;
Checking conf files for problems...&lt;BR /&gt;
Done&lt;BR /&gt;
Checking default conf files for edits...&lt;BR /&gt;
Validating installed files against hashes from '/Applications/Splunk/splunklight-6.3.1-f3e41e4b37b2-darwin-64-manifest'&lt;BR /&gt;
All installed files intact.&lt;BR /&gt;
Done&lt;BR /&gt;
dyld: Library not loaded: /Users/eserv/wrangler-2.0/build-home/ember/lib/libmongoc-1.0.0.dylib&lt;BR /&gt;
  Referenced from: /Applications/Splunk/bin/splunkd&lt;BR /&gt;
  Reason: image not found&lt;BR /&gt;
dyld: Library not loaded: /Users/eserv/wrangler-2.0/build-home/ember/lib/libmongoc-1.0.0.dylib&lt;BR /&gt;
  Referenced from: /Applications/Splunk/bin/splunkd&lt;BR /&gt;
  Reason: image not found&lt;BR /&gt;
All preliminary checks passed.&lt;/P&gt;

&lt;P&gt;Starting splunk server daemon (splunkd)...&lt;BR /&gt;
Done&lt;/P&gt;</description>
    <pubDate>Fri, 27 Nov 2015 17:22:48 GMT</pubDate>
    <dc:creator>tedBS</dc:creator>
    <dc:date>2015-11-27T17:22:48Z</dc:date>
    <item>
      <title>Splunk web server won't start - first invocation</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-web-server-won-t-start-first-invocation/m-p/252390#M370</link>
      <description>&lt;P&gt;Installed Splunk Light and started it. Navigated to web page at &lt;A href="http://&amp;lt;username&amp;gt;-local:8000" target="test_blank"&gt;http://&amp;lt;username&amp;gt;-local:8000&lt;/A&gt;.&lt;BR /&gt;
Chrome says: "This web page is not available"&lt;/P&gt;

&lt;P&gt;Below is the output from when I launch splunk.&lt;BR /&gt;
Troubleshooting ideas?&lt;/P&gt;

&lt;P&gt;/Applications/Splunk/bin/splunk start&lt;BR /&gt;
dyld: Library not loaded: /Users/eserv/wrangler-2.0/build-home/ember/lib/libmongoc-1.0.0.dylib&lt;BR /&gt;
  Referenced from: /Applications/Splunk/bin/splunkd&lt;BR /&gt;
  Reason: image not found&lt;BR /&gt;
dyld: Library not loaded: /Users/eserv/wrangler-2.0/build-home/ember/lib/libmongoc-1.0.0.dylib&lt;BR /&gt;
  Referenced from: /Applications/Splunk/bin/splunkd&lt;BR /&gt;
  Reason: image not found&lt;BR /&gt;
dyld: Library not loaded: /Users/eserv/wrangler-2.0/build-home/ember/lib/libmongoc-1.0.0.dylib&lt;BR /&gt;
  Referenced from: /Applications/Splunk/bin/splunkd&lt;BR /&gt;
  Reason: image not found&lt;BR /&gt;
Did not find "disabled" setting of "kvstore" stanza in server bundle.&lt;/P&gt;

&lt;P&gt;Splunk&amp;gt; The IT Search Engine.&lt;/P&gt;

&lt;P&gt;Checking prerequisites...&lt;BR /&gt;
dyld: Library not loaded: /Users/eserv/wrangler-2.0/build-home/ember/lib/libmongoc-1.0.0.dylib&lt;BR /&gt;
  Referenced from: /Applications/Splunk/bin/splunkd&lt;BR /&gt;
  Reason: image not found&lt;BR /&gt;
Checking mgmt port [8089]: dyld: Library not loaded: /Users/eserv/wrangler-2.0/build-home/ember/lib/libmongoc-1.0.0.dylib&lt;BR /&gt;
  Referenced from: /Applications/Splunk/bin/splunkd&lt;BR /&gt;
  Reason: image not found&lt;BR /&gt;
open&lt;BR /&gt;
Checking configuration...  Done.&lt;BR /&gt;
Creating: /Applications/Splunk/var/run/splunk/appserver/i18n&lt;BR /&gt;
Creating: /Applications/Splunk/var/run/splunk/appserver/modules/static/css&lt;BR /&gt;
Creating: /Applications/Splunk/var/run/splunk/upload&lt;BR /&gt;
Creating: /Applications/Splunk/var/spool/splunk&lt;BR /&gt;
Creating: /Applications/Splunk/var/spool/dirmoncache&lt;BR /&gt;
Creating: /Applications/Splunk/var/lib/splunk/authDb&lt;BR /&gt;
Creating: /Applications/Splunk/var/lib/splunk/hashDb&lt;BR /&gt;
Checking critical directories...&lt;BR /&gt;
Done&lt;BR /&gt;
Checking indexes...&lt;BR /&gt;
Validated: _audit _internal _introspection _thefishbucket history main summary&lt;BR /&gt;
Done&lt;BR /&gt;
New certs have been generated in '/Applications/Splunk/etc/auth'.&lt;BR /&gt;
dyld: Library not loaded: /Users/eserv/wrangler-2.0/build-home/ember/lib/libmongoc-1.0.0.dylib&lt;BR /&gt;
  Referenced from: /Applications/Splunk/bin/splunkd&lt;BR /&gt;
  Reason: image not found&lt;BR /&gt;
Checking filesystem compatibility...  Done&lt;BR /&gt;
Checking conf files for problems...&lt;BR /&gt;
Done&lt;BR /&gt;
Checking default conf files for edits...&lt;BR /&gt;
Validating installed files against hashes from '/Applications/Splunk/splunklight-6.3.1-f3e41e4b37b2-darwin-64-manifest'&lt;BR /&gt;
All installed files intact.&lt;BR /&gt;
Done&lt;BR /&gt;
dyld: Library not loaded: /Users/eserv/wrangler-2.0/build-home/ember/lib/libmongoc-1.0.0.dylib&lt;BR /&gt;
  Referenced from: /Applications/Splunk/bin/splunkd&lt;BR /&gt;
  Reason: image not found&lt;BR /&gt;
dyld: Library not loaded: /Users/eserv/wrangler-2.0/build-home/ember/lib/libmongoc-1.0.0.dylib&lt;BR /&gt;
  Referenced from: /Applications/Splunk/bin/splunkd&lt;BR /&gt;
  Reason: image not found&lt;BR /&gt;
All preliminary checks passed.&lt;/P&gt;

&lt;P&gt;Starting splunk server daemon (splunkd)...&lt;BR /&gt;
Done&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2015 17:22:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-web-server-won-t-start-first-invocation/m-p/252390#M370</guid>
      <dc:creator>tedBS</dc:creator>
      <dc:date>2015-11-27T17:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk web server won't start - first invocation</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-web-server-won-t-start-first-invocation/m-p/252391#M371</link>
      <description>&lt;P&gt;I've had the same issue on El Capitan (on a mac). What I've done as a work around is to create the Users directories and symbolic link a lib directory to my splunk installation's lib directory. For instance, for my installation on my mac:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;sudo mkdir -p /Users/eserv/wrangler-2.0/build-home/ember&lt;BR /&gt;
sudo mkdir -p /Users/eserv/wrangler/build-home/ember&lt;BR /&gt;
sudo ln -s ~/splunk/lib /Users/eserv/wrangler-2.0/build-home/ember/lib&lt;BR /&gt;
sudo ln -s ~/splunk/lib /Users/eserv/wrangler/build-home/ember/lib&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;In my case, I did a tarball installation of Splunk 6.3.2 into my local user's home directory ~/splunk_6.3.2.inst1 then created a symbolic link to it as ~/splunk. That way I can have multiple instances installed on my machine and stop/start them whenever needed and flip between them simply by removing the ~/splunk link and re-linking to the instance that I wish to work within.&lt;/P&gt;

&lt;P&gt;What assumed (correctly) is that the latest 6.3.2 build has hard coded references to the wrangler library paths from a Splunk build environment. Setting the environment variable DYLD_LIBRARY_PATH to ~/splunk/lib in my case had no affect. The only way I've made it around the pathing issue is to do the (bit cludgy) workaround with user directories and library links as I noted above. It looks like this is fixed within 6.4.0, and more information is found at:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/307112/why-am-i-getting-an-installation-failure-for-splun.html" target="_blank"&gt;https://answers.splunk.com/answers/307112/why-am-i-getting-an-installation-failure-for-splun.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I'm not certain at the moment if a 6.3.2 patched version will be released to the public download site(s).&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:33:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-web-server-won-t-start-first-invocation/m-p/252391#M371</guid>
      <dc:creator>pgreer_splunk</dc:creator>
      <dc:date>2020-09-29T08:33:07Z</dc:date>
    </item>
  </channel>
</rss>

