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)

    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