Re: "fork/exec exec format error" when installing cf CLI plugins


Simon L.
 

Hey Remi,

Do you have privileged access? What happens if you run the install with
`sudo`

CLI runs the plugin from '/tmp' during installation. Your system might not
allow programs to be executed in /tmp.

- Simon


On Wed, Oct 7, 2015 at 6:55 AM, remi clotaire tassing tagne <
tassingremi(a)gmail.com> wrote:

Hi,
So I was reading about plugins on cf CLI at
https://docs.cloudfoundry.org/devguide/installcf/use-cli-plugins.html

I tried installing a couple of plugins (from
http://plugins.cloudfoundry.org/ui/) but none worked, it gives the error:
FAILED
fork/exec /tmp/plugin_name: exec format error

I thought maybe it was a "go" issue and followed the advice on this link
(changing the tmp folder to smth under home):
http://stackoverflow.com/questions/14943917/go-fork-exec-permission-denied-error
But it didn't work.

my cf version is 6.12.4

Any idea on what's wrong?

Remi

Join {cf-dev@lists.cloudfoundry.org to automatically receive all group messages.