Error: listen EPERM edgemicro.sock

Trying to start my microgateway on a linux VM:

PROCESS PID : 3682
Removing the socket file as part of cleanup
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: listen EPERM /projects/my-edgemicro-plugin/edgemicro.sock


interestingly there is no edgemicro.sock file (never has been either) and it starts up fine on my host windows box.

FYI: current nodejs version is v6.11.1 current edgemicro version is 2.4.6

Any ideas as to what might be causing this?

Michael McD.

Solved Solved
0 1 398
1 ACCEPTED SOLUTION

Former Community Member
Not applicable

I suspect the user trying to start EM does not have permissions to read/write files in the folder you are starting EM from.

It is best to start EM from the home folder.

View solution in original post

1 REPLY 1

Former Community Member
Not applicable

I suspect the user trying to start EM does not have permissions to read/write files in the folder you are starting EM from.

It is best to start EM from the home folder.