<?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 for Active Directory App  issue with java in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43565#M2226</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;Unfortunately we are facing the same problem here. We have no results when using the dashboards on the path: active Directory &amp;gt; Users &amp;gt; User Reports &amp;gt; All (and all the others as well.). When running the query &amp;lt;&amp;lt; |&lt;CODE&gt;secrpt-all-users(DATASECLAB)&lt;/CODE&gt; &amp;gt;&amp;gt; we get the following error:&lt;/P&gt;

&lt;P&gt;External search command 'ldapsearch' returned error code 1. Script output = " ERROR Cannot find the configuration stanza for domain=** in ldap.conf. "&lt;/P&gt;

&lt;P&gt;And when looking at the sa-ldap-search.log we get the following:&lt;/P&gt;

&lt;P&gt;Level=ERROR, Pid=3524, File=search_command.py, Line=282, Abnormal exit: '*'&lt;/P&gt;

&lt;P&gt;Is this a known issue? We are using the latest version of ldapsearch. What should we do?&lt;/P&gt;

&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
    <pubDate>Wed, 06 May 2015 12:50:28 GMT</pubDate>
    <dc:creator>mvergetis</dc:creator>
    <dc:date>2015-05-06T12:50:28Z</dc:date>
    <item>
      <title>Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43549#M2210</link>
      <description>&lt;P&gt;installed the app with everything working with the exception of the Security:Audits option.&lt;/P&gt;

&lt;P&gt;have followed and check the requirements for the hardware and other software requirements but keep having the same error&lt;/P&gt;

&lt;P&gt;[subsearch]: External search command 'ldapsearch' returned error code 1. [subsearch]: ERROR: java.lang.NullPointerException: null&lt;/P&gt;

&lt;P&gt;any advice where i should check to correct this ? thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2012 05:42:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43549#M2210</guid>
      <dc:creator>EricksonOng</dc:creator>
      <dc:date>2012-08-24T05:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43550#M2211</link>
      <description>&lt;P&gt;Running into this very same issue....did you get a resolution on this?&lt;/P&gt;</description>
      <pubDate>Sat, 01 Sep 2012 00:41:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43550#M2211</guid>
      <dc:creator>bwindham</dc:creator>
      <dc:date>2012-09-01T00:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43551#M2212</link>
      <description>&lt;P&gt;Also experiencing more or less the same issue...&lt;BR /&gt;
What version of Java is needed to run on my Splunk central server(linux CentOS 6.) with the Splunk for Active Directory application?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2012 13:30:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43551#M2212</guid>
      <dc:creator>denisevw</dc:creator>
      <dc:date>2012-09-05T13:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43552#M2213</link>
      <description>&lt;P&gt;&lt;STRONG&gt;"Confirm that Java SE (Standard Edition) runtime environment version 1.7 or greater is installed on all servers upon which you have installed the SA-ldapsearch supporting add-on."&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;This is on their troubleshooting page for the application. I have Java 7 update 7 installed though and still getting the error. Are you running your Deployment server on Windows or *nix? The reason I ask is because I found this post in another thread about this issue:&lt;/P&gt;

&lt;P&gt;"&lt;BR /&gt;
&lt;STRONG&gt;Current known issues&lt;BR /&gt;
The LDAP search commands (that install on the central Splunk App for&lt;BR /&gt;
Active Directory instance) do not work on Windows operating systems,&lt;BR /&gt;
owing to platform compatibility issues. As a workaround, build your central&lt;BR /&gt;
Splunk instance around the Linux platform (MSAD-73).&lt;BR /&gt;
·&lt;BR /&gt;
The LDAP search commands do not work for sub-domains in an AD forest&lt;BR /&gt;
(MSAD-105).&lt;BR /&gt;
·&lt;BR /&gt;
Older versions of the universal forwarder might not correctly get some&lt;BR /&gt;
Windows events. To fix this issue, upgrade your forwarders to the latest&lt;BR /&gt;
version. (SPL-51312)&lt;BR /&gt;
·&lt;BR /&gt;
52&lt;/STRONG&gt;  "&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2012 18:43:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43552#M2213</guid>
      <dc:creator>rdpetti</dc:creator>
      <dc:date>2012-09-06T18:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43553#M2214</link>
      <description>&lt;P&gt;I installed Java 7 Update 7 (64-bit) and it resolved the issues for me.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2012 20:23:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43553#M2214</guid>
      <dc:creator>bwindham</dc:creator>
      <dc:date>2012-09-06T20:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43554#M2215</link>
      <description>&lt;P&gt;Installed the latest version of Java:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;java version "1.7.0_05-icedtea"&lt;/LI&gt;
&lt;LI&gt;OpenJDK Runtime Environment (rhel-2.2.1.el6_3.3-x86_64)&lt;/LI&gt;
&lt;LI&gt;OpenJDK 64-Bit Server VM (build 23.0-b21, mixed mode)&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;This version resolved most of the errors I received but there is still a message that I don't know how to fix:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;[subsearch]: External search command 'ldapsearch' returned error code 1. &lt;/LI&gt;
&lt;LI&gt;[subsearch]: ERROR: com.unboundid.ldap.sdk.LDAPException: Unable to establish a connection to any server in the fastest connect set because connection attempts failed in all servers.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:25:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43554#M2215</guid>
      <dc:creator>denisevw</dc:creator>
      <dc:date>2020-09-28T12:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43555#M2216</link>
      <description>&lt;P&gt;I've got the same error under opensuse 12.1 with java 1.7.0_07:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[subsearch]: External search command 'ldapsearch' returned error code 1. 
