UNOMP / unified-node-open-mining-portal

Development stopped and is now unsupported. The node.js version is being deprecated in October 2016.
GNU General Public License v2.0
347 stars 396 forks source link

Hello #101

Closed Ihejohn closed 8 years ago

Ihejohn commented 8 years ago

Please i need assistant, i created dash pool with unomp, when i start the pool the below message shows, please can anyone help me resolve this issue.

[2016-04-19 17:48:33.387] [INFO] [default] - New Relic [2016-04-19 17:48:33.389] [DEBUG] [default] - NewRelic Monitor New Relic initiated [2016-04-19 17:48:33.391] [INFO] [default] - POSIX Not Installed [2016-04-19 17:48:33.391] [DEBUG] [default] - POSIX Connection Limit (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised [2016-04-19 17:48:33.391] [INFO] [default] - Run Workers [2016-04-19 17:48:34.773] [DEBUG] [default] - Master PoolSpawner Spawned 1 pool(s) on 2 thread(s) [2016-04-19 17:48:43.901] [DEBUG] [default] - Master CLI CLI listening on port 17117 [2016-04-19 17:48:48.336] [INFO] [default] - New Relic [2016-04-19 17:48:48.341] [INFO] [default] - New Relic [2016-04-19 17:48:48.345] [INFO] [default] - POSIX Not Installed [2016-04-19 17:48:48.342] [INFO] [default] - New Relic [2016-04-19 17:48:48.347] [INFO] [default] - POSIX Not Installed [2016-04-19 17:48:48.343] [INFO] [default] - New Relic [2016-04-19 17:48:48.347] [INFO] [default] - Run Workers [2016-04-19 17:48:48.347] [INFO] [default] - Run Workers [2016-04-19 17:48:48.351] [INFO] [default] - POSIX Not Installed [2016-04-19 17:48:48.350] [INFO] [default] - POSIX Not Installed [2016-04-19 17:48:48.352] [INFO] [default] - Run Workers [2016-04-19 17:48:48.353] [INFO] [default] - Run Workers [2016-04-19 17:48:48.356] [INFO] [default] - Switching Setup Thread 2 Loading last proxy state from redis [2016-04-19 17:48:48.372] [INFO] [default] - Switching Setup Thread 1 Loading last proxy state from redis node_redis: Warning: Redis server does not require a password, but a password was supplied. node_redis: Warning: Redis server does not require a password, but a password was supplied. [2016-04-19 17:48:49.492] [DEBUG] [default] - Pool dash Thread 2 Share processing setup with redis (127.0.0.1:6379) node_redis: Warning: Redis server does not require a password, but a password was supplied. node_redis: Warning: Redis server does not require a password, but a password was supplied. [2016-04-19 17:48:49.793] [DEBUG] [default] - Switching Setup Thread 2 Last proxy state loaded from redis [2016-04-19 17:48:49.795] [DEBUG] [default] - Pool dash Thread 1 Share processing setup with redis (127.0.0.1:6379) node_redis: Warning: Redis server does not require a password, but a password was supplied. [2016-04-19 17:48:49.796] [DEBUG] [default] - Switching Setup Thread 1 Last proxy state loaded from redis [2016-04-19 17:48:49.799] [WARN] [default] - Switching Setup Thread 1 Switching "switch3" listening for x11 on port 5555 into dash [2016-04-19 17:48:49.800] [WARN] [default] - Switching Setup Thread 2 Switching "switch3" listening for x11 on port 5555 into dash [2016-04-19 17:48:52.078] [DEBUG] [default] - Website Server Website started on 98.46.142.1:80 node_redis: Warning: Redis server does not require a password, but a password was supplied. node_redis: Warning: Redis server does not require a password, but a password was supplied. node_redis: Warning: Redis server does not require a password, but a password was supplied.

/home/userbitsman/unomp/libs/paymentProcessor.js:48 coins.forDash(function(coin){ ^ TypeError: Object true has no method 'forDash' at /home/userbitsman/unomp/libs/paymentProcessor.js:48:19 at /home/userbitsmanl/unomp/node_modules/async/dist/async.js:3394:17 at /home/userbitsman/unomp/node_modules/async/dist/async.js:365:16 at /home/userbitsman/unomp/node_modules/async/dist/async.js:839:29 at /home/userbitsman/unomp/node_modules/async/dist/async.js:804:16 at /home/userbitsman/unomp/node_modules/async/dist/async.js:3384:21 at /home/userbitsman/unomp/libs/paymentProcessor.js:45:17 at /home/userbitsman/unomp/libs/paymentProcessor.js:146:9 at /home/userbitsman/unomp/node_modules/async/dist/async.js:3484:13 at /home/userbitsman/unomp/node_modules/async/dist/async.js:365:16 [2016-04-19 17:49:02.820] [ERROR] [default] - Master Payment Processor Payment processor died, spawning replacement... [2016-04-19 17:49:03.231] [DEBUG] [default] - Pool dash Thread 2 started for dash [DASH] {x11} [2016-04-19 17:49:03.231] [DEBUG] [default] - Switching Setup x11 Setting proxy difficulties after pool start [2016-04-19 17:49:03.406] [DEBUG] [default] - Pool dash Thread 1 started for dash [DASH] {x11} Network Connected: Mainnet Detected Reward Type: POW Current Block Height: 455932 Current Connect Peers: 8 Current Block Diff: 3129.594221886 Network Difficulty: 3133.00037422 Network Hash Rate: 90.23 GH Stratum Port(s): 3008, 3256, 5555 Pool Fee Percent: 1.6% Block polling every: 1000 ms [2016-04-19 17:49:03.406] [DEBUG] [default] - Switching Setup x11 Setting proxy difficulties after pool start [2016-04-19 17:49:05.430] [INFO] [default] - New Relic [2016-04-19 17:49:05.434] [INFO] [default] - POSIX Not Installed [2016-04-19 17:49:05.434] [INFO] [default] - Run Workers node_redis: Warning: Redis server does not require a password, but a password was supplied. [2016-04-19 17:49:05.553] [ERROR] [default] - Payments dash Error detecting number of satoshis in a coin, cannot do payment processing. Tried parsing: {"result":0.00000000,"error":null,"id":1461106145441}

/home/userbitsman/unomp/libs/paymentProcessor.js:48 coins.forDash(function(coin){ ^ TypeError: Cannot call method 'forDash' of null at /home/userbitsman/unomp/libs/paymentProcessor.js:48:19 at /home/userbitsman/unomp/node_modules/async/dist/async.js:3396:17 at /home/userbitsman/unomp/node_modules/async/dist/async.js:365:16 at replenish (/home/userbitsman/unomp/node_modules/async/dist/async.js:823:28) at /home/userbitsman/unomp/node_modules/async/dist/async.js:842:29 at /home/userbitsman/unomp/node_modules/async/dist/async.js:804:16 at /home/userbitsman/unomp/node_modules/async/dist/async.js:3389:21 at /home/userbitsman/unomp/libs/paymentProcessor.js:45:17 at /home/userbitsman/unomp/libs/paymentProcessor.js:135:13 at /home/userbitsman/unomp/node_modules/async/dist/async.js:3484:13

ivugeocoin commented 8 years ago

100 Same error message, so try older commit, it's probably issue of last uNOMP version (i have already contancted sigwo and infernoman about it :) )

sigwo commented 8 years ago

closed with a6d73087ad550074566213fe7544b9353798ff71

djspacedevil commented 8 years ago

Is not closed.

i had made your changes in the a6d7308. This dont help.

`[2016-04-26 20:14:11.984] [INFO] [default] - New Relic [2016-04-26 20:14:11.986] [INFO] [default] - POSIX Not Installed [2016-04-26 20:14:11.987] [INFO] [default] - Run Workers node_redis: Warning: Redis server does not require a password, but a password was supplied. node_redis: Warning: Redis server does not require a password, but a password was supplied. node_redis: Warning: Redis server does not require a password, but a password was supplied. node_redis: Warning: Redis server does not require a password, but a password was supplied. node_redis: Warning: Redis server does not require a password, but a password was supplied. node_redis: Warning: Redis server does not require a password, but a password was supplied. [2016-04-26 20:14:12.001] [ERROR] [default] - Payments gamecredits Error detecting number of satoshis in a coin, cannot do payment processing. Tried parsing: {"result":0.00000000,"error":null,"id":1461701651993}

/opt/unomp/libs/paymentProcessor.js:48 coins.forEach(function(coin){ ^ TypeError: Object true has no method 'forEach' at /opt/unomp/libs/paymentProcessor.js:48:19 at /opt/unomp/node_modules/async/dist/async.js:3394:17 at /opt/unomp/node_modules/async/dist/async.js:365:16 at /opt/unomp/node_modules/async/dist/async.js:839:29 at /opt/unomp/node_modules/async/dist/async.js:804:16 at /opt/unomp/node_modules/async/dist/async.js:3384:21 at /opt/unomp/libs/paymentProcessor.js:45:17 at /opt/unomp/libs/paymentProcessor.js:146:9 at /opt/unomp/node_modules/async/dist/async.js:3484:13 at /opt/unomp/node_modules/async/dist/async.js:365:16 [2016-04-26 20:14:12.007] [ERROR] [default] - Master Payment Processor Payment processor died, spawning replacement...`

sigwo commented 8 years ago

You need to:

cd unomp
sudo rm -rf node_modules
git pull
npm cache clear
sudo npm install

Please update your thumb down please.

Ihejohn commented 8 years ago

Hello, i have try the older version of uNOMP as you told me still showing the same payment processing error, i try nomp still the same thing. I have remove the node_modules based on your previous instruction , i removed dash daemon and put unobtanium daemon, when i start uNOMP it still show this below message:

[2016-04-27 05:05:01.589] [INFO] [default] - New Relic [2016-04-27 05:05:01.591] [DEBUG] [default] - NewRelic Monitor New Relic initiat ed [2016-04-27 05:05:01.592] [INFO] [default] - POSIX Not Installed [2016-04-27 05:05:01.592] [DEBUG] [default] - POSIX Connection Limit (Safe to ig nore) POSIX module not installed and resource (connection) limit was not raised [2016-04-27 05:05:01.592] [INFO] [default] - Run Workers [2016-04-27 05:05:02.240] [DEBUG] [default] - Master PoolSpawner Spawned 1 pool( s) on 2 thread(s) [2016-04-27 05:05:02.307] [INFO] [default] - New Relic [2016-04-27 05:05:02.310] [INFO] [default] - POSIX Not Installed [2016-04-27 05:05:02.310] [INFO] [default] - Run Workers [2016-04-27 05:05:02.317] [INFO] [default] - Switching Setup Thread 1 Loading la st proxy state from redis node_redis: Warning: Redis server does not require a password, but a password wa s supplied. [2016-04-27 05:05:02.447] [DEBUG] [default] - Pool unobtanium Thread 1 Share pro cessing setup with redis (127.0.0.1:6379) node_redis: Warning: Redis server does not require a password, but a password wa s supplied. [2016-04-27 05:05:02.447] [DEBUG] [default] - Switching Setup Thread 1 Last prox y state loaded from redis [2016-04-27 05:05:02.451] [WARN] [default] - Switching Setup Thread 1 Switching "switch1" listening for sha256 on port 3333 into unobtanium [2016-04-27 05:05:02.601] [DEBUG] [default] - Pool unobtanium Thread 1 started f or unobtanium [UNO] {sha256} Network Connected: Mainnet Detected Reward Type: POW Current Block Height: 769218 Current Connect Peers: 14 Current Block Diff: 7863982. 509333829 Network Difficulty: 7714941. 23818545 Network Hash Rate: 164.82 T H Stratum Port(s): 3008, 30 32, 3256 Pool Fee Percent: 10% Block polling every: 1000 ms [2016-04-27 05:05:02.602] [DEBUG] [default] - Switching Setup sha256 Setting pro xy difficulties after pool start [2016-04-27 05:05:02.609] [INFO] [default] - New Relic [2016-04-27 05:05:02.612] [INFO] [default] - POSIX Not Installed [2016-04-27 05:05:02.612] [INFO] [default] - Run Workers [2016-04-27 05:05:02.620] [INFO] [default] - Switching Setup Thread 2 Loading la st proxy state from redis node_redis: Warning: Redis server does not require a password, but a password wa s supplied. [2016-04-27 05:05:02.625] [DEBUG] [default] - Pool unobtanium Thread 2 Share pro cessing setup with redis (127.0.0.1:6379) node_redis: Warning: Redis server does not require a password, but a password wa s supplied. [2016-04-27 05:05:02.629] [DEBUG] [default] - Switching Setup Thread 2 Last prox y state loaded from redis [2016-04-27 05:05:02.631] [WARN] [default] - Switching Setup Thread 2 Switching "switch1" listening for sha256 on port 3333 into unobtanium [2016-04-27 05:05:02.641] [DEBUG] [default] - Pool unobtanium Thread 2 started f or unobtanium [UNO] {sha256} [2016-04-27 05:05:02.641] [DEBUG] [default] - Switching Setup sha256 Setting pro xy difficulties after pool start [2016-04-27 05:05:11.737] [DEBUG] [default] - Master CLI CLI listening on port 17117 [2016-04-27 05:05:12.066] [INFO] [default] - New Relic [2016-04-27 05:05:12.067] [INFO] [default] - New Relic [2016-04-27 05:05:12.069] [INFO] [default] - POSIX Not Installed [2016-04-27 05:05:12.069] [INFO] [default] - Run Workers [2016-04-27 05:05:12.069] [INFO] [default] - POSIX Not Installed [2016-04-27 05:05:12.070] [INFO] [default] - Run Workers node_redis: Warning: Redis server does not require a password, but a password was supplied. [2016-04-27 05:05:12.195] [ERROR] [default] - Payments unobtanium Error detecting number of satoshis in a coin, cannot do payment processing. Tried parsing: {"result":0.01000000,"error":null,"id":1461751512080}

/home/bitcopool/unomp/libs/paymentProcessor.js:48 coins.forEach(function(coin){ ^ TypeError: Cannot call method 'forEach' of null at /home/useroot/unomp/libs/paymentProcessor.js:48:19 at /home/useroot/unomp/node_modules/async/dist/async.js:3396:17 at /home/useroot/unomp/node_modules/async/dist/async.js:365:16 at replenish (/home/useroot/unomp/node_modules/async/dist/async.js:823:28) at /home/useroot/unomp/node_modules/async/dist/async.js:842:29 at /home/bitcopool/unomp/node_modules/async/dist/async.js:804:16 at /home/bitcopool/unomp/node_modules/async/dist/async.js:3389:21 at /home/bitcopool/unomp/libs/paymentProcessor.js:45:17 at /home/bitcopool/unomp/libs/paymentProcessor.js:134:13 at /home/bitcopool/unomp/node_modules/async/dist/async.js:3484:13 [2016-04-27 05:05:12.200] [ERROR] [default] - Master Payment Processor Payment processor died, spawning replacement... [2016-04-27 05:05:12.392] [DEBUG] [default] - Website Server Website started on 92.43.106.9:80 node_redis: Warning: Redis server does not require a password, but a password was supplied. node_redis: Warning: Redis server does not require a password, but a password was supplied. node_redis: Warning: Redis server does not require a password, but a password was supplied. [2016-04-27 05:05:13.617] [DEBUG] [default] - Pool unobtanium Thread 1 getting block notification via RPC polling [2016-04-27 05:05:13.649] [DEBUG] [default] - Pool unobtanium Thread 2 getting block notification via RPC polling [2016-04-27 05:05:14.536] [INFO] [default] - New Relic [2016-04-27 05:05:14.539] [INFO] [default] - POSIX Not Installed [2016-04-27 05:05:14.539] [INFO] [default] - Run Workers node_redis: Warning: Redis server does not require a password, but a password was supplied. [2016-04-27 05:05:14.562] [ERROR] [default] - Payments unobtanium Error detecting number of satoshis in a coin, cannot do payment processing. Tried parsing: {"result":0.01000000,"error":null,"id":1461751514547}

/home/useroot/unomp/libs/paymentProcessor.js:48 coins.forEach(function(coin){ ^ TypeError: Cannot call method 'forEach' of null at /home/useroot/unomp/libs/paymentProcessor.js:48:19 at /home/useroot/unomp/node_modules/async/dist/async.js:3396:17 at /home/useroot/unomp/node_modules/async/dist/async.js:365:16 at replenish (/home/bitcopool/unomp/node_modules/async/dist/async.js:823:28) at /home/useroot/unomp/node_modules/async/dist/async.js:842:29 at /home/useroot/unomp/node_modules/async/dist/async.js:804:16 at /home/useroot/unomp/node_modules/async/dist/async.js:3389:21 at /home/useroot/unomp/libs/paymentProcessor.js:45:17 at /home/useroot/unomp/libs/paymentProcessor.js:134:13 at /home/useroot/unomp/node_modules/async/dist/async.js:3484:13 [2016-04-27 05:05:14.567] [ERROR] [default] - Master Payment Processor Payment processor died, spawning replacement...

sigwo commented 8 years ago

@Ihejohn please post your ~/unomp/package.json file. and post capture of ls -al ~/unomp

djspacedevil commented 8 years ago

Hy,

only a complete delete and reinstall from github resolves the problems. Make a Backup from the unomp folder. remove it and make a fresh install, copy the old configs back and start.

This works for me.

Ihejohn commented 8 years ago

Hello, Here is the ls -al ~/unomp and package.json file post, as requested.

ls -al ~/unomp total 144 drwxr-xr-x 12 root root 4096 Apr 27 05:04 . drwxr-xr-x 24 useroot useroot 4096 Apr 26 09:16 .. drwxr-xr-x 2 root root 4096 Apr 23 05:45 aux_configs drwxr-xr-x 2 root root 12288 Apr 23 05:45 coins -rw-r--r-- 1 root root 3059 Apr 23 05:51 config.json -rw-r--r-- 1 root root 3056 Apr 23 05:45 config.json.example -rw-r--r-- 1 root root 1687 Apr 23 05:45 CREDITS.md drwxr-xr-x 8 root root 4096 Apr 27 05:02 .git -rw-r--r-- 1 root root 295 Apr 23 05:45 .gitignore -rw-r--r-- 1 root root 17743 Apr 23 05:45 init.js drwxr-xr-x 2 root root 4096 Apr 23 05:45 libs -rw-r--r-- 1 root root 18026 Apr 23 05:45 LICENSE drwxr-xr-x 3 root root 4096 Apr 23 05:45 .metadata drwxr-xr-x 3 root root 4096 Apr 23 05:45 multipool drwxr-xr-x 25 useroot useroot 4096 Apr 27 05:03 node_modules -rw-r--r-- 1 root root 1673 Apr 23 05:45 package.json drwxr-xr-x 2 root root 4096 Apr 24 18:58 pool_configs -rw-r--r-- 1 root root 24332 Apr 23 05:45 README.md drwxr-xr-x 2 root root 4096 Apr 23 05:45 scripts -rw-r--r-- 1 root root 310 Apr 23 05:45 .travis.yml drwxr-xr-x 4 root root 4096 Apr 23 05:45 website

{ "name": "unified-node-open-mining-portal", "version": "0.0.5", "description": "An extremely efficient, highly scalable, all-in-one, easy to setup cryptocurrency mining pool", "keywords": [ "stratum", "mining", "pool", "server", "poolserver", "bitcoin", "litecoin", "scrypt", "merged", "sigwo" ], "homepage": "https://github.com/UNOMP/unified-node-open-mining-portal", "bugs": { "url": "https://github.com/UNOMP/unified-node-open-mining-portal/issues" }, "license": "GPL-2.0", "author": "Steven Grove", "contributors": [ "vekexasia", "TheSeven", "ahmed", "zone117x", "elitemobb", "altnuts", "infernoman" ], "main": "init.js", "bin": { "block-notify": "./scripts/blockNotify.js" }, "repository": { "type": "git", "url": "https://github.com/UNOMP/unified-node-open-mining-portal.git" }, "dependencies": { "merged-pooler": "git://github.com/sigwo/node-merged-pool", "dateformat": "", "log4js": "", "bitcoin": "", "node-json-minify": "", "node.bittrex.api": "", "poloniex.js": "", "cryptsy": "", "redis": "", "mysql": "", "async": "", "express": "", "body-parser": "", "compression": "", "dot": "", "newrelic": "", "colors": "", "node-watch": "", "request": "", "nonce": "", "bignum": "", "extend": "", "node.bittrex.api": "", "cryptsy": "*" }, "engines": { "node": ">=0.12" } }