Deployment Architecture

Deployment error in distributed environment

Naaba
New Member

Hi,

When I try to deploy Apps on my search head (distributed environment) I have this error :

Error while creating deployable apps: Error copying src="/opt/splunk/etc/shcluster" to tmp_staging_area="/opt/splunk/var/run/splunk/deploy.cff46bb28403e9bb.tmp": No such file or directory

The folder deploy.cff46bb28403e9bb.tmp exist in /opt/splunk/var/run/splunk/
$ ll /opt/splunk/var/run/splunk/
drwxr-xr-x. 4 splunk splunk 4096 31 juil. 09:34 deploy.cff46bb28403e9bb.tmp

Can you help me please?

Thanks

0 Karma

ddrillic
Ultra Champion

A similar issue at [
Search

Why am I getting "Error while creating deployable apps...No such file or directory" trying to to run "apply shcluster-bundle" on our search head cluster deployer?]1

@ben_leung said -
![alt text][2]

0 Karma

Naaba
New Member

It was a problem of permission in app directory. I changed file permission and now it works

0 Karma

lguinn2
Legend

Is the disk low on space?
What user account is being used to run Splunk? Are all files and directories under /opt/splunk owned by that user account?

Have all the apps been validated? Try installing the apps manually on a test machine - do any of the apps have errors?
Do the apps follow the structure required of Splunk apps?

0 Karma

Naaba
New Member

It was a problem of permission in app directory. I changed file permission and now it works.

Thanks

0 Karma

teunlaan
Contributor

Think I saw this kind of issues before. But what was the problem......?? Think there was a problem with the app's we tried too deploy. please check all the app's have the correct folder structure.

To "debug" this:
1) remove all the apps from deploy folder.
2) add 1 app
3) deploy

now repeat it till it won't deploy anymore

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...