bitcoincandyofficial / bitcoincandy-mining-pool

MIT License
3 stars 6 forks source link

NPM cannot start #1

Open SuzumiyaXZ opened 6 years ago

SuzumiyaXZ commented 6 years ago

root@li:~/z-nomp-bitcoin-candy# npm start

cdy-nomp@0.0.4 start /root/z-nomp-bitcoin-candy LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/:$PWD/node_modules/equihashverify/build/Release/ forever start -l cdyforever.log -o cdypool.log -e cdyerr.log init.js

warn: --minUptime not set. Defaulting to: 1000ms warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms info: Forever processing file: init.js error: Cannot start forever error: log file /root/.forever/cdyforever.log exists. Use the -a or --append option to append log. npm ERR! code ELIFECYCLE npm ERR! errno 255 npm ERR! cdy-nomp@0.0.4 start: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/:$PWD/node_modules/equihashverify/build/Release/ forever start -l cdyforever.log -o cdypool.log -e cdyerr.log init.js npm ERR! Exit status 255 npm ERR! npm ERR! Failed at the cdy-nomp@0.0.4 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-02-28T04_49_21_499Z-debug.log

miningmining commented 6 years ago

Yeah,

Same here!

SeungGiJeong commented 6 years ago

Did you install forever?

sudo npm -g install forever
miningmining commented 6 years ago

Yeah. Did it.

Still keeps the errors.

Op 3 mrt. 2018 om 06:26 heeft SeungGiJeong notifications@github.com het volgende geschreven:

Did you install forever?

sudo npm -g install forever — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

SeungGiJeong commented 6 years ago

Ah. The error says the log file exists at this location /root/.forever/cdyforever.log

error: Cannot start forever

> error: log file /root/.forever/cdyforever.log exists. Use the -a or --append option to append log.

npm ERR! code ELIFECYCLE

To solve this problem, remove that logfile or add -a or --append option at the forever commands

miningmining commented 6 years ago

I’ll try that. Have to rebuild the server Again. Will do that right now. Can we contact by Skype? Skype: patrickdegroot007

Op 3 mrt. 2018 om 06:57 heeft SeungGiJeong notifications@github.com het volgende geschreven:

Ah. The error says the log file exists at this location /root/.forever/cdyforever.log ''' error: Cannot start forever

error: log file /root/.forever/cdyforever.log exists. Use the -a or --append option to append log.

npm ERR! code ELIFECYCLE '''

To solve this problem, remove that logfile or add -a or --append option at the forever commands

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

a7853z commented 6 years ago

delete the /root/.forever/cdyforever.log or keep it rool