<?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: Problem in &amp;quot;Splunk Restart&amp;quot; python in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433801#M7795</link>
    <description>&lt;P&gt;Hi All, &lt;BR /&gt;
The final solution, I made to fix this issue, is &lt;STRONG&gt;UPGRADATION&lt;/STRONG&gt;.&lt;BR /&gt;
So I upgraded splunk instance &lt;CODE&gt;V7.1.1&lt;/CODE&gt; to &lt;CODE&gt;v7.1.2&lt;/CODE&gt;. and it works.&lt;/P&gt;

&lt;P&gt;Thanks for the support and time. Happy Splunking!!&lt;/P&gt;

&lt;P&gt;Dhirendra&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2019 12:28:54 GMT</pubDate>
    <dc:creator>dhirendra761</dc:creator>
    <dc:date>2019-08-07T12:28:54Z</dc:date>
    <item>
      <title>Getting error while doing "Splunk Restart" python.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433797#M7791</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I am getting below-attached error while doing "Splunk restart" from cmd. Could you please help/suggest me the solution into this.&lt;BR /&gt;Already tried the solution given in ref: &lt;A href="https://answers.splunk.com/answers/542113/splunk-will-not-start-importerror-cannot-import-na.html" target="_blank"&gt;https://answers.splunk.com/answers/542113/splunk-will-not-start-importerror-cannot-import-na.html&lt;/A&gt;, but no luck.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Error in text:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Splunk&amp;gt; See your world.  Maybe wish you hadn't.

Checking prerequisites...
        Checking http port [8000]: open
        Checking mgmt port [8089]: open
        Checking appserver port [127.0.0.1:8065]: open
        Checking kvstore port [8191]: open
Traceback (most recent call last):
  File "C:\Program Files\Splunk\Python-2.7\Lib\site.py", line 62, in &amp;lt;module&amp;gt;
    import os
  File "C:\Program Files\Splunk\Python-2.7\Lib\os.py", line 400, in &amp;lt;module&amp;gt;
    import UserDict
  File "C:\Program Files\Splunk\Python-2.7\Lib\UserDict.py", line 116, in &amp;lt;modul
e&amp;gt;
    import _abcoll
  File "C:\Program Files\Splunk\Python-2.7\Lib\_abcoll.py", line 11, in &amp;lt;module&amp;gt;

    from abc import ABCMeta, abstractmethod
  File "C:\Program Files\Splunk\Python-2.7\Lib\abc.py", line 8, in &amp;lt;module&amp;gt;
    from _weakrefset import WeakSet
ImportError: cannot import name WeakSet
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7467i77A65B2016932D05/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 22:37:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433797#M7791</guid>
      <dc:creator>dhirendra761</dc:creator>
      <dc:date>2020-06-17T22:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in "Splunk Restart" python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433798#M7792</link>
      <description>&lt;P&gt;@martin_mueller @somesoni2 @woodcock @MuS @niketnilay &lt;BR /&gt;
Please help me&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 18:14:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433798#M7792</guid>
      <dc:creator>dhirendra761</dc:creator>
      <dc:date>2019-08-06T18:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in "Splunk Restart" python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433799#M7793</link>
      <description>&lt;P&gt;Give us more context.  Is this post-upgrade from a was-working system?  Is this a new installation?  What version are you running?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 23:32:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433799#M7793</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-08-06T23:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in "Splunk Restart" python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433800#M7794</link>
      <description>&lt;P&gt;Hi @woodcock , I am using splunk enterprise Version 7.1.1. It was working fine yesterday suddenly it stopped and thrown this error.&lt;BR /&gt;
