Getting Data In

tarAndChecksum error for deployed app inputs.conf

andrewdidone
Path Finder

Hi,

I'm trying to send configuration through an app to one of my the universal forwarders. The app consists of an inputs.conf and outputs.conf. When I try to do a 'splunk reload deploy-server', it returns with an error "Failed to tarAndChecksum file=C:<deploy-app-folder>" They are currently hosted in the "local" folder of the app, however if i move the config to the "default" folder it seems to work. I'm not receiving anything from the forwarder so I'm guessing some type of file precedence is occurring. Is there any way to fix the "local/inputs.conf" issue?

Thanks,
Andrew

1 Solution

Wallen
Explorer

I assume you are on a Windows installation for your deployment server.

I had the same problem through SPLUNK 6.0.2's GUI of Forwarder Management (Adding an Application), on Server 2012 R2.

It turns out to be an NTFS Permissions issue. When you first create an App from manage apps on the deployment server, the -etc-apps--local folder has different permissions than default, bin, and metadata folders.

To correct the issue, I went into the properties of the -etc-apps--local and turned inheritance on, and replaced inheritance to child objects in that folder.

Then I did the next step and moved the folder to -etc-. Inputs.conf in the local folder no longer caused the tarAndChecksum error.

I hope that helps.

View solution in original post

Wallen
Explorer

I assume you are on a Windows installation for your deployment server.

I had the same problem through SPLUNK 6.0.2's GUI of Forwarder Management (Adding an Application), on Server 2012 R2.

It turns out to be an NTFS Permissions issue. When you first create an App from manage apps on the deployment server, the -etc-apps--local folder has different permissions than default, bin, and metadata folders.

To correct the issue, I went into the properties of the -etc-apps--local and turned inheritance on, and replaced inheritance to child objects in that folder.

Then I did the next step and moved the folder to -etc-. Inputs.conf in the local folder no longer caused the tarAndChecksum error.

I hope that helps.

paco_jj
Engager

worked, thanks!!

0 Karma

andrewdidone
Path Finder

Thanks for that Wallen. I suspected it was a permissions issue.

Cheers,
Andrew

0 Karma

mpsasecurity
Engager

I had the same exact issue in Windows 2012 R2 when creating a server class for the App for Windows Infrastructure.

The fix that worked for me: disabling inheritance, copy perms. Re-enabling inheritance. Select "replace all child object permission entries with inheritable permission entries from this object" and apply the changes to the folder splunk\etc\deployment-apps

0 Karma

j666gak
Communicator

worked for me, thanks

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...