[subsearch]: ERROR: java.lang.NullPointerException: null
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Java version:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Sep 2012 10:59:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43555#M2216</guid>
      <dc:creator>domteich</dc:creator>
      <dc:date>2012-09-19T10:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43556#M2217</link>
      <description>&lt;P&gt;I'm getting exactly the same error, also with jre 1.7.0_07 installed.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2012 22:22:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43556#M2217</guid>
      <dc:creator>nmercer</dc:creator>
      <dc:date>2012-09-20T22:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43557#M2218</link>
      <description>&lt;P&gt;I'm getting exactly the same error, also with jre 1.7.0_07 installed&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2012 09:34:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43557#M2218</guid>
      <dc:creator>freman</dc:creator>
      <dc:date>2012-12-20T09:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43558#M2219</link>
      <description>&lt;P&gt;Same error with 1.7_17 installed. I don't want to install Linux splunk just to manage my entire windows fleet. Defeats the purpose of having it being windows based. &lt;/P&gt;

&lt;P&gt;Is there a real ETA for a fix?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2013 22:01:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43558#M2219</guid>
      <dc:creator>mbalasko</dc:creator>
      <dc:date>2013-03-20T22:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43559#M2220</link>
      <description>&lt;P&gt;I am running into the same error. Did you ever find a solution? Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2013 20:14:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43559#M2220</guid>
      <dc:creator>awsdcuser</dc:creator>
      <dc:date>2013-05-16T20:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43560#M2221</link>
      <description>&lt;P&gt;The server list in ldap.conf must be semi-colon separated. Otherwise a com.unboundid.ldap.sdk.LDAPException is thrown.&lt;/P&gt;

&lt;P&gt;From the documentation:&lt;BR /&gt;
"You may specify multiple servers by including a semi-colon separated list of hosts."&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2013 12:47:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43560#M2221</guid>
      <dc:creator>my2ndhead</dc:creator>
      <dc:date>2013-12-02T12:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43561#M2222</link>
      <description>&lt;P&gt;I'm also hoping to find a solution to this.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2014 19:06:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43561#M2222</guid>
      <dc:creator>itghelp</dc:creator>
      <dc:date>2014-02-26T19:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43562#M2223</link>
      <description>&lt;P&gt;In my case I would get a response from ping for the IP but not the hostname. In the ldap.conf use the IP instead of the hostname in the domain stanza. Example, change "server = hostname.domain" to "server = 1.2.3.4".&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2014 17:23:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43562#M2223</guid>
      <dc:creator>awsdcuser</dc:creator>
      <dc:date>2014-02-27T17:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43563#M2224</link>
      <description>&lt;P&gt;hello ! &lt;BR /&gt;
i have the same issue, i am running on : &lt;BR /&gt;
java version "1.7.0_55"&lt;BR /&gt;
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)&lt;BR /&gt;
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)&lt;/P&gt;

&lt;P&gt;i got error :&lt;BR /&gt;
 [subsearch]: External search command 'ldapsearch' returned error code 1&lt;BR /&gt;
 [subsearch]: ERROR: java.lang.NullPointerException: null &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:33:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43563#M2224</guid>
      <dc:creator>jeandez</dc:creator>
      <dc:date>2020-09-28T17:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43564#M2225</link>
      <description>&lt;P&gt;Have the same error with Windows Infrastructure app 1.0.4, Java is version 1.8, splunk 6.2, ldapsearch 1.1.13 (downgraded due to a bug in 2.0). Running:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|`secrpt-all-orgunits(LAB01)`
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The errors I get are:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ERROR: java.lang.NullPointerException: null

External search command 'ldapsearch' returned error code 1. 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk indexer on Debian 7.7 64, universal forwarder on Windows 2008 R2 64.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2014 16:40:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43564#M2225</guid>
      <dc:creator>f_luciani</dc:creator>
      <dc:date>2014-11-04T16:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Active Directory App  issue with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43565#M2226</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;Unfortunately we are facing the same problem here. We have no results when using the dashboards on the path: active Directory &amp;gt; Users &amp;gt; User Reports &amp;gt; All (and all the others as well.). When running the query &amp;lt;&amp;lt; |&lt;CODE&gt;secrpt-all-users(DATASECLAB)&lt;/CODE&gt; &amp;gt;&amp;gt; we get the following error:&lt;/P&gt;

&lt;P&gt;External search command 'ldapsearch' returned error code 1. Script output = " ERROR Cannot find the configuration stanza for domain=** in ldap.conf. "&lt;/P&gt;

&lt;P&gt;And when looking at the sa-ldap-search.log we get the following:&lt;/P&gt;

&lt;P&gt;Level=ERROR, Pid=3524, File=search_command.py, Line=282, Abnormal exit: '*'&lt;/P&gt;

&lt;P&gt;Is this a known issue? We are using the latest version of ldapsearch. What should we do?&lt;/P&gt;

&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 12:50:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Active-Directory-App-issue-with-java/m-p/43565#M2226</guid>
      <dc:creator>mvergetis</dc:creator>
      <dc:date>2015-05-06T12:50:28Z</dc:date>
    </item>
  </channel>
</rss>

