:: Re: [Libbitcoin] libbitcoin fails t…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Neill Miller
日付:  
To: veleiro
CC: libbitcoin
題目: Re: [Libbitcoin] libbitcoin fails to start and no error logs
Hello,

Looks like the store is definitely corrupt if it wasn't shut down
properly. By chance, did you get a crash during the sync? I ask
because I have seen something similar twice in a row now on master
post block 400k+ (the last one being at 441857).

Anytime a crash occurs, there's a chance of store corruption,
especially if you're not flushing writes (config setting).

If you're adventurous, you can try removing the flush_lock file and
try restarting bs, but if there was once corruption, even if it
starts, the corruption persists and may cause future crashes and
further corruption.

The correct way to remedy this is to re-sync from scratch.

Unless you *need* to use master (which is currently unstable), I
recommend using version3, which is production/stable.

-Neill.

On Sun, Aug 13, 2017 at 05:39:37PM +0000, veleiro@??? wrote:
> don't tell me: Ive corrupted the store, haven't I?
>
> https://github.com/libbitcoin/libbitcoin-server/wiki/Frequently-Asked-Questions
>
> Really? damn.. Shouldnt that generate a proper error?
>
> On 2017-08-13 11:55, veleiro@??? wrote:
> > Hello,
> >
> > I'm having problems resuming my sync of mainnet blockchain. I build
> > libbitcoin-server from master which reports at v4.0.0. I also cant seem
> > to find the error logs. I changed the location in the config file from
> > the default error_log = error.log to a static location that i could find
> > with no luck.
> >
> > Here's the only feedback that I get after running "bs". I dont want to
> > reinitailize the blockchain because its already been syncing for days.
> >
> > 15:27:32.989303 INFO [server] ================= startup
> > ==================
> > 15:27:32.989341 WARNING [server] ================= startup
> > ==================
> > 15:27:32.989382 ERROR [server] ================= startup
> > ==================
> > 15:27:32.989396 FATAL [server] ================= startup
> > ==================
> > 15:27:32.989407 INFO [server] Using config file:
> > "/usr/local/etc/libbitcoin/bs.cfg"
> > 15:27:32.989425 INFO [server] Please wait while the server is
> > starting...
> > 15:27:32.989871 ERROR [node] Failure starting blockchain.
> > 15:27:32.989903 ERROR [server] Server failed to start with error,
> > operation failed.
> > 15:27:32.989962 INFO [server] Please wait while the server is
> > stopping...
> > 15:27:32.990079 INFO [node] Server stopped successfully.
> >
> > I was also wondering why the libbitcoin version of the blockchain seems
> > much larger than Bitcoin Core by default. I'm almost at 150GB.
> > _______________________________________________
> > Libbitcoin mailing list
> > Libbitcoin@???
> > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/libbitcoin
> _______________________________________________
> Libbitcoin mailing list
> Libbitcoin@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/libbitcoin