<?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 2: Why am I getting a socket error trying to make a connection to a DB2 database? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-a-socket-error-trying-to/m-p/208776#M22290</link>
    <description>&lt;P&gt;There is a similar question &lt;A href="https://answers.splunk.com/answers/308062/splunk-db-connect-2-windowserror-error-32-the-proc.html#answer-320024"&gt;https://answers.splunk.com/answers/308062/splunk-db-connect-2-windowserror-error-32-the-proc.html#answer-320024&lt;/A&gt;. I don't know about the winsock warning, but I suspect the ERRORs are to do with Splunk being able to rollover the py_health.log file ready for the next generation of the file.&lt;/P&gt;

&lt;P&gt;Dave &lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2016 11:33:29 GMT</pubDate>
    <dc:creator>davebrooking</dc:creator>
    <dc:date>2016-02-22T11:33:29Z</dc:date>
    <item>
      <title>Splunk DB Connect 2: Why am I getting a socket error trying to make a connection to a DB2 database?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-a-socket-error-trying-to/m-p/208775#M22289</link>
      <description>&lt;P&gt;Hi everyone, &lt;/P&gt;

&lt;P&gt;I have updated from Splunk DB connect 1 (that was running fine) to DB connect 2  I got a few errors trying to pull data from the database. &lt;BR /&gt;
DB2 is SUPER slow. It takes one hundred tries to even make a connection to the database.&lt;/P&gt;

&lt;P&gt;I checked the splunkd.log errors and I got this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  02-15-2016 16:22:33.742 +0000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\splunk_app_db_connect\bin\mi_lookup.py""   File "C:\Program Files\Splunk\Python-2.7\Lib\logging\handlers.py", line 77, in emit
  02-15-2016 16:22:33.742 +0000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\splunk_app_db_connect\bin\mi_lookup.py"" Traceback (most recent call last):

   02-15-2016 16:22:33.742 +0000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\splunk_app_db_connect\bin\mi_lookup.py"" Logged from file health.py, line 186

   02-15-2016 16:22:33.742 +0000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\splunk_app_db_connect\bin\mi_lookup.py"" WindowsError: [Error 32] The process cannot access the file because it is being used by another process

    02-15-2016 16:22:33.742 +0000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\splunk_app_db_connect\bin\mi_lookup.py""     os.rename(self.baseFilename, dfn)

    02-15-2016 16:22:33.742 +0000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\splunk_app_db_connect\bin\mi_lookup.py""     self.doRollover()

  02-15-2016 16:21:43.139 +0000 WARN  HttpListener - Socket error from 127.0.0.1 while accessing /servicesNS/nobody/splunk_app_db_connect/db_connect/connections/-/status: Winsock error 10053
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any clue? Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2016 12:32:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-a-socket-error-trying-to/m-p/208775#M22289</guid>
      <dc:creator>Federica_92</dc:creator>
      <dc:date>2016-02-19T12:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 2: Why am I getting a socket error trying to make a connection to a DB2 database?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-a-socket-error-trying-to/m-p/208776#M22290</link>
      <description>&lt;P&gt;There is a similar question &lt;A href="https://answers.splunk.com/answers/308062/splunk-db-connect-2-windowserror-error-32-the-proc.html#answer-320024"&gt;https://answers.splunk.com/answers/308062/splunk-db-connect-2-windowserror-error-32-the-proc.html#answer-320024&lt;/A&gt;. I don't know about the winsock warning, but I suspect the ERRORs are to do with Splunk being able to rollover the py_health.log file ready for the next generation of the file.&lt;/P&gt;

&lt;P&gt;Dave &lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2016 11:33:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-a-socket-error-trying-to/m-p/208776#M22290</guid>
      <dc:creator>davebrooking</dc:creator>
      <dc:date>2016-02-22T11:33:29Z</dc:date>
    </item>
  </channel>
</rss>

