# Substrate Service Error

**URL:** <https://forum.autonomys.xyz/t/substrate-service-error/460>\
**Category:** Support\
**Created:** [June 23, 2022, 10:10pm UTC](https://forum.autonomys.xyz/t/substrate-service-error/460 "2022-06-23T22:10:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AP\_POWER](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@AP\_POWER](https://forum.autonomys.xyz/u/AP_POWER)\
**Post date:** [June 23, 2022, 10:10pm UTC](https://forum.autonomys.xyz/t/substrate-service-error/460/1 "2022-06-23T22:10:32Z")

</div>

2022-06-23 20:30:56 Subspace  
2022-06-23 20:30:56 ✌ version 0.1.0-3c3a48f865c  
2022-06-23 20:30:56 ❤ by Subspace Labs [https://subspace.network](https://subspace.network), 2021-2022  
2022-06-23 20:30:56 📋 Chain specification: Subspace Gemini 1  
2022-06-23 20:30:56 🏷 Node name: TechchallengedSD2  
2022-06-23 20:30:56 👤 Role: AUTHORITY  
2022-06-23 20:30:56 💾 Database: ParityDb at /root/.local/share/subspace-node/chains/subspace\_gemini\_1b/paritydb/full  
2022-06-23 20:30:56 ⛓ Native runtime: subspace-2 (subspace-0.tx0.au0)  
2022-06-23 20:30:57 [PrimaryChain] Essential task `txpool-background` failed. Shutting down service.  
2022-06-23 20:30:57 [PrimaryChain] Essential task `transaction-pool-task-1` failed. Shutting down service.  
2022-06-23 20:30:57 [PrimaryChain] Essential task `transaction-pool-task-0` failed. Shutting down service.  
Error: SubstrateService(Other(“Failed to build a full subspace node: Sub(Client(RuntimeApiError(Application(UnknownBlock("State already discarded for BlockId::Hash(0x3d1d7056a6a7201f2be6c6b31674eccca572178193eb67a59d17d79c636e9a9d)")))))”))

Hi, I have been running for the past few days without any problems before hitting this error. I am running the jun-13 node/farmer on Linux. Can someone tell me how to fix this?

---

<div class="post-metadata">

**Author:** ![ImmaZoni](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/immazoni/32/7_2.png) [@ImmaZoni](https://forum.autonomys.xyz/u/ImmaZoni)\
**Post date:** [June 24, 2022, 1:44am UTC](https://forum.autonomys.xyz/t/substrate-service-error/460/2 "2022-06-24T01:44:15Z")

</div>

What occurs if you update to the latest snapshot?

---

<div class="post-metadata">

**Author:** ![AP\_POWER](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@AP\_POWER](https://forum.autonomys.xyz/u/AP_POWER)\
**Post date:** [June 24, 2022, 1:58pm UTC](https://forum.autonomys.xyz/t/substrate-service-error/460/3 "2022-06-24T13:58:46Z")

</div>

When I tried to run the latest version (June 18), I got the following error. Please advise on what to do. Thanks.

./subspace-node-ubuntu-x86\_64-gemini-1b-2022-jun-18: error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory

---

<div class="post-metadata">

**Author:** ![ImmaZoni](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/immazoni/32/7_2.png) [@ImmaZoni](https://forum.autonomys.xyz/u/ImmaZoni)\
**Post date:** [June 24, 2022, 9:23pm UTC](https://forum.autonomys.xyz/t/substrate-service-error/460/4 "2022-06-24T21:23:59Z")

</div>

Answer sourced from - [Farming with the CLI | Subspace Labs Documentation](https://docs.subspace.network/protocol/farm/farming) in the Linux section

There are two packages that are typically already installed, but might be missing on your machine.

If you see this error:

```auto
error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory

```

Make sure to install `ocl-icd-libopencl1` library with `sudo apt-get install ocl-icd-libopencl1`.

If you see this error:

```auto
error while loading shared libraries: libgomp.so.1: cannot open shared object file: No such file or directory

```

Make sure to install `libgomp1` library with `sudo apt-get install libgomp1`.

---

<div class="post-metadata">

**Author:** ![AP\_POWER](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@AP\_POWER](https://forum.autonomys.xyz/u/AP_POWER)\
**Post date:** [June 25, 2022, 2:16am UTC](https://forum.autonomys.xyz/t/substrate-service-error/460/5 "2022-06-25T02:16:41Z")

</div>

I did get through installing the missing file but now I have the following error; I believe this is the same error I got in the beginning.

* * *

./subspace-node-ubuntu-x86\_64-gemini-1b-2022-jun-18 --chain gemini-1 --execution wasm --pruning 1024 --keep-blocks 1024 --validator --name TechchallengedSD2  
2022-06-25 04:14:28 Subspace  
2022-06-25 04:14:28 ✌ version 0.1.0-de3dfb1c8ad  
2022-06-25 04:14:28 ❤ by Subspace Labs [https://subspace.network](https://subspace.network), 2021-2022  
2022-06-25 04:14:28 📋 Chain specification: Subspace Gemini 1  
2022-06-25 04:14:28 🏷 Node name: TechchallengedSD2  
2022-06-25 04:14:28 👤 Role: AUTHORITY  
2022-06-25 04:14:28 💾 Database: ParityDb at /root/.local/share/subspace-node/chains/subspace\_gemini\_1b/paritydb/full  
2022-06-25 04:14:28 ⛓ Native runtime: subspace-3 (subspace-0.tx0.au0)  
Error: SubstrateService(Other(“Failed to build a full subspace node: Sub(Client(RuntimeApiError(Application(UnknownBlock("State already discarded for BlockId::Hash(0x3d1d7056a6a7201f2be6c6b31674eccca572178193eb67a59d17d79c636e9a9d)")))))”))

---

<div class="post-metadata">

**Author:** ![ImmaZoni](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/immazoni/32/7_2.png) [@ImmaZoni](https://forum.autonomys.xyz/u/ImmaZoni)\
**Post date:** [June 27, 2022, 3:59pm UTC](https://forum.autonomys.xyz/t/substrate-service-error/460/6 "2022-06-27T15:59:53Z")

</div>

Check the comment marked as solution on this forum post, let me know if that fix does not work [Error: SubstrateService(Other("Failed to build a full subspace node: IO Error")) - #4 by nazar-pc](https://forum.autonomys.xyz/t/error-substrateservice-other-failed-to-build-a-full-subspace-node-io-error/175/4)
