Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: mwgggg on May 31, 2017, 03:11:46 PM



Title: Stuck at 33% sync
Post by: mwgggg on May 31, 2017, 03:11:46 PM
When I try to sync I always got stuck 33.something% here is the error log
Quote
17:05:27 UpdateTip: new best=000000000000000002a76a7f962c3591aabf91a4e34c39ecbbf9ec842958f341 height=365029 version=0x00000003 log2_work=83.065584 tx=75940859 date='2015-07-12 19:15:53' progress=0.337767 cache=257.3MiB(98034tx)
2017-05-29 17:05:27 Imported mempool transactions from disk: 0 successes, 0 failed, 0 expired
2017-05-29 17:05:35 Leaving block file 298: CBlockFileInfo(blocks=153, size=134106549, heights=364697...365029, time=2015-07-10...2015-07-12)
2017-05-29 17:05:36 Unable to open file /media/genericusername/SB@/home/genericusername/blocks/blk00299.dat
2017-05-29 17:05:36 Unable to open file /media/genericusername/SB@/home/genericusername/blocks/blk00299.dat
2017-05-29 17:05:36 ERROR: WriteBlockToDisk: OpenBlockFile failed
2017-05-29 17:05:36 *** Failed to write block
2017-05-29 17:06:25 connect() to [2001:0:9d38:953c:c1:18e1:cdd0:a5b3]:8333 failed after select(): Mpeжaтa e нeдocтъпнa (101)
2017-05-29 17:07:37 connect() to [2001:0:9d38:90d7:2c5b:216:e4b8:7cd9]:8333 failed after select(): Mpeжaтa e нeдocтъпнa (101)
2017-05-29 17:08:02 connect() to [2001:0:9d38:6ab8:3015:38b0:6a81:ecc9]:8333 failed after select(): Mpeжaтa e нeдocтъпнa (101)
2017-05-29 17:24:14 socket sending timeout: 1201s
2017-05-29 17:24:14 socket sending timeout: 1201s
2017-05-29 17:24:21 socket sending timeout: 1201s
2017-05-29 17:24:31 socket sending timeout: 1201s
2017-05-29 17:24:43 socket sending timeout: 1201s
2017-05-29 17:24:43 socket sending timeout: 1201s
2017-05-29 17:24:43 socket sending timeout: 1201s
2017-05-29 17:25:32 socket sending timeout: 1201s
2017-05-29 18:48:55 Unable to open file /media/genericusername/SB@/home/genericusername/blocks/blk00299.dat
2017-05-29 18:48:55 Unable to open file /media/genericusername/SB@/home/genericusername/blocks/rev00299.dat
2017-05-29 18:48:55 tor: Thread interrupt
2017-05-29 18:48:55 addcon thread exit
2017-05-29 18:48:55 torcontrol thread exit
2017-05-29 18:48:55 scheduler thread interrupt
2017-05-29 18:48:55 Shutdown: In progress...
2017-05-29 18:48:55 net thread exit
2017-05-29 18:48:55 opencon thread exit
2017-05-29 18:48:55 msghand thread exit
2017-05-29 18:48:56 Dumped mempool: 5e-06s to copy, 0.078261s to dump
2017-05-29 18:48:56 Unable to open file /media/genericusername/SB@/home/genericusername/blocks/blk00299.dat
2017-05-29 18:48:56 Unable to open file /media/genericusername/SB@/home/genericusername/blocks/rev00299.dat
2017-05-29 18:48:59 Shutdown: done
~                                   


Title: Re: Stuck at 33% sync
Post by: achow101 on May 31, 2017, 03:15:44 PM
It's unable to open another blk*.dat and rev*.dat file to store the blockchain. How much free disk space do you have?


Title: Re: Stuck at 33% sync
Post by: mwgggg on May 31, 2017, 03:37:02 PM
It's unable to open another blk*.dat and rev*.dat file to store the blockchain. How much free disk space do you have?
800gb


Title: Re: Stuck at 33% sync
Post by: HCP on June 01, 2017, 04:21:48 AM
Assuming you're on linux given the "/media/genericusername/SB@/home/genericusername/blocks/" path...

It's possible that your 800GB of free space is on a different partition...

In a terminal window, if you type: df -h

What is the output that you get?


Title: Re: Stuck at 33% sync
Post by: mwgggg on June 01, 2017, 03:03:29 PM
Assuming you're on linux given the "/media/genericusername/SB@/home/genericusername/blocks/" path...

It's possible that your 800GB of free space is on a different partition...

In a terminal window, if you type: df -h

What is the output that you get?
udev             5,8G     0   5,8G   0% /dev
tmpfs            1,2G  9,7M   1,2G   1% /run
/dev/sda1        230G  203G    15G  94% /
tmpfs            5,9G   15M   5,9G   1% /dev/shm
tmpfs            5,0M  4,0K   5,0M   1% /run/lock
tmpfs            5,9G     0   5,9G   0% /sys/fs/cgroup
cgmfs            100K     0   100K   0% /run/cgmanager/fs
tmpfs            1,2G   88K   1,2G   1% /run/user/1000


Title: Re: Stuck at 33% sync
Post by: Casy on June 01, 2017, 08:24:14 PM
Does the file /media/genericusername/SB@/home/genericusername/blocks/blk00299.dat already exist? Or is it trying to create it?


Title: Re: Stuck at 33% sync
Post by: HCP on June 01, 2017, 11:34:37 PM
udev             5,8G     0   5,8G   0% /dev
tmpfs            1,2G  9,7M   1,2G   1% /run
/dev/sda1        230G  203G    15G  94% /
tmpfs            5,9G   15M   5,9G   1% /dev/shm
tmpfs            5,0M  4,0K   5,0M   1% /run/lock
tmpfs            5,9G     0   5,9G   0% /sys/fs/cgroup
cgmfs            100K     0   100K   0% /run/cgmanager/fs
tmpfs            1,2G   88K   1,2G   1% /run/user/1000
That is most likely the partition that you are attempting to save the blockchain to... it is only 230GB total size... and currently only has 15GB free...

You can double check by switching to the /media/genericusername folder and doing: df -h .
(don't forget the .)

If that is the case, then I don't think you have enough spare room to download the whole blockchain anyway... you've only got 15GB free... but there is a chance that your blk00299.dat is either corrupted or there is a physical problem with your drive (ie. bad sectors etc)

Make a copy of the blk00299.dat file to another directory, then delete it from the blocks directory and try syncing again.