z-classic / z-nomp

z-nomp is mining pool software for Zcash and Zclassic so you can create internet money in your home!
MIT License
288 stars 441 forks source link

Forever command #200

Closed gwbraa closed 6 years ago

gwbraa commented 7 years ago

Hey guys

When running

sudo forever start init.js

I am getting this error `/home/user/z-nomp/node_modules/bindings/bindings.js:88 throw e ^

Error: equi.so: cannot open shared object file: No such file or directory at Object.Module._extensions..node (module.js:602:18) at Module.load (module.js:507:32) at tryModuleLoad (module.js:470:12) at Function.Module._load (module.js:462:3) at Module.require (module.js:517:17) at require (internal/module.js:11:18) at bindings (/home/user/z-nomp/node_modules/bindings/bindings.js:81:44) at Object. (/home/user/z-nomp/node_modules/equihashverify/index.js:1:99) at Module._compile (module.js:573:30) at Object.Module._extensions..js (module.js:584:10) error: Forever detected script exited with code: 1 ` But when I am running npm start runs 100%

Do you guys know why? sorry for the noob question

TheComputerGenie commented 7 years ago

Maybe try: forever start -c "npm start" /home/user/z-nomp/ https://github.com/foreverjs/forever/issues/540#issuecomment-37762716

thghdbs commented 7 years ago

Try: sudo forever --minUptime 1000 --spinSleepTime 1000 --sourceDir ~/z-nomp start -c "npm start" ./