Splunkd.log has following errorS:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;08-06-2019 16:12:47.846 +0200 WARN  ConfPathMapper - Failed to open: C:\Program Files\Splunk\etc\apps\SA_AI_NR_X620_ams_secure_transport_sh\local\inputs.conf: Access is denied.
08-06-2019 16:13:00.970 +0200 INFO  loader - win-service: Command pre-flight-checks ran successfully.
08-06-2019 16:13:01.103 +0200 ERROR loader - win-service: Error running check-xml-files (_pclose returned 1).
08-06-2019 16:13:01.103 +0200 ERROR loader - win-service: Here is the output from running check-xml-files:
08-06-2019 16:13:01.103 +0200 ERROR loader - Traceback (most recent call last):
08-06-2019 16:13:01.103 +0200 ERROR loader -   File "C:\Program Files\Splunk\Python-2.7\Lib\site.py", line 62, in &amp;lt;module&amp;gt;
08-06-2019 16:13:01.103 +0200 ERROR loader -     import os
08-06-2019 16:13:01.103 +0200 ERROR loader -   File "C:\Program Files\Splunk\Python-2.7\Lib\os.py", line 400, in &amp;lt;module&amp;gt;
08-06-2019 16:13:01.103 +0200 ERROR loader -     import UserDict
08-06-2019 16:13:01.103 +0200 ERROR loader -   File "C:\Program Files\Splunk\Python-2.7\Lib\UserDict.py", line 116, in &amp;lt;module&amp;gt;
08-06-2019 16:13:01.103 +0200 ERROR loader -     import _abcoll
08-06-2019 16:13:01.103 +0200 ERROR loader -   File "C:\Program Files\Splunk\Python-2.7\Lib\_abcoll.py", line 11, in &amp;lt;module&amp;gt;
08-06-2019 16:13:01.103 +0200 ERROR loader -     from abc import ABCMeta, abstractmethod
08-06-2019 16:13:01.103 +0200 ERROR loader -   File "C:\Program Files\Splunk\Python-2.7\Lib\abc.py", line 8, in &amp;lt;module&amp;gt;
08-06-2019 16:13:01.103 +0200 ERROR loader -     from _weakrefset import WeakSet
08-06-2019 16:13:01.103 +0200 ERROR loader - ImportError: cannot import name WeakSet
08-06-2019 16:13:01.103 +0200 ERROR loader - &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; EOF (check-xml-files)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Aug 2019 07:29:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433800#M7794</guid>
      <dc:creator>dhirendra761</dc:creator>
      <dc:date>2019-08-07T07:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in "Splunk Restart" python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433801#M7795</link>
      <description>&lt;P&gt;Hi All, &lt;BR /&gt;
The final solution, I made to fix this issue, is &lt;STRONG&gt;UPGRADATION&lt;/STRONG&gt;.&lt;BR /&gt;
So I upgraded splunk instance &lt;CODE&gt;V7.1.1&lt;/CODE&gt; to &lt;CODE&gt;v7.1.2&lt;/CODE&gt;. and it works.&lt;/P&gt;

&lt;P&gt;Thanks for the support and time. Happy Splunking!!&lt;/P&gt;

&lt;P&gt;Dhirendra&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 12:28:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433801#M7795</guid>
      <dc:creator>dhirendra761</dc:creator>
      <dc:date>2019-08-07T12:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in "Splunk Restart" python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433802#M7796</link>
      <description>&lt;P&gt;Be sure to click &lt;CODE&gt;Accept&lt;/CODE&gt; to close your question and indicated that there is a definitive answer!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 22:27:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433802#M7796</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-08-07T22:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in "Splunk Restart" python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433803#M7797</link>
      <description>&lt;P&gt;You might as well upgrade to the latest version and if that does not fix it, open a support ticket.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 22:28:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433803#M7797</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-08-07T22:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in "Splunk Restart" python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433804#M7798</link>
      <description>&lt;P&gt;Sure @woodcock ... Thanks for your time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 07:50:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Getting-error-while-doing-quot-Splunk-Restart-quot-python/m-p/433804#M7798</guid>
      <dc:creator>dhirendra761</dc:creator>
      <dc:date>2019-08-08T07:50:02Z</dc:date>
    </item>
  </channel>
</rss>

