<?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: splnkd can't find libjemalloc.so.1 in Installation</title>
    <link>https://community.splunk.com/t5/Installation/splnkd-can-t-find-libjemalloc-so-1/m-p/197101#M10072</link>
    <description>&lt;P&gt;sudo $SPLUNK_HOME/bin/splunk start&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jan 2015 13:22:32 GMT</pubDate>
    <dc:creator>mikemaki</dc:creator>
    <dc:date>2015-01-23T13:22:32Z</dc:date>
    <item>
      <title>splnkd can't find libjemalloc.so.1</title>
      <link>https://community.splunk.com/t5/Installation/splnkd-can-t-find-libjemalloc-so-1/m-p/197097#M10068</link>
      <description>&lt;P&gt;Hi All, &lt;/P&gt;

&lt;P&gt;I installed splunk enterprise in a RedHat Enterprise Linux x86_64 with rpm sucessfully.&lt;/P&gt;

&lt;P&gt;But when I run the splunkd, there is below error:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;bin/splunkd: error while loading shared libraries: libjemalloc.so.1: cannot open shared object file: No such file or directory&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I checked and found the libjemalloc.so.1 and libjemalloc.so in /usr/local/lib, why splunk can't find it?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2014 02:52:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/splnkd-can-t-find-libjemalloc-so-1/m-p/197097#M10068</guid>
      <dc:creator>frnkhng</dc:creator>
      <dc:date>2014-01-07T02:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: splnkd can't find libjemalloc.so.1</title>
      <link>https://community.splunk.com/t5/Installation/splnkd-can-t-find-libjemalloc-so-1/m-p/197098#M10069</link>
      <description>&lt;P&gt;You shouldn't be running splunkd directly. You should run bin/splunk which is responsible for setting up the proper environment for splunkd to operate in, and it then launches splunkd.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2014 07:34:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/splnkd-can-t-find-libjemalloc-so-1/m-p/197098#M10069</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2014-01-07T07:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: splnkd can't find libjemalloc.so.1</title>
      <link>https://community.splunk.com/t5/Installation/splnkd-can-t-find-libjemalloc-so-1/m-p/197099#M10070</link>
      <description>&lt;P&gt;Same error running the following command:&lt;/P&gt;

&lt;P&gt;./btprobe -d /opt/splunk/var/lib/splunk/fishbucket/splunk_private_db/ --file /opt/splunk/var/log/&lt;MY_LOG_FILE&gt; &lt;BR /&gt;
/opt/splunk/bin/splunkd: error while loading shared libraries: libjemalloc.so.1: cannot open shared object file: No such file or directory&lt;/MY_LOG_FILE&gt;&lt;/P&gt;

&lt;P&gt;uname -a:&lt;BR /&gt;
Linux &lt;MY_SERVER_NAME&gt; 2.6.32-220.17.1.el6.x86_64 #1 SMP Thu Apr 26 13:37:13 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux&lt;/MY_SERVER_NAME&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:42:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/splnkd-can-t-find-libjemalloc-so-1/m-p/197099#M10070</guid>
      <dc:creator>marcoscala</dc:creator>
      <dc:date>2020-09-28T15:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: splnkd can't find libjemalloc.so.1</title>
      <link>https://community.splunk.com/t5/Installation/splnkd-can-t-find-libjemalloc-so-1/m-p/197100#M10071</link>
      <description>&lt;P&gt;Hi marco, this is the same run btool like this&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd btool .....&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2014 07:43:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/splnkd-can-t-find-libjemalloc-so-1/m-p/197100#M10071</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-04-15T07:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: splnkd can't find libjemalloc.so.1</title>
      <link>https://community.splunk.com/t5/Installation/splnkd-can-t-find-libjemalloc-so-1/m-p/197101#M10072</link>
      <description>&lt;P&gt;sudo $SPLUNK_HOME/bin/splunk start&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2015 13:22:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/splnkd-can-t-find-libjemalloc-so-1/m-p/197101#M10072</guid>
      <dc:creator>mikemaki</dc:creator>
      <dc:date>2015-01-23T13:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: splnkd can't find libjemalloc.so.1</title>
      <link>https://community.splunk.com/t5/Installation/splnkd-can-t-find-libjemalloc-so-1/m-p/197102#M10073</link>
      <description>&lt;P&gt;maybe do this:&lt;BR /&gt;
      &lt;CODE&gt;sudo ln -s /opt/splunk/bin/splunk /etc/init.d/.&lt;/CODE&gt;&lt;BR /&gt;
... so when your system restarts the correct splunk binary gets the "start" signal.&lt;/P&gt;

&lt;P&gt;If you followed the documentation for installing and starting splunk the first time, you probably assumed (as I did) that calling &lt;CODE&gt;sudo -u splunk /opt/splunk/bin/splunkd start —accept-license&lt;/CODE&gt; would work for subsequent starts, and then got the libjemalloc.so.1 error.  As mentioned above, giving the start command to the splunk binary (not splunkd) solves this.   So the real answer to your question (assuming you've installed in the default /opt/splunk/ path) is:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;sudo /opt/splunk/bin/splunk start&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2015 17:03:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/splnkd-can-t-find-libjemalloc-so-1/m-p/197102#M10073</guid>
      <dc:creator>jg3</dc:creator>
      <dc:date>2015-07-08T17:03:07Z</dc:date>
    </item>
  </channel>
</rss>

