Fixed Error Connect EADDRNOTAVAIL ::1:3001 – Local

Ftr1

root@avalon:/home/mpnroot/avalon# node src/cli enable-node ******* -M freemskeys84 -K ********** request to failed, reason: connect EADDRNOTAVAIL ::1:3001 – Local (:::0) root@avalon:/home/mpnroot# netstat -ptlun Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0…

MongoDB Sort Operation Used More Than the Maximum 33554432 Bytes of RAM

Ftr1

12:39:37.351 [INFO] Logger initialized 12:39:37.544 [INFO] Correctly using NodeJS v16.17.0 12:39:37.563 [INFO] Connected to mongodb://localhost:27017/avalon 12:39:37.570 [INFO] Opening blockchain database at /var/blocks… 12:39:37.571 [INFO] Opened blockchain with latest block #19009204 /home/mpnroot/avalon/node_modules/mongodb/lib/utils.js:365 throw error; ^ MongoServerError: Executor error during find command…

How to Show the Tables or Collections in a Mongo Database

Ftr1

Login into MongoDBs shell root@avalon:/# mongo MongoDB shell version v4.2.22 connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb Implicit session: session { "id" : UUID("c16894d6-3307-4239-afdc-4856bcd3e5cd") } MongoDB server version: 4.2.22 > Get the list of databases in the server. > show dbs admin 0.000GB avalon…

How to Build Avalon Node DTube in Debian 10

Ftr20

1. Make sure debian is up-to-date and download git and a few other packages from the debian repos. sudo apt-get -y update && sudo apt-get -y upgrade && \ sudo apt-get install git wget tmux htop jq unzip curl -y…

How to Disable IPv6 on Linux Operating System

Ftr20

1. Open a terminal window. 2. Change to the root user. 3. Type these commands: sysctl -w net.ipv6.conf.all.disable_ipv6=1 sysctl -w net.ipv6.conf.default.disable_ipv6=1 sysctl -w net.ipv6.conf.tun0.disable_ipv6=1 To re-enable IPv6, type these commands: sysctl -w net.ipv6.conf.all.disable_ipv6=0 sysctl -w net.ipv6.conf.default.disable_ipv6=0 sysctl -w net.ipv6.conf.tun0.disable_ipv6=0 sysctl…

How to Wipe Everything in a Mongo Database

Ftr1

I'm doing development on MongoDB. For totally non-evil purposes, I sometimes want to blow away everything in a database—that is, to delete every single collection, and whatever else might be lying around, and start from scratch. Is there a single…

How to Install OpenSSL in Windows 10, 11

Ftr1

Unlike Ubuntu, Windows does not have a built-in openssl executable, you need to install it manually to generate .key, .pem, .crt files. 1. Download OpenSSL installer from depending on your Windows architecture. 2. Install OpenSSL following the installation wizard. Once…