# CNCLI.SH error

**URL:** <https://forum.cardano.org/t/cncli-sh-error/119484>\
**Category:** Operate a Stake Pool\
**Created:** [4 July 2023 07:55 UTC](https://forum.cardano.org/t/cncli-sh-error/119484 "2023-07-04T07:55:04Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![godofrefuse](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/godofrefuse/32/26979_2.png) [@godofrefuse](https://forum.cardano.org/u/godofrefuse)\
**Post date:** [4 July 2023 07:55 UTC](https://forum.cardano.org/t/cncli-sh-error/119484/1 "2023-07-04T07:55:04Z")

</div>

![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/b/5/b5fd231e20846367aa8b1f370baf6c078841968f.png)

![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/f/6/f630440161e26730d6e20e199c1e9844c67cda22.png)

![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/3/4/34703777179269dd69de348a3ef51f802dc25baa.png)

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [4 July 2023 12:19 UTC](https://forum.cardano.org/t/cncli-sh-error/119484/2 "2023-07-04T12:19:20Z")

</div>

hi,

Type `sudo systemctl | grep cncli` and check the status of cncli sync service with `sudo systemctl status`

Cheers,

---

<div class="post-metadata">

**Author:** ![godofrefuse](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/godofrefuse/32/26979_2.png) [@godofrefuse](https://forum.cardano.org/u/godofrefuse)\
**Post date:** [5 July 2023 09:04 UTC](https://forum.cardano.org/t/cncli-sh-error/119484/3 "2023-07-05T09:04:09Z")

</div>

![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/0/3/032e0f0978b1488c6d81d0d663a97782e4893f03.png)

 ![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/2/a/2ad55a7e8b04d19fdf29b680b29b2a2309554345.png)

 ![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/a/3/a31620aabb12fc0f221142084e231da7e7757ff7.png)

---

<div class="post-metadata">

**Author:** ![godofrefuse](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/godofrefuse/32/26979_2.png) [@godofrefuse](https://forum.cardano.org/u/godofrefuse)\
**Post date:** [5 July 2023 10:58 UTC](https://forum.cardano.org/t/cncli-sh-error/119484/4 "2023-07-05T10:58:54Z")

</div>

Checking for script updates…  
thread ‘main’ panicked at ‘called `Result::unwrap()` on an `Err` value: SqliteFailure(Error { code: DatabaseBusy, extended\_code: 5 }, Some(“database is locked”))’, src/nodeclient/sync.rs:407:65  
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---

<div class="post-metadata">

**Author:** ![godofrefuse](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/godofrefuse/32/26979_2.png) [@godofrefuse](https://forum.cardano.org/u/godofrefuse)\
**Post date:** [6 July 2023 19:31 UTC](https://forum.cardano.org/t/cncli-sh-error/119484/5 "2023-07-06T19:31:06Z")

</div>

can you check output? still no access

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [6 July 2023 19:49 UTC](https://forum.cardano.org/t/cncli-sh-error/119484/6 "2023-07-06T19:49:03Z")

</div>

I believe is something related with the db from guild-db folder. Can u restart/stop/start the service or try to sync it manually with `./cncli.sh sync`

---

<div class="post-metadata">

**Author:** ![godofrefuse](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/godofrefuse/32/26979_2.png) [@godofrefuse](https://forum.cardano.org/u/godofrefuse)\
**Post date:** [6 July 2023 21:06 UTC](https://forum.cardano.org/t/cncli-sh-error/119484/7 "2023-07-06T21:06:04Z")

</div>

./cncli.sh sync  
gives me this output:

Checking for script updates…  
thread ‘main’ panicked at ‘called `Result::unwrap()` on an `Err` value: SqliteFailure(Error { code: DatabaseBusy, extended\_code: 5 }, Some(“database is locked”))’, src/nodeclient/sync.rs:407:65  
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I don’t have this problem on my relay.

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [7 July 2023 03:33 UTC](https://forum.cardano.org/t/cncli-sh-error/119484/8 "2023-07-07T03:33:45Z")

</div>

then u can delete the cncli db and resync it again… inside guild-db folder u should have the cncli db… delete it and try to re-sync

---

<div class="post-metadata">

**Author:** ![godofrefuse](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/godofrefuse/32/26979_2.png) [@godofrefuse](https://forum.cardano.org/u/godofrefuse)\
**Post date:** [7 July 2023 12:25 UTC](https://forum.cardano.org/t/cncli-sh-error/119484/9 "2023-07-07T12:25:58Z")

</div>

> Checking for script updates…  
> thread ‘main’ panicked at ‘called `Result::unwrap()` on an `Err` value: SqliteFa ilure(Error { code: DatabaseBusy, extended\_code: 5 }, Some(“database is locked”) )’, src/nodeclient/sync.rs:407:65  
> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

getting same error after deleting cncli.db

never mind it seems to be working now

 ![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/f/2/f2be487688283de504abd9155eecc5d42f2d7ce4.png)

Looks good now

![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/e/8/e896a6c1aa1e7c28151db43eba91c95c9ba2725b.png)

---

<div class="post-metadata">

**Author:** ![godofrefuse](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/godofrefuse/32/26979_2.png) [@godofrefuse](https://forum.cardano.org/u/godofrefuse)\
**Post date:** [7 July 2023 13:20 UTC](https://forum.cardano.org/t/cncli-sh-error/119484/10 "2023-07-07T13:20:43Z")

</div>

Does cncli.sh being out of sync affect blocks? My pool hasnt had a block in 8 epochs.

GG

![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/7/c/7cd3f3cd4719f188cbb514632a4636865fc7b13b.png)

---

<div class="post-metadata">

**Author:** ![jf3110](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/jf3110/32/32352_2.png) [@jf3110](https://forum.cardano.org/u/jf3110)\
**Post date:** [7 July 2023 16:29 UTC](https://forum.cardano.org/t/cncli-sh-error/119484/11 "2023-07-07T16:29:40Z")

</div>

No! It’s only about forecasting up-coming block schedules.
