Open Mentors4EDU opened 6 years ago
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?
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.