spawn EACCES error while starting Skedler

Modified on Mon, 4 Jul, 2016 at 8:26 AM

When you start skedler and if you see the following error in console or in skedler log (skedler.log):

Error: spawn EACCES

    at exports._errnoException (util.js:870:11)

    at ChildProcess.spawn (internal/child_process.js:298:11)

    at exports.spawn (child_process.js:362:9)

    at spawn (/opt/skedler/node_modules/win-spawn/index.js:54:10)

    at startPhantomProcess (/opt/skedler/node_modules/ghost-town/node_modules/phantom/phantom.js:17:12)

    at Server.<anonymous> (/opt/skedler/node_modules/ghost-town/node_modules/phantom/phantom.js:115:14)

    at emitNone (events.js:72:20)

    at Server.emit (events.js:166:7)

    at emitListeningNT (net.js:1264:10)

    at doNTCallback1 (node.js:430:9)


internal/child_process.js
    throw errnoException(err, 'spawn');
    ^

Do the following to resolve this issue:

  • Give executable permission to skedler_home directory.

$> sudo chmod -R 765 skedler_home

$> ls -l  skedler_home


Expected behavior of the above command ls: Permissions field containing execute flag: -rwxr-xr-x

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article