I think that locally running two nodes might be causing some problems, however do not take my word for it.
I'd suggest you to try running other of the nodes on a external server, like on a Vultr VPS for example.
Also i noticed that you have the following line:
sudo ~/bitcoin/src/bitcoind -datadir=$HOME/.bitcoin2 -addnode=127.0.0.1:8962 -port=9333 -rpcport=9332 -debug=rpc -dns=0 -dnsseed=0
Try changing the 8962 to 8963 on the addnode line. You entered the wrong P2P port, unless you are trying to send RPC commands to the another client. Don't know what else could be the problem.