Deployment Architecture

Error deploying an app from Windows deploy server to *nix forwarder

Cris
Explorer

Upgrading the Windows 2008 Indexer/Deploy Server from 4.1.x to 4.2.2 the deploy server can't deploy *nix apps due to the error:

07-11-2011 14:21:00.484 -0100 WARN DeployedServerClass - There was a problem installing app: Terra_Sun_Authlog for server class: c_Terra_Sun_Authlog
07-11-2011 14:22:01.039 -0100 WARN DeployedApplication - Installing app: Terra_Sun_Authlog to location: /opt/splunk\etc\apps/Terra_Sun_Authlog
07-11-2011 14:22:01.084 -0100 ERROR DeployedApplication - Failed to install app : /opt/splunk\etc\apps/Terra_Sun_Authlog. Application does not exist: Terra_Sun_Authlog

I can see some mixing with slash and (windows) back slash on the path!

Any suggestion or workaround? Thank you.

Tags (2)
0 Karma

Cris
Explorer

I already solved the problem adding the below lines on the deploymentclient.conf file of the *nix forwarders:

[deployment-client]

repositoryLocation = $SPLUNK_HOME/etc/apps

serverRepositoryLocationPolicy = rejectAlways

Thanks anyway, bye.

0 Karma

jamesmcgee
Explorer

In my instance, "$SPLUNK_HOME/etc/apps" wasn't known, so for the serverclass specific to Linux, I added the full path.

Probably nothing to do with Splunk, rather my "PATH" settings on Linux, but it may help others.

0 Karma

heathy
New Member

On the linux machine where the app is being deployed you need this line in your deploymentclient.conf file: repositoryLocation = $SPLUNK_HOME/etc/apps

This will fix the wrong slashes, at least it did for me.

0 Karma
Get Updates on the Splunk Community!

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

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

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...