Please help how to fix this issue
──(root㉿kali)-[/home/kali]
└─# gvm-setup
[>] Starting PostgreSQL service
[>] Creating GVM’s certificate files
[>] Creating PostgreSQL database
could not change directory to “/home/kali”: Permission denied
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: the database system is not yet accepting connections
DETAIL: Consistent recovery state has not been yet reached.
[*] Creating database user
could not change directory to “/home/kali”: Permission denied
createuser: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: the database system is not yet accepting connections
DETAIL: Consistent recovery state has not been yet reached.
could not change directory to “/home/kali”: Permission denied
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: the database system is not yet accepting connections
DETAIL: Consistent recovery state has not been yet reached.
[*] Creating database
could not change directory to “/home/kali”: Permission denied
createdb: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: the database system is not yet accepting connections
DETAIL: Consistent recovery state has not been yet reached.
could not change directory to “/home/kali”: Permission denied
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: the database system is not yet accepting connections
DETAIL: Consistent recovery state has not been yet reached.
[*] Creating permissions
could not change directory to “/home/kali”: Permission denied
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: the database system is not yet accepting connections
DETAIL: Consistent recovery state has not been yet reached.
[*] Applying permissions
could not change directory to “/home/kali”: Permission denied
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: the database system is not yet accepting connections
DETAIL: Consistent recovery state has not been yet reached.
could not change directory to “/home/kali”: Permission denied
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: the database system is not yet accepting connections
DETAIL: Consistent recovery state has not been yet reached.
[*] Creating extension uuid-ossp
could not change directory to “/home/kali”: Permission denied
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: the database system is not yet accepting connections
DETAIL: Consistent recovery state has not been yet reached.
could not change directory to “/home/kali”: Permission denied
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: the database system is not yet accepting connections
DETAIL: Consistent recovery state has not been yet reached.
[*] Creating extension pgcrypto
could not change directory to “/home/kali”: Permission denied
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: the database system is not yet accepting connections
DETAIL: Consistent recovery state has not been yet reached.
could not change directory to “/home/kali”: Permission denied
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: the database system is not yet accepting connections
DETAIL: Consistent recovery state has not been yet reached.
[*] Creating extension pg-gvm
could not change directory to “/home/kali”: Permission denied
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: the database system is not yet accepting connections
DETAIL: Consistent recovery state has not been yet reached.
[>] Migrating database
(gvmd:3043): md manage-WARNING **: 21:02:49.394: sql_open: PQconnectPoll failed
(gvmd:3043): md manage-WARNING **: 21:02:49.394: sql_open: PQerrorMessage (conn): connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: the database system is not yet accepting connections
DETAIL: Consistent recovery state has not been yet reached.
(gvmd:3043): md manage-WARNING **: 21:02:49.394: init_manage_open_db: sql_open failed
[>] Checking for GVM admin user
[] Creating user admin for gvm
[] Please note the generated admin password
[]
[] Configure Feed Import Owner
could not change directory to “/home/kali”: Permission denied
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: the database system is not yet accepting connections
DETAIL: Consistent recovery state has not been yet reached.
[*] Define Feed Import Owner
(gvmd:3102): md main-CRITICAL **: 21:02:49.972: gvmd: g_option_context_parse: Missing argument for --value
[*] Update GVM feeds
Running as root. Switching to user ‘_gvm’ and group ‘_gvm’.
Trying to acquire lock on /var/lib/openvas/feed-update.lock
Acquired lock on /var/lib/openvas/feed-update.lock
⠹ Downloading Notus files from
rsync://feed.community.greenbone.net/community/vulnerability-feed/22.04/vt-da
ta/notus/ to /var/lib/notus
@ERROR: max connections (400) reached – try again later
rsync error: error starting client-server protocol (code 5) at main.c(1863)
[Receiver=3.2.7]
⠧ Downloading NASL files from
rsync://feed.community.greenbone.net/community/vulnerability-feed/22.04/vt-da
ta/nasl/ to /var/lib/openvas/plugins
@ERROR: max connections (400) reached – try again later
rsync error: error starting client-server protocol (code 5) at main.c(1863)
[Receiver=3.2.7]
Releasing lock on /var/lib/openvas/feed-update.lock
Trying to acquire lock on /var/lib/gvm/feed-update.lock
Acquired lock on /var/lib/gvm/feed-update.lock
⠼ Downloading SCAP data from
rsync://feed.community.greenbone.net/community/vulnerability-feed/22.04/scap-
data/ to /var/lib/gvm/scap-data
@ERROR: max connections (400) reached – try again later
rsync error: error starting client-server protocol (code 5) at main.c(1863)
[Receiver=3.2.7]
⠏ Downloading CERT-Bund data from
rsync://feed.community.greenbone.net/community/vulnerability-feed/22.04/cert-
data/ to /var/lib/gvm/cert-data
@ERROR: max connections (400) reached – try again later
rsync error: error starting client-server protocol (code 5) at main.c(1863)
[Receiver=3.2.7]
⠏ Downloading gvmd data from
rsync://feed.community.greenbone.net/community/data-feed/22.04/ to
/var/lib/gvm/data-objects/gvmd/22.04
Releasing lock on /var/lib/gvm/feed-update.lock
I want to update openvas 22.7.3 but i can’t update nvt scap cert
My version Openvas version
openvas -V
OpenVAS 22.7.3
gvm-libs 22.6.3
Most new code since 2005: (C) 2022 Greenbone Networks GmbH
Nessus origin: (C) 2004 Renaud Deraison deraison@nessus.org
License GPLv2: GNU GPL version 2
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
My kali version
Linux kali 6.3.0-kali1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.3.7-1kali1 (2023-06-29) x86_64 GNU/Linux