<?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: Update error from 9.0.4 to 9.2.0.1 in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/694514#M14082</link>
    <description>&lt;P&gt;This issue first occurred intermittently after upgrading from 9.0.5 to 9.2.1 Splunk Enterprise on a Linux kernel.&lt;BR /&gt;&lt;BR /&gt;In place upgrade from 9.2.1 to 9.2.2 didn't fixed the issue neither&lt;BR /&gt;&lt;BR /&gt;But commenting out this line as such fixed it.&lt;/P&gt;&lt;PRE&gt;#CFUNCTYPE(c_int)(lambda: None)&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Also tested on another box with the same issue, I've commented out the line first and then upgraded from 9.2.1 to 9.2.2, the upgrade override the fix, and I have to re-apply the fix again.&lt;BR /&gt;&lt;BR /&gt;Definitely raising a Splunk support case for this one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jul 2024 03:12:30 GMT</pubDate>
    <dc:creator>MightyJ</dc:creator>
    <dc:date>2024-07-29T03:12:30Z</dc:date>
    <item>
      <title>Update error from 9.0.4 to 9.2.0.1</title>
      <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/680556#M13726</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently testing upgrading from Splunk Enterprise version 9.0.4 to 9.2.0.1 but get the below error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;File "/opt/splunk/lib/python3.7/site-packages/splunk/clilib/cli.py",&amp;nbsp; line 39, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;from splunk.rcUtils import makeRestCall, CliArgError, NoEndPointError, InvalidStatusCodeError&lt;/P&gt;&lt;P&gt;MemoryError&lt;/P&gt;&lt;P&gt;Error running pre-start tasks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will add that there are a few more lines to the error but this is an air-gapped environment and hoping there is no need to manually type it all out &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;Leon&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 14:38:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/680556#M13726</guid>
      <dc:creator>L_Petch</dc:creator>
      <dc:date>2024-03-13T14:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Update error from 9.0.4 to 9.2.0.1</title>
      <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/680604#M13729</link>
      <description>&lt;P&gt;The word MemoryError is concerning. Usually that means Python thinks it will run out of memory. Do you have a comfortable amount of RAM on the machine?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 21:43:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/680604#M13729</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-03-13T21:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Update error from 9.0.4 to 9.2.0.1</title>
      <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/680664#M13730</link>
      <description>&lt;P&gt;Hi Marnell,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes this error is happening on my 2 HF's and deployment servers. All have 12GB of RAM with 10GB available.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 09:06:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/680664#M13730</guid>
      <dc:creator>L_Petch</dc:creator>
      <dc:date>2024-03-14T09:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Update error from 9.0.4 to 9.2.0.1</title>
      <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/680962#M13739</link>
      <description>&lt;P&gt;Are you previewing the upgrade or doing it for real? If so, could you outline the commands that you used, and summarize the results returned by the machine?&lt;/P&gt;</description>
      <pubDate>Sun, 17 Mar 2024 19:59:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/680962#M13739</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-03-17T19:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Update error from 9.0.4 to 9.2.0.1</title>
      <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/680975#M13740</link>
      <description>&lt;P&gt;I have tried both the preview and upgrading without doing the preview. It is after running the start command that it errors.&lt;/P&gt;&lt;P&gt;In preview mode I get the same error it just takes a lot longer to get to the error.&lt;/P&gt;&lt;P&gt;- &lt;SPAN&gt;rpm -U splunk_package_name.rpm&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;SPAN&gt;$SPLUNK_HOME/bin/splunk start&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 07:53:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/680975#M13740</guid>
      <dc:creator>L_Petch</dc:creator>
      <dc:date>2024-03-18T07:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Update error from 9.0.4 to 9.2.0.1</title>
      <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/681099#M13743</link>
      <description>&lt;P&gt;Weird. Could you check if there are any other errors? If it's just the MemoryError then you could try measuring the memory usage at the time of the upgrade in case anything explodes in memory usage during the upgrade.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 21:24:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/681099#M13743</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-03-18T21:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Update error from 9.0.4 to 9.2.0.1</title>
      <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/681344#M13752</link>
      <description>&lt;P&gt;This is the full error output,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Migrating to:&lt;BR /&gt;VERSION=9.2.0.1&lt;BR /&gt;BUILD=d8ae995bf219&lt;BR /&gt;PRODUCT=splunk&lt;BR /&gt;PLATFORM=Linux-x86_64&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;********** BEGIN PREVIEW OF CONFIGURATION FILE MIGRATION **********&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "/opt/splunk/lib/python3.7/site-packages/splunk/clilib/cli.py", line 39, in &amp;lt;module&amp;gt;&lt;BR /&gt;from splunk.rcUtils import makeRestCall, CliArgError, NoEndpointError, InvalidStatusCodeError&lt;BR /&gt;File "/opt/splunk/lib/python3.7/site-packages/splunk/rcUtils.py", line 17, in &amp;lt;module&amp;gt;&lt;BR /&gt;from splunk.search import dispatch, getJob, listJobs&lt;BR /&gt;File "/opt/splunk/lib/python3.7/site-packages/splunk/search/__init__.py", line 17, in &amp;lt;module&amp;gt;&lt;BR /&gt;from splunk.rest.splunk_web_requests import is_v2_search_enabled&lt;BR /&gt;File "/opt/splunk/lib/python3.7/site-packages/splunk/rest/splunk_web_requests/__init__.py", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;import cherrypy&lt;BR /&gt;File "/opt/splunk/lib/python3.7/site-packages/cherrypy/__init__.py", line 76, in &amp;lt;module&amp;gt;&lt;BR /&gt;from . import _cprequest, _cpserver, _cptree, _cplogging, _cpconfig&lt;BR /&gt;File "/opt/splunk/lib/python3.7/site-packages/cherrypy/_cpserver.py", line 6, in &amp;lt;module&amp;gt;&lt;BR /&gt;from cherrypy.process.servers import ServerAdapter&lt;BR /&gt;File "/opt/splunk/lib/python3.7/site-packages/cherrypy/process/__init__.py", line 13, in &amp;lt;module&amp;gt;&lt;BR /&gt;from .wspbus import bus&lt;BR /&gt;File "/opt/splunk/lib/python3.7/site-packages/cherrypy/process/wspbus.py", line 66, in &amp;lt;module&amp;gt;&lt;BR /&gt;import ctypes&lt;BR /&gt;File "/opt/splunk/lib/python3.7/ctypes/__init__.py", line 551, in &amp;lt;module&amp;gt;&lt;BR /&gt;_reset_cache()&lt;BR /&gt;File "/opt/splunk/lib/python3.7/ctypes/__init__.py", line 273, in _reset_cache&lt;BR /&gt;CFUNCTYPE(c_int)(lambda: None)&lt;BR /&gt;MemoryError&lt;BR /&gt;Error running pre-start tasks&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 10:16:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/681344#M13752</guid>
      <dc:creator>L_Petch</dc:creator>
      <dc:date>2024-03-20T10:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Update error from 9.0.4 to 9.2.0.1</title>
      <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/681360#M13753</link>
      <description>&lt;P&gt;Just to add to this I doubled the RAM in my dev environment for the VM to 24GB and still get the same error&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 11:24:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/681360#M13753</guid>
      <dc:creator>L_Petch</dc:creator>
      <dc:date>2024-03-20T11:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Update error from 9.0.4 to 9.2.0.1</title>
      <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/681459#M13756</link>
      <description>&lt;P&gt;This is an odd error. Could you try opening the file at "/opt/splunk/lib/python3.7/ctypes/__init__.py", then commenting the line:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CFUNCTYPE(c_int)(lambda: None)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;It should be on line 273. Put a hash before it, so your _reset_cache() function looks like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;def _reset_cache():
    _pointer_type_cache.clear()
    _c_functype_cache.clear()
    if _os.name == "nt":
        _win_functype_cache.clear()
    # _SimpleCData.c_wchar_p_from_param
    POINTER(c_wchar).from_param = c_wchar_p.from_param
    # _SimpleCData.c_char_p_from_param
    POINTER(c_char).from_param = c_char_p.from_param
    _pointer_type_cache[None] = c_void_p
    # XXX for whatever reasons, creating the first instance of a callback
    # function is needed for the unittests on Win64 to succeed.  This MAY
    # be a compiler bug, since the problem occurs only when _ctypes is
    # compiled with the MS SDK compiler.  Or an uninitialized variable?
    #CFUNCTYPE(c_int)(lambda: None)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Then try testing the upgrade&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 21:31:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/681459#M13756</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-03-20T21:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Update error from 9.0.4 to 9.2.0.1</title>
      <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/681507#M13757</link>
      <description>&lt;P&gt;This was indeed the issue. Thank you so much for the help.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 08:55:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/681507#M13757</guid>
      <dc:creator>L_Petch</dc:creator>
      <dc:date>2024-03-21T08:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Update error from 9.0.4 to 9.2.0.1</title>
      <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/684239#M13806</link>
      <description>&lt;P class="lia-align-left"&gt;Thank you! Same issue here on Splunk 9.2.1&lt;/P&gt;&lt;P class="lia-align-left"&gt;Splunk was NOT starting at boot-start (with init.d) but manually was starting correctly.&lt;/P&gt;&lt;P class="lia-align-left"&gt;After having commented the mentioned line is now properly booting with the VM (Oracle Linux).&lt;/P&gt;&lt;P class="lia-align-left"&gt;I am going to open a case to the support to inform them about it.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 12:49:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/684239#M13806</guid>
      <dc:creator>edoardo_vicendo</dc:creator>
      <dc:date>2024-04-15T12:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Update error from 9.0.4 to 9.2.0.1</title>
      <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/689438#M13939</link>
      <description>&lt;P&gt;Ran into exact same issue going from 9.1.1 to 9.2.1. had the same errors and commented out the line "marnall" pointed out, restarted splunk ,finished the update and successfully started Splunk..&lt;BR /&gt;&lt;BR /&gt;Why is this happening? and does it happen to everyone?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 17:58:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/689438#M13939</guid>
      <dc:creator>Darthsplunker</dc:creator>
      <dc:date>2024-06-03T17:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Update error from 9.0.4 to 9.2.0.1</title>
      <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/691739#M13991</link>
      <description>&lt;P&gt;Had this same error, after uninstalling the Splunk forwarder, then installing Splunk enterprise on RHEL 9 linux.&amp;nbsp; Rebooted the system then ran the install again and had no reported memory errors.&amp;nbsp; &amp;nbsp;The above python script fix will work, but a reboot could work as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 19:41:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/691739#M13991</guid>
      <dc:creator>steveski</dc:creator>
      <dc:date>2024-06-26T19:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Update error from 9.0.4 to 9.2.0.1</title>
      <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/691747#M13992</link>
      <description>&lt;P&gt;Update, Memory error occurred again when trying to restart Splunk, updated the .py script.&amp;nbsp; My system has 12 GB of Free RAM.&amp;nbsp;&amp;nbsp; I've seen this error now on 2 different Splunk 9.2.1 installs.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 21:14:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/691747#M13992</guid>
      <dc:creator>steveski</dc:creator>
      <dc:date>2024-06-26T21:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Update error from 9.0.4 to 9.2.0.1</title>
      <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/694514#M14082</link>
      <description>&lt;P&gt;This issue first occurred intermittently after upgrading from 9.0.5 to 9.2.1 Splunk Enterprise on a Linux kernel.&lt;BR /&gt;&lt;BR /&gt;In place upgrade from 9.2.1 to 9.2.2 didn't fixed the issue neither&lt;BR /&gt;&lt;BR /&gt;But commenting out this line as such fixed it.&lt;/P&gt;&lt;PRE&gt;#CFUNCTYPE(c_int)(lambda: None)&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Also tested on another box with the same issue, I've commented out the line first and then upgraded from 9.2.1 to 9.2.2, the upgrade override the fix, and I have to re-apply the fix again.&lt;BR /&gt;&lt;BR /&gt;Definitely raising a Splunk support case for this one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 03:12:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/694514#M14082</guid>
      <dc:creator>MightyJ</dc:creator>
      <dc:date>2024-07-29T03:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Update error from 9.0.4 to 9.2.0.1</title>
      <link>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/699680#M14186</link>
      <description>&lt;P&gt;I had a reply from the Splunk Support, it seems that since a while init.d is not supported anymore as mentioned here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.2.1/Admin/ConfigureSplunktostartatboottime" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.2.1/Admin/ConfigureSplunktostartatboottime&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;The init.d boot-start script is not compatible with RHEL 8 and higher. You can instead configure systemd to manage boot start and run splunkd as a service. For more information, see&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.2.0/Admin/ConfigureSplunktostartatboottime#Enable_boot-start_on_machines_that_run_systemd" target="_blank"&gt;Enable boot start on machines that run systemd&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In fact I have this issue on a Oracle Linux 8 machine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 09:48:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Update-error-from-9-0-4-to-9-2-0-1/m-p/699680#M14186</guid>
      <dc:creator>edoardo_vicendo</dc:creator>
      <dc:date>2024-09-20T09:48:40Z</dc:date>
    </item>
  </channel>
</rss>

