# Lib kb\_redis-CRITICAL \*\* error on running openvas-setup in ubuntu 18.04 LTS

**URL:** <https://forum.greenbone.net/t/lib-kb-redis-critical-error-on-running-openvas-setup-in-ubuntu-18-04-lts/6735>\
**Category:** Greenbone Community Edition\
**Created:** [September 15, 2020, 2:35pm UTC](https://forum.greenbone.net/t/lib-kb-redis-critical-error-on-running-openvas-setup-in-ubuntu-18-04-lts/6735 "2020-09-15T14:35:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![das](https://forum.greenbone.net/letter_avatar/das/32/6_449c533f586939b6e5f246632a46421f.png) [@das](https://forum.greenbone.net/u/das)\
**Post date:** [September 15, 2020, 2:35pm UTC](https://forum.greenbone.net/t/lib-kb-redis-critical-error-on-running-openvas-setup-in-ubuntu-18-04-lts/6735/1 "2020-09-15T14:35:18Z")

</div>

(openvassd:20384): lib kb\_redis-CRITICAL \*\*: 13:22:56.941: get\_redis\_ctx: redis connection error: connection refused

(openvassd:20384): lib kb\_redis-CRITICAL \*\*: 13:22:56.942: redis\_new: cannot access redis at ‘/tmp/redis.sock’

(openvassd:20384): lib kb\_redis-CRITICAL \*\*: 13:22:56.942: get\_redis\_ctx: redis connection error: connection refused  
openvassd: no process found

Got the above error after installing openvas in ubuntu 18.04 using sudo apt install openvas and then sudo openvas-setup. I could not find a proper solution to this in the community. Please help. Thank you in advance.

---

<div class="post-metadata">

**Author:** ![Lukas](https://forum.greenbone.net/user_avatar/forum.greenbone.net/lukas/32/17_2.png) [@Lukas](https://forum.greenbone.net/u/Lukas)\
**Post date:** [September 15, 2020, 3:38pm UTC](https://forum.greenbone.net/t/lib-kb-redis-critical-error-on-running-openvas-setup-in-ubuntu-18-04-lts/6735/2 "2020-09-15T15:38:40Z")

</div>

This is not related to the community edition, please check out FAQ first before posting:

> **[Frequently Asked Questions (FAQ)](https://forum.greenbone.net/t/frequently-asked-questions-faq/5558)**
>
> Several Frequently Asked Questions can be found at Frequently Asked Questions (FAQ) - Greenbone Community Documentation and additional hints four troubleshooting at Troubleshooting - Greenbone Community Documentation.

---

<div class="post-metadata">

**Author:** ![das](https://forum.greenbone.net/letter_avatar/das/32/6_449c533f586939b6e5f246632a46421f.png) [@das](https://forum.greenbone.net/u/das)\
**Post date:** [September 15, 2020, 3:55pm UTC](https://forum.greenbone.net/t/lib-kb-redis-critical-error-on-running-openvas-setup-in-ubuntu-18-04-lts/6735/3 "2020-09-15T15:55:00Z")

</div>

@Lukas I apologize for the mistake. Could you please tell me which category should I use for this?

---

<div class="post-metadata">

**Author:** ![das](https://forum.greenbone.net/letter_avatar/das/32/6_449c533f586939b6e5f246632a46421f.png) [@das](https://forum.greenbone.net/u/das)\
**Post date:** [September 15, 2020, 4:07pm UTC](https://forum.greenbone.net/t/lib-kb-redis-critical-error-on-running-openvas-setup-in-ubuntu-18-04-lts/6735/4 "2020-09-15T16:07:11Z")

</div>

And could anyone also give me a proper set of steps to install openvas in centos 8. Thank you in advance.

---

<div class="post-metadata">

**Author:** ![jjnicola](https://forum.greenbone.net/user_avatar/forum.greenbone.net/jjnicola/32/352_2.png) [@jjnicola](https://forum.greenbone.net/u/jjnicola)\
**Post date:** [September 16, 2020, 12:28pm UTC](https://forum.greenbone.net/t/lib-kb-redis-critical-error-on-running-openvas-setup-in-ubuntu-18-04-lts/6735/5 "2020-09-16T12:28:16Z")

</div>

Hi @das,

It seems you have not installed/configured Redis. Take a look at this [document](https://github.com/greenbone/openvas/blob/master/doc/redis_config.md), which will probably help.

Regards,

---

<div class="post-metadata">

**Author:** ![das](https://forum.greenbone.net/letter_avatar/das/32/6_449c533f586939b6e5f246632a46421f.png) [@das](https://forum.greenbone.net/u/das)\
**Post date:** [September 16, 2020, 7:29pm UTC](https://forum.greenbone.net/t/lib-kb-redis-critical-error-on-running-openvas-setup-in-ubuntu-18-04-lts/6735/6 "2020-09-16T19:29:21Z")

</div>

Hi @jjnicola,

Thank you so much for your help. I had to create the file openvassd.conf in /etc/openvas/ and add the following:  
kb\_location = /var/run/redis/redis-server.sock  
And it worked.

---

<div class="post-metadata">

**Author:** ![system](https://forum.greenbone.net/uploads/default/original/2X/4/4660e797edfaea797a8c9965246072ea26732804.png) [@system](https://forum.greenbone.net/u/system)\
**Post date:** [April 7, 2025, 10:07am UTC](https://forum.greenbone.net/t/lib-kb-redis-critical-error-on-running-openvas-setup-in-ubuntu-18-04-lts/6735/7 "2025-04-07T10:07:02Z")

</div>

Closed on April 7, 2025, 10:07am UTC


