What I did to get b2bcoind working in Ubuntu Linux 17.04:
First error:
./b2bcoind --config-file configs/b2bcoin.conf
Configuration error: Cannot open configuration file
Not surprised since I did not type the path but I was hoping the b2bcoind binary would know where it was but it does not.
So I copied the /configs/b2bcoin.conf to /b2bcoin-linux/binaries/ so now the b2bcoin.conf is in /b2bcoin-linux/binaries/configs/b2bcoin.conf
Did that so I have a easier to type command: ./b2bcoind --config-file configs/b2bcoin.conf
So I then ran that command and it gave me this error:
/b2bcoin-linux/binaries$ ./b2bcoind --config-file configs/b2bcoin.conf
Success: Configuration file openned: "configs/b2bcoin.conf"
2017-Oct-23 21:49:39.316654 INFO forknote v2.1.1.1245 ()
2017-Oct-23 21:49:39.316791 INFO Module folder: ./b2bcoind
2017-Oct-23 21:49:39.316987 INFO Opening DB in /home/me/.b2bcoin/DB
2017-Oct-23 21:49:39.317699 ERROR DB Error. DB can't be opened in /home/me/.b2bcoin/DB. Error: IO error: lock /home/me/.b2bcoin/DB/LOCK: Resource temporarily unavailable
2017-Oct-23 21:49:39.317886 ERROR Exception: IO error
The b2bcoind logs showed this:
2017-Oct-23 21:49:39.316654 INFO [daemon] forknote v2.1.1.1245 ()
2017-Oct-23 21:49:39.316791 INFO [daemon] Module folder: ./b2bcoind
2017-Oct-23 21:49:39.316987 INFO [RocksDBWrapper] Opening DB in /home/me/.b2bcoin/DB
2017-Oct-23 21:49:39.317699 ERROR [RocksDBWrapper] DB Error. DB can't be opened in /home/me/.b2bcoin/DB. Error: IO error: lock /home/me/.b2bcoin/DB/LOCK: Resource temporarily unavailable
2017-Oct-23 21:49:39.317886 ERROR [daemon] Exception: IO error
But running top showed the daemon was running and also the b2bcoind log was showing that the daemon was acually able to download some of the blockchain before it stopped.
To fix that I added one line to the b2bcoin.conf file:
bind-address=127.0.0.1
And that fixed it.
2017-Oct-23 22:21:56.998533 INFO Block efa6cfe0083eec618ea7926dbfb27feb45a6007eb7fb579abc2b3202180e1991 added to main chain. Index: 47200
2017-Oct-23 22:22:15.845943 INFO Block 5f921f30f06ef406de127196718830c2b48a2f253096b43c0db66a4f605792f3 added to main chain. Index: 47300
2017-Oct-23 22:22:27.426001 INFO Block 7ad14226b86af0aa9b64e6033a3c092fbc0566188eb49e5e75c53cd076fbf053 added to main chain. Index: 47400
2017-Oct-23 22:22:33.424452 INFO Block 42e4c584f499abdf5593467367edd804deb0ddd629ce4b51e4212981939f4db3 added to main chain. Index: 47500
2017-Oct-23 22:22:39.930713 INFO Block fec981c1f829c9414000513ecd575440a3cb7f66f7d3cd5ade13be567380689d added to main chain. Index: 47600
2017-Oct-23 22:22:46.460076 INFO Block 8910eb74677e354c5172b59ee0fb597a13a232628257cb95fd3980083a6ae4a2 added to main chain. Index: 47700
2017-Oct-23 22:22:47.883984 INFO [144.217.87.79:39155 OUT] SYNCHRONIZED OK
2017-Oct-23 22:22:47.884344 INFO
2017-Oct-23 22:22:47.884344 INFO **********************************************************************
2017-Oct-23 22:22:47.884344 INFO You are now synchronized with the network. You may now start simplewallet.
2017-Oct-23 22:22:47.884344 INFO
2017-Oct-23 22:22:47.884344 INFO Please note, that the blockchain will be saved only after you quit the daemon with "exit" command or if you use "save" command.
2017-Oct-23 22:22:47.884344 INFO Otherwise, you will possibly need to synchronize the blockchain again.
2017-Oct-23 22:22:47.884344 INFO
2017-Oct-23 22:22:47.884344 INFO Use "help" command to see the list of available commands.
2017-Oct-23 22:22:47.884344 INFO **********************************************************************