Unable to start Edge Microgateway on linux

Hello everyone,

Unable to start Edge Microgateway on Linux:

I have installed edgemicro, configured it when I start it gives some error for -k (for key) and for -s (for secret).
Can anyone guide me please what should I do ? I am running it on CentOs 7.

when I have done above procedure on windows it's running fine but it's not running on Linux

Showing this error on Linux:

8817-error-k.png

0 1 114
1 REPLY 1

It seems like you have used -key instead of --key or -k in the start command, note double - characters:

Usage: start [options]

start the gateway based on configuration


Options:
  -o, --org <org>                    the organization
  -e, --env <env>                    the environment
  -k, --key <key>                    key for authenticating with Edge
  -s, --secret <secret>              secret for authenticating with Edge
  -p, --processes <processes>        number of processes to start, defaults to # of cores
  -d, --pluginDir <pluginDir>        absolute path to plugin directory
  -r, --port <portNumber>            override port in the config.yaml file
  -c, --configDir <configDir>        Set the directory where configs are read from.
  -u, --configUrl <configUrl>        Provide the endpoint to download the edgemicro config file
  -a, --apiProxyName <apiProxyName>  the api proxy name; must be used with env var EDGEMICRO_LOCAL
  -v, --revision <revision>          api proxy revision; required if apiProxyName is set
  -b, --basepath <basepath>          api proxy basePath; required if apiProxyName is set
  -t, --target <target>              target endpoint for proxy; required if apiProxyName is set
  -h, --help                         output usage information