HI so i want to make a mining pool i got pretty far but i found a error and need some help i am offering a bounty of 500 smartcash. It is a bounty it is not the biggest but not the smallest either I will pay it once someone can help me and my pool works. So my issue is.
pool@Mining-pool:~/pool/unomp$ node init.js
[2017-12-07 00:28:58.235] [INFO] [default] - New Relic
[2017-12-07 00:28:58.239] [DEBUG] [default] - NewRelic Monitor New Relic initiated
[2017-12-07 00:28:58.243] [INFO] [default] - Setting POSIX
[2017-12-07 00:28:58.244] [INFO] [default] - POSIX Set
[2017-12-07 00:28:58.244] [INFO] [default] - Run Workers
[2017-12-07 00:28:58.511] [DEBUG] [default] - Master PoolSpawner Spawned 1 pool(s) on 1 thread(s)
[2017-12-07 00:28:59.168] [INFO] [default] - New Relic
[2017-12-07 00:28:59.174] [INFO] [default] - Setting POSIX
[2017-12-07 00:28:59.175] [INFO] [default] - POSIX Set
[2017-12-07 00:28:59.175] [INFO] [default] - Run Workers
[2017-12-07 00:28:59.189] [INFO] [default] - Switching Setup Thread 1 Loading last proxy state from redis
[2017-12-07 00:28:59.206] [DEBUG] [default] - Pool smartcash Thread 1 Share processing setup with redis (127.0.0.1:6379)
[2017-12-07 00:28:59.217] [DEBUG] [default] - Pool smartcash Thread 1 getauxblock call failed for daemon instance 0 with error {"code":-32601,"message":"Method not found"}
[2017-12-07 00:28:59.217] [DEBUG] [default] - Pool smartcash Thread 1 could not update auxillary chains: [object Object]
/home/pool/pool/unomp/node_modules/merged-pooler/lib/jobManager.js:122
var pos = util.getAuxMerklePosition(auxData[i].chainid, size);
^
TypeError: Cannot read property 'chainid' of undefined
at buildMerkleTree (/home/pool/pool/unomp/node_modules/merged-pooler/lib/jobManager.js:122:63)
at JobManager.processTemplate (/home/pool/pool/unomp/node_modules/merged-pooler/lib/jobManager.js:186:29)
at /home/pool/pool/unomp/node_modules/merged-pooler/lib/pool.js:722:69
at itemFinished (/home/pool/pool/unomp/node_modules/merged-pooler/lib/daemon.js:156:36)
at /home/pool/pool/unomp/node_modules/merged-pooler/lib/daemon.js:169:17
at parseJson (/home/pool/pool/unomp/node_modules/merged-pooler/lib/daemon.js:85:17)
at IncomingMessage.<anonymous> (/home/pool/pool/unomp/node_modules/merged-pooler/lib/daemon.js:95:17)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
[2017-12-07 00:28:59.229] [ERROR] [default] - Master PoolSpawner Fork 0 died, spawning replacement worker...
[2017-12-07 00:29:01.838] [INFO] [default] - New Relic
[2017-12-07 00:29:01.845] [INFO] [default] - Setting POSIX
[2017-12-07 00:29:01.845] [INFO] [default] - POSIX Set
[2017-12-07 00:29:01.846] [INFO] [default] - Run Workers
[2017-12-07 00:29:01.859] [INFO] [default] - Switching Setup Thread 1 Loading last proxy state from redis
[2017-12-07 00:29:01.876] [DEBUG] [default] - Pool smartcash Thread 1 Share processing setup with redis (127.0.0.1:6379)
[2017-12-07 00:29:01.886] [DEBUG] [default] - Pool smartcash Thread 1 getauxblock call failed for daemon instance 0 with error {"code":-32601,"message":"Method not found"}
[2017-12-07 00:29:01.886] [DEBUG] [default] - Pool smartcash Thread 1 could not update auxillary chains: [object Object]
/home/pool/pool/unomp/node_modules/merged-pooler/lib/jobManager.js:122
var pos = util.getAuxMerklePosition(auxData[i].chainid, size);
^
TypeError: Cannot read property 'chainid' of undefined
at buildMerkleTree (/home/pool/pool/unomp/node_modules/merged-pooler/lib/jobManager.js:122:63)
at JobManager.processTemplate (/home/pool/pool/unomp/node_modules/merged-pooler/lib/jobManager.js:186:29)
at /home/pool/pool/unomp/node_modules/merged-pooler/lib/pool.js:722:69
at itemFinished (/home/pool/pool/unomp/node_modules/merged-pooler/lib/daemon.js:156:36)
at /home/pool/pool/unomp/node_modules/merged-pooler/lib/daemon.js:169:17
at parseJson (/home/pool/pool/unomp/node_modules/merged-pooler/lib/daemon.js:85:17)
at IncomingMessage.<anonymous> (/home/pool/pool/unomp/node_modules/merged-pooler/lib/daemon.js:95:17)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
[2017-12-07 00:29:01.897] [ERROR] [default] - Master PoolSpawner Fork 0 died, spawning replacement worker...
[2017-12-07 00:29:04.472] [INFO] [default] - New Relic
[2017-12-07 00:29:04.478] [INFO] [default] - Setting POSIX
[2017-12-07 00:29:04.479] [INFO] [default] - POSIX Set
[2017-12-07 00:29:04.479] [INFO] [default] - Run Workers
[2017-12-07 00:29:04.492] [INFO] [default] - Switching Setup Thread 1 Loading last proxy state from redis
[2017-12-07 00:29:04.509] [DEBUG] [default] - Pool smartcash Thread 1 Share processing setup with redis (127.0.0.1:6379)
[2017-12-07 00:29:04.520] [DEBUG] [default] - Pool smartcash Thread 1 getauxblock call failed for daemon instance 0 with error {"code":-32601,"message":"Method not found"}
[2017-12-07 00:29:04.520] [DEBUG] [default] - Pool smartcash Thread 1 could not update auxillary chains: [object Object]
/home/pool/pool/unomp/node_modules/merged-pooler/lib/jobManager.js:122
var pos = util.getAuxMerklePosition(auxData[i].chainid, size);
^
TypeError: Cannot read property 'chainid' of undefined
at buildMerkleTree (/home/pool/pool/unomp/node_modules/merged-pooler/lib/jobManager.js:122:63)
at JobManager.processTemplate (/home/pool/pool/unomp/node_modules/merged-pooler/lib/jobManager.js:186:29)
at /home/pool/pool/unomp/node_modules/merged-pooler/lib/pool.js:722:69
at itemFinished (/home/pool/pool/unomp/node_modules/merged-pooler/lib/daemon.js:156:36)
at /home/pool/pool/unomp/node_modules/merged-pooler/lib/daemon.js:169:17
at parseJson (/home/pool/pool/unomp/node_modules/merged-pooler/lib/daemon.js:85:17)
at IncomingMessage.<anonymous> (/home/pool/pool/unomp/node_modules/merged-pooler/lib/daemon.js:95:17)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
[2017-12-07 00:29:04.531] [ERROR] [default] - Master PoolSpawner Fork 0 died, spawning replacement worker...
[2017-12-07 00:29:07.142] [INFO] [default] - New Relic
[2017-12-07 00:29:07.156] [INFO] [default] - Setting POSIX
[2017-12-07 00:29:07.158] [INFO] [default] - POSIX Set
[2017-12-07 00:29:07.159] [INFO] [default] - Run Workers
[2017-12-07 00:29:07.183] [INFO] [default] - Switching Setup Thread 1 Loading last proxy state from redis
[2017-12-07 00:29:07.215] [DEBUG] [default] - Pool smartcash Thread 1 Share processing setup with redis (127.0.0.1:6379)
[2017-12-07 00:29:07.235] [DEBUG] [default] - Pool smartcash Thread 1 getauxblock call failed for daemon instance 0 with error {"code":-32601,"message":"Method not found"}
[2017-12-07 00:29:07.236] [DEBUG] [default] - Pool smartcash Thread 1 could not update auxillary chains: [object Object]
/home/pool/pool/unomp/node_modules/merged-pooler/lib/jobManager.js:122
var pos = util.getAuxMerklePosition(auxData[i].chainid, size);
^
TypeError: Cannot read property 'chainid' of undefined
at buildMerkleTree (/home/pool/pool/unomp/node_modules/merged-pooler/lib/jobManager.js:122:63)
at JobManager.processTemplate (/home/pool/pool/unomp/node_modules/merged-pooler/lib/jobManager.js:186:29)
at /home/pool/pool/unomp/node_modules/merged-pooler/lib/pool.js:722:69
at itemFinished (/home/pool/pool/unomp/node_modules/merged-pooler/lib/daemon.js:156:36)
at /home/pool/pool/unomp/node_modules/merged-pooler/lib/daemon.js:169:17
at parseJson (/home/pool/pool/unomp/node_modules/merged-pooler/lib/daemon.js:85:17)
at IncomingMessage.<anonymous> (/home/pool/pool/unomp/node_modules/merged-pooler/lib/daemon.js:95:17)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
[2017-12-07 00:29:07.255] [ERROR] [default] - Master PoolSpawner Fork 0 died, spawning replacement worker...
events.js:72
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE
at errnoException (net.js:901:11)
at Server._listen2 (net.js:1039:14)
at listen (net.js:1061:10)
at net.js:1143:9
at dns.js:72:18
at process._tickCallback (node.js:415:13)
pool@Mining-pool:~/pool/unomp$ [2017-12-07 00:29:09.568] [INFO] [default] - New Relic
[2017-12-07 00:29:09.571] [INFO] [default] - New Relic
[2017-12-07 00:29:09.580] [INFO] [default] - Setting POSIX
[2017-12-07 00:29:09.583] [INFO] [default] - POSIX Set
[2017-12-07 00:29:09.583] [INFO] [default] - Run Workers
[2017-12-07 00:29:09.583] [INFO] [default] - Setting POSIX
[2017-12-07 00:29:09.584] [INFO] [default] - POSIX Set
[2017-12-07 00:29:09.585] [INFO] [default] - Run Workers
pool@Mining-pool:~/pool/unomp$
I will pay the person who helps resolve this problem and helps gets my pool working. Smartcash is on cryptopia and Hitbtc so you don't need a wallet. Thank you for your time.