Refine your search:

After upgrading from splunk 4.1.4 to splunk 4.1.7 today, I was checking the health of the upgrade and noticed the following error being logged in the search 'index="_internal" source="*splunkd.log" log_level="error"'

02-11-2011 17:14:47.799 ERROR Timeliner - Failed to rm dir /splunk/splunk/var/run/splunk/dispatch/searchparsetmp_2122360156/buckets: No such file or directory

Looking back over the last 30 days, "Timeliner" has only started appearing in those logs since the upgrade and it has logged this error (for a variety of different directories) over 100 times in the 30 minutes since the upgrade.

Should I be concerned?

asked 11 Feb '11, 17:19

bernardgardner's gravatar image

bernardgardner
233
accept rate: 0%

I'm seeing the same behavior. Also on 4.1.7 now.

(15 Feb '11, 00:28) tmeader

Has there ever been any insight from Splunk officially on this? Running 4.1.7 still and get these pretty consistently throughout the day. Permissions on the directory tree is not an issue.

(29 Mar '11, 19:10) tmeader

6 Answers:

Hi,

This is related to SPL-35722. This is a harmless message caused by a lack of checking if the directory actually existed before trying to remove it. It has been fixed with version 4.1.8, in fact you can find an entry in the release notes page: ReleaseNotes 4.1.8

  • Annoying but harmless "ERROR Timeliner - Failed to rm dir" (SPL-35722)

-- Jens

link

answered 03 May '11, 06:41

JensT's gravatar image

JensT
1733412
accept rate: 11%

Same problem on a clean install of 4.1.7. Splunk running under a non-root account called splunk, but I ran chown -R splunk /opt/splunk...blah blah blah.

link

answered 08 Mar '11, 19:31

hacktastic's gravatar image

hacktastic
9716
accept rate: 20%

edited 08 Mar '11, 22:23

I am also getting a lot of these errors in my splunkd.log since upgrading from 4.1.6 to 4.1.7. Our splunk is running as root.

link

answered 07 Mar '11, 22:47

tcotton's gravatar image

tcotton
324
accept rate: 0%

I am having the same problem. I am not sure, but errors seem to have begun after I experienced a power outage.

link

answered 26 Feb '11, 19:37

rohare's gravatar image

rohare
1
accept rate: 0%

Are you running as the same user, or have some files been created with a different owner from what you are running as? If so, you can try doing (as root) "chown -R splunkowner /opt/splunk" or whatever over the directory tree(s) where the files are located to fix this. Stop Splunk, change the owner, than start Splunk back up.

link

answered 25 Feb '11, 23:19

gkanapathy's gravatar image

gkanapathy ♦
32.4k4827
accept rate: 41%

We're running splunk as root, but I did have a look and noticed that there were a number of files owned by uid 508 (but none of the directories), so I figured it was probably good practice to correct those anyway. I did as you suggested and stopped splunk, chowned the dir recursively and started splunk back up.

It doesn't appear to have helped, the same errors are still being logged (but I suspect you didn't expect it to help when running as root anyway).

Thanks for the suggestion.

(01 Mar '11, 00:49) bernardgardner

I guess I would simply file this bug. Alternatively, if you're comfortable deleting some of the affected folders, you can just go ahead and do that. These folder (in var/run/splunk/dispatch) are saved and temporary Splunk search results, so if you don't need the job results, you can delete them.

(01 Mar '11, 02:48) gkanapathy ♦

As far as I can tell, the directories don't exist on the system.

Are you suggesting that I should file a bug, or is that something you can do? (I'm happy to do it, but don't know how).

(01 Mar '11, 22:34) bernardgardner

Me too... recently upgraded to 4.1.7

Drat, the splunk-launch.conf had splunk_home set wrong :-( That would toss a wrench in the works. I'm surprised anything worked. I magically seems to work WAY better now in general ;-)

The errors remain with the paths fixed up. The folders it's complaining about are not there to delete. How do I reset the buckets to forget about these old temp files? The paths seem to be buried in the actual database.

link

answered 25 Feb '11, 20:18

mntbighker's gravatar image

mntbighker
203
accept rate: 0%

edited 25 Feb '11, 23:29

1

Generally you should not need to set SPLUNK_HOME at all. Splunk can figure out the correct home and set it according to the location it is launched from. I never set it in the environment, and recommend you do not.

(25 Feb '11, 23:17) gkanapathy ♦
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×354
×155

Asked: 11 Feb '11, 17:19

Seen: 1,581 times

Last updated: 03 May '11, 06:41

Copyright © 2005-2012 Splunk Inc. All rights reserved.