bitcoin.service issue for a noob like me #31021

issue nulladoses openend this issue on October 2, 2024
  1. nulladoses commented at 5:30 pm on October 2, 2024: none

    Motivation

    Hi i don’t know if i’m in the right section but i have a problem installing contrib/init/bitcoind.service. i’m a noob so please if someone can help me. I downloaded bitcoin core full node and Tor. Now i installed the service to start bitcoin core on boot of my machine that is Linux Mint on an old macbook pro. When i make sudo systemctl start bitcoind show like this Schermata del 2024-10-02 19-15-59 but when i reboot the system don’t start automatically and show this: Schermata del 2024-10-02 19-18-17 if i do journalctl -e give me this Schermata del 2024-10-02 19-22-00 the service file is this: Schermata del 2024-10-02 19-24-18 Schermata del 2024-10-02 19-24-55 Schermata del 2024-10-02 19-25-22

    Thank you in advance to whom can help me.

    Possible solution

    No response

    Useful Skills

    • Compiling Bitcoin Core from source
    • Running the C++ unit tests and the Python functional tests

    Guidance for new contributors

    Want to work on this issue?

    For guidance on contributing, please read CONTRIBUTING.md before opening your pull request.

  2. nulladoses added the label good first issue on Oct 2, 2024
  3. luisschwab commented at 2:19 am on October 3, 2024: contributor

    FWIW, this is my bitcoind.service config, running on Ubuntu 24.04:

     0[Unit]
     1Description=Bitcoin Core Daemon
     2After=network-online.target
     3
     4[Service]
     5User=bitcoin
     6Type=simple
     7Restart=on-failure
     8ExecStart=/usr/local/bin/bitcoind
     9
    10[Install]
    11WantedBy=multi-user.target
    

    Then I enabled it:

    0~$ sudo systemctl enable bitcoind.service
    

    Never had any issues with it.

  4. nulladoses commented at 5:47 am on October 3, 2024: none

    thank you for your answer. i found also this looking around

    [Unit] Description=Bitcoin Daemon After=network.target [Service] User=ubuntu PIDFile=/home/ubuntu/.bitcoin/bitcoind.pid ExecStart=/usr/local/bin/bitcoind Restart=always TimeoutSec=120 RestartSec=30 [Install] WantedBy=multi-user.target

    and give me one error when i boot the pc but restart anyway and then is ok thank you ``

  5. nulladoses closed this on Oct 3, 2024

  6. nulladoses reopened this on Oct 3, 2024

  7. willcl-ark commented at 2:56 pm on October 3, 2024: member

    I think we can close this now as it’s resolved.

    In the future please be aware that general bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange or the #bitcoin IRC channel on the Libera Chat network.

  8. willcl-ark closed this on Oct 3, 2024

  9. maflcko removed the label good first issue on Oct 7, 2024
  10. maflcko added the label Questions and Help on Oct 7, 2024

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: 2024-10-31 03:12 UTC

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