<p>It look like a permission read/write error, if you are sure about the bitcoin binary you are using, then try to run your command with <code>sudo</code> at the begining of it or try a <code>sudo chmod 711 /etc/systemd/system/bitcoind.service</code> which will give the proper right to the file you want to use.</p>

CC BY-SA 4.0
2019-11-02T20:44:44.433Z
2019-11-02T23:24:47.190Z
2019-11-02T23:24:47.190Z
Saxtheowl
<p>So I am running bitcoind everything is fine and the blockchain got synced etc.
Next step is to have bitcoind starting on boot.
I get this error on starting the service after creating a <code>nano /etc/systemd/system/bitcoind.service</code> the erro is <code>Error: Unable to create the PID file /home/path/.bitcoin/bitcoind.pid: Permission denied</code></p>

<p>thanks in advance.</p>

CC BY-SA 4.0
2019-11-02T22:50:02.773Z
Did you change `/home/path` to the home directory of the user bitcoind will run under? Or do you actually have a user called `path`?
Raghav Sood
<bitcoind>
bitcoind service daemon
silver_end
# bitcoind service daemon

(Asked by: username_0 on 2019-11-02)

So I am running bitcoind everything is fine and the blockchain got synced etc.
Next step is to have bitcoind starting on boot.
I get this error on starting the service after creating a `nano /etc/systemd/system/bitcoind.service` the erro is `Error: Unable to create the PID file /home/path/.bitcoin/bitcoind.pid: Permission denied`

thanks in advance.

**Tags:** bitcoind

> **Comments:**
> **username_1**: Did you change `/home/path` to the home directory of the user bitcoind will run under? Or do you actually have a user called `path`?  

---

## 1 answers

### Answer by username_2 on 2019-11-02. Score: 1

It look like a permission read/write error, if you are sure about the bitcoin binary you are using, then try to run your command with `sudo` at the begining of it or try a `sudo chmod 711 /etc/systemd/system/bitcoind.service` which will give the proper right to the file you want to use.


---

