{"action":"created","issue":{"url":"https://api.github.com/repos/Stadicus/guides/issues/141","repository_url":"https://api.github.com/repos/Stadicus/guides","labels_url":"https://api.github.com/repos/Stadicus/guides/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/Stadicus/guides/issues/141/comments","events_url":"https://api.github.com/repos/Stadicus/guides/issues/141/events","html_url":"https://github.com/Stadicus/guides/issues/141","id":342839520,"node_id":"MDU6SXNzdWUzNDI4Mzk1MjA=","number":141,"title":"Systemctl failed to start bitcoin daemon","user":{"login":"desjardins137","id":41202856,"node_id":"MDQ6VXNlcjQxMjAyODU2","avatar_url":"https://avatars3.githubusercontent.com/u/41202856?v=4","gravatar_id":"","url":"https://api.github.com/users/desjardins137","html_url":"https://github.com/desjardins137","followers_url":"https://api.github.com/users/desjardins137/followers","following_url":"https://api.github.com/users/desjardins137/following{/other_user}","gists_url":"https://api.github.com/users/desjardins137/gists{/gist_id}","starred_url":"https://api.github.com/users/desjardins137/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desjardins137/subscriptions","organizations_url":"https://api.github.com/users/desjardins137/orgs","repos_url":"https://api.github.com/users/desjardins137/repos","events_url":"https://api.github.com/users/desjardins137/events{/privacy}","received_events_url":"https://api.github.com/users/desjardins137/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-19T18:26:06Z","updated_at":"2018-07-20T05:45:13Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\nFirst of all, I must say I'm just a beginner and thank you for bringing this simple guide out. I've been following this guide and I had some issues that I resolved myself after searching online, but this one, I haven't found the problem:\r\n\r\n```\r\nadmin@LightningBerry:~ $ systemctl status bitcoind\r\n● bitcoind.service - Bitcoin daemon\r\n   Loaded: loaded (/etc/systemd/system/bitcoind.service; enabled; vendor preset: enabled)\r\n   Active: activating (auto-restart) (Result: exit-code) since Thu 2018-07-19 14:08:46 EDT; 11s ago\r\n  Process: 823 ExecStart=/usr/local/bin/bitcoind -daemon -conf=/home/bitcoin/.bitcoin/bitcoin.conf -pid=/home/bitcoin/.bitcoin/bitcoind.pid (code=exited, status=255)\r\n```\r\n\r\nIt looks like it has to do with my /home/bitcoin/.bitcoin/bitcoin.conf configuration file or my /etc/systemd/system/bitcoind.service file, but I'm not sure. Here is the script for both:\r\n\r\n*All the '()' on the '#' sign aren't really there*\r\n\r\n RaspiBolt LND Mainnet: bitcoind configuration\r\n```\r\n(#) /home/bitcoin/.bitcoin/bitcoin.conf\r\n\r\n(#) remove the following line to enable Bitcoin mainnet\r\ntestnet=1\r\n\r\n(#) Bitcoind options\r\nserver=1\r\ndaemon=1\r\ntxindex=1\r\ndisablewallet=1\r\n\r\n(#) Connection settings\r\nrpcuser=LightningBerry\r\nrpcpassword=******\r\nzmqpubrawblock=tcp://127.0.0.1:29000\r\nzmqpubrawtx=tcp://127.0.0.1:29000\r\n\r\n(#) Raspberry Pi optimizations\r\ndbcache=100\r\nmaxorphantx=10\r\nmaxmempool=50\r\nmaxconnections=40\r\nmaxuploadtarget=5000\r\n```\r\n\r\n\r\nAND(bitcoind.service):\r\n```\r\n(#) RaspiBolt LND Mainnet: systemd unit for bitcoind\r\n(#) /etc/systemd/system/bitcoind.service\r\n\r\n[Unit]\r\nDescription=Bitcoin daemon\r\nWants=getpublicip.service\r\nAfter=getpublicip.service\r\n\r\n(#) for use with sendmail alert (coming soon)\r\n(#)OnFailure=systemd-sendmail@%n\r\n\r\n[Service]\r\nUser=bitcoin\r\nGroup=bitcoin\r\nType=forking\r\nPIDFile=/home/bitcoin/.bitcoin/bitcoind.pid\r\nExecStart=/usr/local/bin/bitcoind -daemon -conf=/home/bitcoin/.bitcoin/bitcoin.conf -pid=/home$\r\nKillMode=process\r\nRestart=always\r\nTimeoutSec=120\r\nRestartSec=30\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n```\r\nAnybody has a hint?\r\n\r\nThank you\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Stadicus/guides/issues/comments/406495376","html_url":"https://github.com/Stadicus/guides/issues/141#issuecomment-406495376","issue_url":"https://api.github.com/repos/Stadicus/guides/issues/141","id":406495376,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjQ5NTM3Ng==","user":{"login":"Stadicus","id":19550140,"node_id":"MDQ6VXNlcjE5NTUwMTQw","avatar_url":"https://avatars3.githubusercontent.com/u/19550140?v=4","gravatar_id":"","url":"https://api.github.com/users/Stadicus","html_url":"https://github.com/Stadicus","followers_url":"https://api.github.com/users/Stadicus/followers","following_url":"https://api.github.com/users/Stadicus/following{/other_user}","gists_url":"https://api.github.com/users/Stadicus/gists{/gist_id}","starred_url":"https://api.github.com/users/Stadicus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stadicus/subscriptions","organizations_url":"https://api.github.com/users/Stadicus/orgs","repos_url":"https://api.github.com/users/Stadicus/repos","events_url":"https://api.github.com/users/Stadicus/events{/privacy}","received_events_url":"https://api.github.com/users/Stadicus/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T05:45:13Z","updated_at":"2018-07-20T05:45:13Z","author_association":"OWNER","body":"What exactly is the issue, is bitcoind not starting at all, or does it start and exit with an error? Whe you start `bitcoind` manually, does it run?\r\n```\r\n$ sudo su - bitcoin\r\n$ bitcoind\r\n$ tail -f /home/bitcoin/.bitcoin/testnet3/debug.log\r\n```\r\n\r\nAs user \"bitcoin\", can you post the output of the following commands? Use three backticks \\`\\`\\` to format as code block.\r\n\r\n```\r\n$ bitcoind --version\r\n$ ls -la /mnt/hdd/\r\n$ ls -la /home/bitcoin/\r\n$ ls -la /home/bitcoin/.bitcoin/ \r\n$ ls -la /home/bitcoin/.bitcoin/testnet3\r\n$ tail -f /home/bitcoin/.bitcoin/testnet3/debug.log\r\n```"}}
{"actor":{"display_login":"Stadicus"}}