<?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 Forwarder Crashes in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Crashes/m-p/159842#M32405</link>
    <description>&lt;P&gt;It is a lightweight forwarder. The only setup I performed was to add files to monitor and a server to forward to.&lt;/P&gt;

&lt;P&gt;No errors when it starts up and forks into the background.&lt;BR /&gt;
I see this message immediately in the stderr log:&lt;BR /&gt;
2013-11-28 09:43:51.111 -0600 splunkd started (build 182037)&lt;/P&gt;

&lt;P&gt;I notice that my Splunk server is reporting lines received. Then, it crashes ~1 minute later:&lt;/P&gt;

&lt;P&gt;splunkd: /opt/splunk/p4/splunk/branches/6.0.0/src/pipeline/input/ArchiveProcessor.cpp:1044: bool ArchiveCrcChecker::seekAndComputeSeekCrc(): Assertion `(file_offset_t)_seekPtr &amp;gt;= dp-&amp;gt;curPos()' failed.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 15:23:09 GMT</pubDate>
    <dc:creator>clete2</dc:creator>
    <dc:date>2020-09-28T15:23:09Z</dc:date>
    <item>
      <title>Splunk Forwarder Crashes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Crashes/m-p/159840#M32403</link>
      <description>&lt;P&gt;I am having an issue with Splunk Forwarder on my Linux machine crashing shortly after startup. I have been unable to run &lt;CODE&gt;splunk fsck&lt;/CODE&gt; because I can't seem to fulfill all the requirements. E.g.:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;cleteNAS bin # ./splunk fsck --all-buckets-all-indexes repair
stanza=default Required parameter=blockSignatureDatabase not configured
terminate called after throwing an instance of 'IndexConfigException'
  what():  stanza=default Required parameter=blockSignatureDatabase not configured
ERROR: pid 28921 terminated with signal 6
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I set this parameter and I just keep getting more errors. I found an answer that talks about repairing indexes, but I don't see any of the files it mentions.&lt;/P&gt;

&lt;P&gt;Below is my error log. I did not include the stderr output because the log below spits out the entirety of the stderr log.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;cleteNAS splunk # cat crash-2013-11-27-13\:12\:53.log
[build 182037] 2013-11-27 13:12:53
Received fatal signal 6 (Aborted).
 Cause:
   Signal sent by PID 11662 running under UID 0.
 Crashing thread: archivereader
 Registers:
    RIP:  [0x00007F0038C22395] gsignal + 53 (/lib64/libc.so.6)
    RDI:  [0x0000000000002D8E]
    RSI:  [0x0000000000002DA4]
    RBP:  [0x00000000012995F8]
    RSP:  [0x00007F00329E7018]
    RAX:  [0x0000000000000000]
    RBX:  [0x00007F0039FDC000]
    RCX:  [0xFFFFFFFFFFFFFFFF]
    RDX:  [0x0000000000000006]
    R8:  [0xFEFEFEFEFEFEFEFF]
    R9:  [0x00007F003A02FF60]
    R10:  [0x0000000000000008]
    R11:  [0x0000000000000206]
    R12:  [0x0000000001299678]
    R13:  [0x000000000129A300]
    R14:  [0x00007F00341746A0]
    R15:  [0x00007F00348434DB]
    EFL:  [0x0000000000000206]
    TRAPNO:  [0x0000000000000000]
    ERR:  [0x0000000000000000]
    CSGSFS:  [0x0000000000000033]
    OLDMASK:  [0x0000000000000000]

 OS: Linux
 Arch: x86-64

 Backtrace:
  [0x00007F0038C22395] gsignal + 53 (/lib64/libc.so.6)
  [0x00007F0038C23865] abort + 389 (/lib64/libc.so.6)
  [0x00007F0038C1B39E] ? (/lib64/libc.so.6)
  [0x00007F0038C1B442] ? (/lib64/libc.so.6)
  [0x000000000083AA16] _ZN17ArchiveCrcChecker21seekAndComputeSeekCrcEv + 598 (splunkd)
  [0x000000000083D345] _ZN17ArchiveCrcChecker5writeEPKcm + 357 (splunkd)
  [0x0000000000AA0717] _ZN14ArchiveContext7processERK8PathnameP13ISourceWriter + 855 (splunkd)
  [0x0000000000AA0E95] _ZN14ArchiveContext9readFullyEP13ISourceWriterRb + 1221 (splunkd)
  [0x000000000083CFA2] _ZN16ArchiveProcessor20haveReadAsNonArchiveE14FileDescriptorlPK3Str + 578 (splunkd)
  [0x000000000083EE53] _ZN16ArchiveProcessor4mainEv + 2755 (splunkd)
  [0x0000000000D81A2D] _ZN6Thread8callMainEPv + 61 (splunkd)
  [0x00007F0038FA3FC7] ? (/lib64/libpthread.so.0)
  [0x00007F0038CDA4ED] clone + 109 (/lib64/libc.so.6)
 Linux / cleteNAS / 3.4.3-gentoo / #3 SMP Fri Feb 1 17:38:44 CST 2013 / x86_64
 Last few lines of stderr (may contain info on assertion failure, but also could be old):
    2013-10-12 15:56:00.794 -0500 splunkd started (build 182037)
    Dying on signal #15 (si_code=0), sent by PID 26392 (UID 0)
    2013-11-20 16:48:56.744 -0600 splunkd started (build 182037)
    splunkd: /opt/splunk/p4/splunk/branches/6.0.0/src/pipeline/input/ArchiveProcessor.cpp:1044: bool ArchiveCrcChecker::seekAndComputeSeekCrc(): Assertion `(file_offset_t)_seekPtr &amp;gt;= dp-&amp;gt;curPos()' failed.
    2013-11-27 13:10:48.343 -0600 splunkd started (build 182037)
    splunkd: /opt/splunk/p4/splunk/branches/6.0.0/src/pipeline/input/ArchiveProcessor.cpp:1044: bool ArchiveCrcChecker::seekAndComputeSeekCrc(): Assertion `(file_offset_t)_seekPtr &amp;gt;= dp-&amp;gt;curPos()' failed.

 /etc/gentoo-release: Gentoo Base System release 2.2
 glibc version: 2.17
 glibc release: stable
Last errno: 0
Threads running: 27
argv: [splunkd -p 8089 start]
Thread: "archivereader", did_join=0, ready_to_run=Y, main_thread=N
First 8 bytes of Thread token @0x7f0034843330:
00000000  00 87 9f 32 00 7f 00 00                           |...2....|
00000008

x86 CPUID registers:
         0: 00000006 68747541 444D4163 69746E65
         1: 00500F10 00020800 00802209 178BFBFF
         2: 00000000 00000000 00000000 00000000
         3: 00000000 00000000 00000000 00000000
         4: 00000000 00000000 00000000 00000000
         5: 00000040 00000040 00000003 00000000
         6: 00000000 00000000 00000001 00000000
  80000000: 8000001B 68747541 444D4163 69746E65
  80000001: 00500F10 00001242 000035FF 2FD3FBFF
  80000002: 20444D41 35332D45 72502030 7365636F
  80000003: 00726F73 00000000 00000000 00000000
  80000004: 00000000 00000000 00000000 00000000
  80000005: FF08FF08 FF280000 20080140 20020140
  80000006: 00000000 42004200 02008140 00000000
  80000007: 00000000 00000000 00000000 000001F9
  80000008: 00003024 00000000 00001001 00000000
  80000009: 00000000 00000000 00000000 00000000
  8000000A: 00000001 00000008 00000000 0000060F
  8000000B: 00000000 00000000 00000000 00000000
  8000000C: 00000000 00000000 00000000 00000000
  8000000D: 00000000 00000000 00000000 00000000
  8000000E: 00000000 00000000 00000000 00000000
  8000000F: 00000000 00000000 00000000 00000000
  80000010: 00000000 00000000 00000000 00000000
  80000011: 00000000 00000000 00000000 00000000
  80000012: 00000000 00000000 00000000 00000000
  80000013: 00000000 00000000 00000000 00000000
  80000014: 00000000 00000000 00000000 00000000
  80000015: 00000000 00000000 00000000 00000000
  80000016: 00000000 00000000 00000000 00000000
  80000017: 00000000 00000000 00000000 00000000
  80000018: 00000000 00000000 00000000 00000000
  80000019: 00000000 00000000 00000000 00000000
  8000001A: 00000000 00000000 00000000 00000000
  8000001B: 000000FF 00000000 00000000 00000000
terminating...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Nov 2013 13:10:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Crashes/m-p/159840#M32403</guid>
      <dc:creator>clete2</dc:creator>
      <dc:date>2013-11-28T13:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Crashes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Crashes/m-p/159841#M32404</link>
      <description>&lt;P&gt;When you start the forwarder from the command prompt &lt;BR /&gt;
&lt;CODE&gt;splunk\bin\splunk restart&lt;/CODE&gt;&lt;BR /&gt;
what errors do you get?&lt;BR /&gt;
Is this a heavy forwarder that is indexing data?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2013 15:22:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Crashes/m-p/159841#M32404</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-28T15:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Crashes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Crashes/m-p/159842#M32405</link>
      <description>&lt;P&gt;It is a lightweight forwarder. The only setup I performed was to add files to monitor and a server to forward to.&lt;/P&gt;

&lt;P&gt;No errors when it starts up and forks into the background.&lt;BR /&gt;
I see this message immediately in the stderr log:&lt;BR /&gt;
2013-11-28 09:43:51.111 -0600 splunkd started (build 182037)&lt;/P&gt;

&lt;P&gt;I notice that my Splunk server is reporting lines received. Then, it crashes ~1 minute later:&lt;/P&gt;

&lt;P&gt;splunkd: /opt/splunk/p4/splunk/branches/6.0.0/src/pipeline/input/ArchiveProcessor.cpp:1044: bool ArchiveCrcChecker::seekAndComputeSeekCrc(): Assertion `(file_offset_t)_seekPtr &amp;gt;= dp-&amp;gt;curPos()' failed.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:23:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Crashes/m-p/159842#M32405</guid>
      <dc:creator>clete2</dc:creator>
      <dc:date>2020-09-28T15:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Crashes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Crashes/m-p/159843#M32406</link>
      <description>&lt;P&gt;Running splunk fsck won't do anything on a lightweight forwarder because that is used to repair indexes which don't exist on the lightweight forwarder.&lt;BR /&gt;
