Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with RPC Call and can't run posix #290

Open
Mentors4EDU opened this issue May 12, 2018 · 1 comment
Open

Error with RPC Call and can't run posix #290

Mentors4EDU opened this issue May 12, 2018 · 1 comment

Comments

@Mentors4EDU
Copy link

I keep getting this error everytime I try running node init.js. I don't know if it has to do with the ports I am listening too or why it wouldn't allow me to have bind access. I am running both Monero & Dash as well as Redis and have created the config files already. I looked on GitHub for common problems but haven't been able to seemingly find anything wrong with the RPC. I had both similar problems to UNOMP as I did with zone117x's cryptonote mining portal. Tried doing NPM Install Bindings and it has the bindings file. For some reason also I am entirely unable to install Posix even doing sudo npm install posix or sudo npm install -g posix. Lots of people suggested updating NPM or changing the version of nvm which I also previously tried. Other things I tried, was reinstalling NPM, doing node update multiple times, or even deleting the .npm private directories and modules and trying again. All suggestions didn't fully work, and even using the Forever NPM package to do forever start init.js didn't work either (but was helpful in generating a better log). Does anyone have a suggestion why this error keeps re-occuring on loop when I run init.js or why I can't install posix?

Thanks so much in advanced to anyone who helps me. Any help would be greatly appreciated.

``proxy state from redis
null
�[36m[2018-05-12 15:14:31.236] [DEBUG] [default] - �[39mPool dash Thread 24 Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"}
null
�[36m[2018-05-12 15:14:31.237] [DEBUG] [default] - �[39mPool monero Thread 24 Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"}
�[36m[2018-05-12 15:14:31.239] [DEBUG] [default] - �[39mPool dash Thread 24 Share processing setup with redis (127.0.0.1:6379)
�[36m[2018-05-12 15:14:31.239] [DEBUG] [default] - �[39mPool monero Thread 24 Share processing setup with redis (127.0.0.1:6379)
�[36m[2018-05-12 15:14:34.549] [DEBUG] [default] - �[39mMaster CLI CLI listening on port 17117
�[32m[2018-05-12 15:14:35.111] [INFO] [default] - �[39mNew Relic
�[32m[2018-05-12 15:14:35.116] [INFO] [default] - �[39mPOSIX Not Installed
�[32m[2018-05-12 15:14:35.117] [INFO] [default] - �[39mRun Workers
�[31m[2018-05-12 15:14:35.133] [ERROR] [default] - �[39mPayments dash Error with payment processing daemon {"type":"offline","message":"connect ECONNREFUSED"}
�[31m[2018-05-12 15:14:35.135] [ERROR] [default] - �[39mPayments monero Error with payment processing daemon {"type":"offline","message":"connect ECONNREFUSED"}
�[32m[2018-05-12 15:14:35.143] [INFO] [default] - �[39mNew Relic
�[32m[2018-05-12 15:14:35.148] [INFO] [default] - �[39mPOSIX Not Installed
�[32m[2018-05-12 15:14:35.149] [INFO] [default] - �[39mRun Workers

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: bind EACCES
    at errnoException (net.js:901:11)
    at net.js:1069:30
    at Object.26:1 (cluster.js:592:5)
    at handleResponse (cluster.js:171:41)
    at respond (cluster.js:192:5)
    at handleMessage (cluster.js:202:5)
    at process.EventEmitter.emit (events.js:117:20)
    at handleMessage (child_process.js:318:10)
    at Pipe.channel.onread (child_process.js:345:11)
�[31m[2018-05-12 15:14:35.232] [ERROR] [default] - �[39mMaster Website Website process died, spawning replacement...
�[32m[2018-05-12 15:14:37.800] [INFO] [default] - �[39mNew Relic
�[32m[2018-05-12 15:14:37.805] [INFO] [default] - �[39mPOSIX Not Installed
�[32m[2018-05-12 15:14:37.806] [INFO] [default] - �[39mRun Workers

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: bind EACCES
    at errnoException (net.js:901:11)
    at net.js:1069:30
    at Object.27:1 (cluster.js:592:5)
    at handleResponse (cluster.js:171:41)
    at respond (cluster.js:192:5)
    at handleMessage (cluster.js:202:5)
    at process.EventEmitter.emit (events.js:117:20)
    at handleMessage (child_process.js:318:10)
    at Pipe.channel.onread (child_process.js:345:11)
�[31m[2018-05-12 15:14:37.875] [ERROR] [default] - �[39mMaster Website Website process died, spawning replacement...
�[32m[2018-05-12 15:14:40.436] [INFO] [default] - �[39mNew Relic
�[32m[2018-05-12 15:14:40.441] [INFO] [default] - �[39mPOSIX Not Installed
�[32m[2018-05-12 15:14:40.441] [INFO] [default] - �[39mRun Workers

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: bind EACCES
    at errnoException (net.js:901:11)
    at net.js:1069:30
    at Object.28:1 (cluster.js:592:5)
    at handleResponse (cluster.js:171:41)
    at respond (cluster.js:192:5)
    at handleMessage (cluster.js:202:5)
    at process.EventEmitter.emit (events.js:117:20)
    at handleMessage (child_process.js:318:10)
    at Pipe.channel.onread (child_process.js:345:11)
�[31m[2018-05-12 15:14:40.519] [ERROR] [default] - �[39mMaster Website Website process died, spawning replacement...
�[32m[2018-05-12 15:14:43.077] [INFO] [default] - �[39mNew Relic
�[32m[2018-05-12 15:14:43.082] [INFO] [default] - �[39mPOSIX Not Installed
�[32m[2018-05-12 15:14:43.083] [INFO] [default] - �[39mRun Workers

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: bind EACCES
    at errnoException (net.js:901:11)
    at net.js:1069:30
    at Object.29:1 (cluster.js:592:5)
    at handleResponse (cluster.js:171:41)
    at respond (cluster.js:192:5)
    at handleMessage (cluster.js:202:5)
    at process.EventEmitter.emit (events.js:117:20)
    at handleMessage (child_process.js:318:10)
    at Pipe.channel.onread (child_process.js:345:11)
�[31m[2018-05-12 15:14:43.156] [ERROR] [default] - �[39mMaster Website Website process died, spawning replacement...
@Mentors4EDU
Copy link
Author

Mentors4EDU commented May 12, 2018

I was running redis-stable from my computer doing ./redis-server

Now I also decided to install the node packages redis and node-redis and ended up with a slightly different error for node init.js. This time the error is:

`[2018-05-12 15:57:10.897] [DEBUG] [default] - Pool monero Thread 24 Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"}
[2018-05-12 15:57:10.899] [DEBUG] [default] - Pool dash Thread 24 Share processing setup with redis (127.0.0.1:6379)
[2018-05-12 15:57:10.900] [DEBUG] [default] - Pool monero Thread 24 Share processing setup with redis (127.0.0.1:6379)

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)
`

Any suggestions?

Update:: If I run the command killall -9 node for killing the node processes, and then run node init.js again, it runs into the original error. So it is likely a connection problem that could be related to ports. How do I find out though which port or what I shouldn't be running?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant