When running bitcoind I keep getting - boost::filesystem::space: Operation not permitted #11825

issue L-F-Escobar opened this issue on December 5, 2017
  1. L-F-Escobar commented at 12:37 AM on December 5, 2017: none

    <!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->

    <!-- Describe the issue -->

    <!--- What behavior did you expect? -->

    <!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

    <!--- How reliably can you reproduce the issue, what are the steps to do so? -->

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    <!-- Any extra information that might be useful in the debugging process. -->

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

    Bitcoin Client Software and Version Number: Bitcoin Core 0.15.1 Operating System: Ubuntu 16.04 System Hardware Specs: 2.4 GHz Intel Core CPU with 16 GB RAM and 750 GB free hard drive space. Description of Problem: bitcoind refuses to start up. Keep getting the same error over and over. Screenshot of the problem: https://imgur.com/pj2KFrh debug.log: https://pastebin.com/2LCw5BJt bitconi.conf: https://pastebin.com/ZsQArYRy

    I have a 250GB SDD and a 750GB HDD which I use as storage on my ubuntu 16.04. I have been running a full bitcoin node for a few weeks which I just use to practice interacting with the bitcoin client. A few days ago I turned on my node and got this

    EXCEPTION: N5boost10filesystem16filesystem_errorE
    boost::filesystem::space: Operation not permitted
    bitcoin in AppInit()

    Error: Error: A fatal internal error occurred, see debug.log for details Error: Error: A fatal internal error occurred, see debug.log for details

    I have NO idea how to proceed. I have uninstalled bitcoin core from my system, reformatted my storage drive, reinstalled ubuntu, and just spend hours trying to debug this f'ing issue. I have posted on several message boards and have received literally no helpful replies. My storage HDD is located within the media folder, which I changed permissions on for any user to use. Occasionally bitcoind will start and simply just stay at block 0.... Really frustrated and quite frankly im on the verge of moving on to other projects. Any help me would be greatly appreciated.

  2. fanquake added the label Linux/Unix on Dec 5, 2017
  3. sipa commented at 12:46 AM on December 5, 2017: member

    What filesystem are you using for your datadir?

    For some reason it seems like bitcoind is not permitted to query how much free space you have.

  4. L-F-Escobar commented at 1:01 AM on December 5, 2017: none

    Filesystem Type 1K-blocks Used Available Use% Mounted on udev devtmpfs 8135480 0 8135480 0% /dev tmpfs tmpfs 1632136 9712 1622424 1% /run /dev/mapper/ubuntu--vg-root ext4 213199112 41030224 161315924 21% / tmpfs tmpfs 8160668 211024 7949644 3% /dev/shm tmpfs tmpfs 5120 4 5116 1% /run/lock tmpfs tmpfs 8160668 0 8160668 0% /sys/fs/cgroup /dev/sdb2 ext2 483946 128295 330666 28% /boot /dev/sdb1 vfat 523248 3480 519768 1% /boot/efi /dev/sda1 ext4 720945320 20248600 664051704 3% /media/Storage tmpfs tmpfs 1632136 80 1632056 1% /run/user/1000

    My blocks are stored in /media/Storage/

    /dev/mapper/ubuntu--vg-root on / type ext4 (rw,relatime,errors=remount-ro,data=ordered) /dev/sdb2 on /boot type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl) /dev/sdb1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) /dev/sda1 on /media/Storage type ext4 (rw,nosuid,nodev,relatime,data=ordered) /dev/mapper/ubuntu--vg-root on /var/lib/docker/plugins type ext4 (rw,relatime,errors=remount-ro,data=ordered) /dev/mapper/ubuntu--vg-root on /var/lib/docker/overlay2 type ext4 (rw,relatime,errors=remount-ro,data=ordered)

    EDIT: I changed my data dir to /media/Storage/Blocks

    df -h /media/Storage Filesystem Size Used Avail Use% Mounted on /dev/sda1 688G 20G 634G 3% /media/Storage

  5. TheBlueMatt commented at 9:21 PM on December 6, 2017: member

    Not sure how much is to be done here, but you may try running bitcoind in strace, and finding which syscall actually got a permission error, and then looking around for issues there.

  6. sipa commented at 9:41 PM on December 6, 2017: member

    I believe this is fixed by #11829

  7. fanquake closed this on Mar 7, 2018

  8. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me