Refine your search:

When uninstalling an app, the following errors are preventing splunkd for restarting:

03-30-2010 22:28:12.157 WARN  DeployedApplication - Uninstalling application: sample_app
03-30-2010 22:28:12.157 WARN  DeployedApplication - Removing app at location: /opt/splunk/etc/apps/sample_app
03-30-2010 22:30:06.068 ERROR IniFile - Cannot open ini file for parsing: No such file or directory
03-30-2010 22:30:06.068 ERROR ConfObjectManagerDB - Cannot initialize: /opt/splunk/etc/apps/sample_app/metadata/default.meta

I copied the entire default app/* structure (except search) to my deployment-apps directory on the deployment server. This file exists on the forwarders prior to the uninstallation. After a manual restart, everything seems to work fine.

I realize I can just set stateOnClient = disabled, but there may be cases when we want to completely remove custom apps.

Any idea what could be causing this problem?

asked 03 Apr '10, 02:06

oreoshake's gravatar image

oreoshake
5101115
accept rate: 31%


One Answer:

It is likely to be this issue, which has been resolved in 4.0.10:

Deploying apps that do not contain a local directory will no longer cause Splunk to crash on the client. (SPL-29019, SPL-30225)

http://www.splunk.com/base/Documentation/latest/ReleaseNotes/4.0.10

link

answered 03 Apr '10, 17:09

gkanapathy's gravatar image

gkanapathy ♦
26.2k1622
accept rate: 42%

Well I am using 4.0.10. It is true that my forwarders are not crashing, but the error is preventing the deployment process from restarting the deployment client

(04 Apr '10, 04:27) oreoshake
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:

×220
×206
×120

Asked: 03 Apr '10, 02:06

Seen: 828 times

Last updated: 17 Apr '10, 17:23

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