Is this a new install?  Have you tried reinstalling the forwarder?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2013 18:53:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Crashes/m-p/159843#M32406</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-28T18:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Crashes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Crashes/m-p/159844#M32407</link>
      <description>&lt;P&gt;Forwarders do not have indexes (except fishbuket) so the bucket repair will fail.&lt;/P&gt;

&lt;P&gt;The component that is crashing is the "archivereader" that process the compressed logs files.&lt;BR /&gt;
Please verify that you have enough memory to uncompress them ?&lt;BR /&gt;
To identify the issue, disable your inputs and re-enable one by one. &lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2013 00:23:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Crashes/m-p/159844#M32407</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2013-11-29T00:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Crashes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Crashes/m-p/159845#M32408</link>
      <description>&lt;P&gt;I have enough memory to do so. I reinstalled the forwarder and copied my inputs.conf back into the search app, ensuring that my setup stays identical. It is now working.&lt;/P&gt;

&lt;P&gt;I just wish I did not have to reinstall.&lt;/P&gt;

&lt;P&gt;Thanks for the information about the indexes. I am new to Splunk and am experimenting with a basic setup.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2013 13:59:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Crashes/m-p/159845#M32408</guid>
      <dc:creator>clete2</dc:creator>
      <dc:date>2013-11-30T13:59:09Z</dc:date>
    </item>
  </channel>
</rss>

