Translate

2018년 2월 3일 토요일

[NOMP] Error - Module did not self-register







NOMP 설치 후 기동 시 Module did not self-register 에러 발생 시 조치 방법

1004lucifer

root@ubuntu:~/nomp#
root@ubuntu:~/nomp# node init.js
module.js:435
  return process.dlopen(module, path._makeLong(filename));
                 ^

Error: Module did not self-register.
    at Error (native)
    at Object.Module._extensions..node (module.js:435:18)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/root/nomp/node_modules/stratum-pool/node_modules/bignum/index.js:4:11)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
root@ubuntu:~/nomp#
root@ubuntu:~/nomp#
root@ubuntu:~/nomp#
root@ubuntu:~/nomp# nvm list
    v0.10.25
->    system
root@ubuntu:~/nomp#
root@ubuntu:~/nomp#
root@ubuntu:~/nomp# nvm use 0.10.25
Now using node v0.10.25
root@ubuntu:~/nomp#
root@ubuntu:~/nomp#
root@ubuntu:~/nomp# node init.js
2018-02-03 10:36:01 [POSIX]     [Connection Limit] (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised
2018-02-03 10:36:01 [Master]    [CLI] CLI listening on port 17117
2018-02-03 10:36:02 [Master]    [PoolSpawner] Spawned 1 pool(s) on 4 thread(s)
2018-02-03 10:36:02 [Switching] [Setup] (Thread 1) Loading last proxy state from redis
2018-02-03 10:36:02 [Pool]      [htmlcoin] (Thread 1) Share processing setup with redis (127.0.0.1:6379)
2018-02-03 10:36:02 [Pool]      [htmlcoin] (Thread 1) Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"}
(node-watch) First param in callback function  is replaced with event name since 0.5.0, use  `(evt, filename) => {}` if you want to get the filename
2018-02-03 10:36:03 [Website]   [Server] Website started on 0.0.0.0:80
2018-02-03 10:36:03 [Website]   [htmlcoin] Could not dumpprivkey for htmlcoin {"type":"offline","message":"connect ECONNREFUSED"}
2018-02-03 10:36:03 [Switching] [Setup] (Thread 2) Loading last proxy state from redis
2018-02-03 10:36:03 [Pool]      [htmlcoin] (Thread 2) Share processing setup with redis (127.0.0.1:6379)
2018-02-03 10:36:03 [Pool]      [htmlcoin] (Thread 2) Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"}
2018-02-03 10:36:03 [Switching] [Setup] (Thread 3) Loading last proxy state from redis
2018-02-03 10:36:03 [Pool]      [htmlcoin] (Thread 3) Share processing setup with redis (127.0.0.1:6379)
2018-02-03 10:36:03 [Pool]      [htmlcoin] (Thread 3) Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"}
2018-02-03 10:36:03 [Switching] [Setup] (Thread 4) Loading last proxy state from redis
2018-02-03 10:36:03 [Pool]      [htmlcoin] (Thread 4) Share processing setup with redis (127.0.0.1:6379)
2018-02-03 10:36:03 [Pool]      [htmlcoin] (Thread 4) Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"}







NOMP 공식 문서에서 node 10+ 버전을 사용하라고 되어있다.

https://github.com/zone117x/node-open-mining-portal#requirements
1004lucifer



댓글 없음 :

댓글 쓰기