Post
Topic
Board Announcements (Altcoins)
Re: (ANN) Netcoin has gone POS! With PIR & OWI
by
asor
on 14/10/2016, 19:38:57 UTC
I recently compiled the latest releases (tried tar.gz of v2.5 and directly cloning from git repo) on my Odroid U2 using Linaro Ubuntu (Berkeley DB 5.3.15, December 19, 2011). The first time I start the Netcoin daemon, everything is fine. But when I restart the Netcoin daemon using "./netcoind stop" (checking that it was stopped successfully using Linux CMD "ps") followed by "./netcoind", the Netcoin daemon is always crashing with the following exception:

Code:
************************
EXCEPTION: St13runtime_error
init_blockindex(): error opening database environment IO error: lock /home/odroid/.netcoin/txleveldb/LOCK: already held by process
netcoin in msghand

terminate called after throwing an instance of 'std::runtime_error'
  what():  init_blockindex(): error opening database environment IO error: lock /home/odroid/.netcoin/txleveldb/LOCK: already held by process

When I delete the entire content of the netcoin directory in "/home/odroid/.netcoin" and start the Netcoin daemon, everything works fine and the chain is synchronizing. Whenever I need to restart the Netcoin daemon, I'm getting the error described above, I need to delete the entire directory content in "/home/odroid/.netcoin" and I need to download the entire blockchain again.
Other coins are working like a charm on my Odroid but not Netcoin, so I think it's a problem with Netcoin Undecided Huh Tongue