<?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 DB Connect - pad block corrupted in Other Usage</title>
    <link>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/435146#M1432</link>
    <description>&lt;P&gt;We built a new search head and added it to an existing cluster with DB Connect, before adding the new server to the load balancers we ran a dbx query and received the same error as reported here.  Our fix was to retype the passwords for each identity.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2020 13:43:37 GMT</pubDate>
    <dc:creator>amartin6</dc:creator>
    <dc:date>2020-04-01T13:43:37Z</dc:date>
    <item>
      <title>Splunk DB Connect - pad block corrupted</title>
      <link>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/435141#M1427</link>
      <description>&lt;P&gt;I'm trying to install the splunk DB connect app in a new distributed lower environment and am running into the below error any time I enter an input:&lt;/P&gt;

&lt;P&gt;"java.lang.RuntimeException: java.security.GeneralSecurityException: org.bouncycastle.crypto.InvalidCipherTextException: pad block corrupted"&lt;/P&gt;

&lt;P&gt;For context, we currently have this app setup in our testing environment and I am copying over the same directories/files which include identities, connections, drivers, etc. I did create a input in our testing environment, but that file (db_inputs.conf) is not being recognized in the app on my new environment.&lt;/P&gt;

&lt;P&gt;The other articles that I found did not appear to have a solution to problem. If anything has any advise or context to this problem, please advise.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 14:13:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/435141#M1427</guid>
      <dc:creator>arlombar</dc:creator>
      <dc:date>2019-03-08T14:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - pad block corrupted</title>
      <link>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/435142#M1428</link>
      <description>&lt;P&gt;Splunk v7.0.4&lt;BR /&gt;
Splunk DB connect v3.1.4&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 14:14:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/435142#M1428</guid>
      <dc:creator>arlombar</dc:creator>
      <dc:date>2019-03-08T14:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - pad block corrupted</title>
      <link>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/435143#M1429</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Have you installed Splunk DB connect on new environment and then copied &lt;CODE&gt;identities.conf&lt;/CODE&gt;, &lt;CODE&gt;db_connections.conf&lt;/CODE&gt; and &lt;CODE&gt;db_inputs.conf&lt;/CODE&gt; from test environment to new environment ? If yes then it will not work because &lt;CODE&gt;identities.conf&lt;/CODE&gt; have encrypted password and those password encryption/decryption is depend on &lt;CODE&gt;$SPLUNK_HOME/etc/apps/splunk_app_db_connect/certs/identity.dat&lt;/CODE&gt; file and this &lt;CODE&gt;identity.dat&lt;/CODE&gt; file will generate when you install DB Connect first time. If you want to copy identities.conf&lt;CODE&gt;,&lt;/CODE&gt;db_connections.conf&lt;CODE&gt;and&lt;/CODE&gt;db_inputs.conf&lt;CODE&gt;from test environment to this new environment then I'll suggest to copy whole app&lt;/CODE&gt;$SPLUNK_HOME/etc/apps/splunk_app_db_connect/` from test environment to new environment if new environment doesn't contain any additional DB Connections, Identities and Inputs compare to test environment.&lt;/P&gt;

&lt;P&gt;If you don not want to copy whole app from test environment to new environment then you need to re-enter plain text password for every identities in DB Connect Web GUI and DB connect will store correct encrypted password in identities.conf&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:40:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/435143#M1429</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2020-09-29T23:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - pad block corrupted</title>
      <link>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/435144#M1430</link>
      <description>&lt;P&gt;Thanks for your advise. I tried originally using your method of pulling the entire directory/app from my other environment and adding this directly onto my new boxes, but I am running into another error now:&lt;/P&gt;

&lt;P&gt;"Cannot communicate with task server, please check your settings."&lt;/P&gt;

&lt;P&gt;My impression is that this is related to the JRE, however this is the same JDK/JRE that I have installed on the working environment...&lt;/P&gt;

&lt;P&gt;When moving these app between environments, is it recommended to just install base copies where needed then add in the conf files later or even manually add them as an entry into the UI? This is the only app so far I've ever had an issue like this when moving between environments.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 17:07:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/435144#M1430</guid>
      <dc:creator>arlombar</dc:creator>
      <dc:date>2019-03-11T17:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - pad block corrupted</title>
      <link>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/435145#M1431</link>
      <description>&lt;P&gt;For Task Server error, can you please check below points ?&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Check any error in &lt;CODE&gt;$SPLUNK_HOME/var/log/splunk/splunk_app_fb_connect_*.log&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Check JRE path on server, there might be possibility that JRE installed in test environment and new environment has different paths and due to copying entire app from test to new environment it is causing an issue, you can set JRE path in &lt;CODE&gt;$SPLUNK_HOME/etc/apps/splunk_app_db_connect/local/dbx_settings.conf&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Check &lt;CODE&gt;Task Server Port&lt;/CODE&gt; is occupied by any other process/application on new server ?&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 12 Mar 2019 09:08:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/435145#M1431</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-03-12T09:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - pad block corrupted</title>
      <link>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/435146#M1432</link>
      <description>&lt;P&gt;We built a new search head and added it to an existing cluster with DB Connect, before adding the new server to the load balancers we ran a dbx query and received the same error as reported here.  Our fix was to retype the passwords for each identity.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 13:43:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/435146#M1432</guid>
      <dc:creator>amartin6</dc:creator>
      <dc:date>2020-04-01T13:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - pad block corrupted</title>
      <link>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/539432#M1433</link>
      <description>&lt;P&gt;Thx for the information. Just did this step to reenter the password but I needed to recreate all the identities manually then it worked.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 08:48:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/539432#M1433</guid>
      <dc:creator>anywhere99</dc:creator>
      <dc:date>2021-02-11T08:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect - pad block corrupted</title>
      <link>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/580951#M1434</link>
      <description>Thanks, fixed me too.</description>
      <pubDate>Thu, 13 Jan 2022 13:59:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Splunk-DB-Connect-pad-block-corrupted/m-p/580951#M1434</guid>
      <dc:creator>_smp_</dc:creator>
      <dc:date>2022-01-13T13:59:33Z</dc:date>
    </item>
  </channel>
</rss>

