Open y0y04 opened 2 years ago
Same issue here, and docker-compose up shows this
This helped me. The ospd-openvas.sock
is misconfigured in the helm chart's ./templates/gvmd-deployment.yaml
file. Applying the following patch should solve the problem.
diff --git a/chart/gvm/templates/gvmd-deployment.yaml b/chart/gvm/templates/gvmd-deployment.yaml
index 7e54794..a36737d 100644
--- a/chart/gvm/templates/gvmd-deployment.yaml
+++ b/chart/gvm/templates/gvmd-deployment.yaml
@@ -95,7 +95,7 @@ spec:
- name: {{ .Chart.Name }}-openvas-connector
image: "{{ tpl .Values.image.socat.registry . }}/{{ tpl .Values.image.socat.repository . }}:{{ tpl .Values.image.socat.tag . }}"
imagePullPolicy: {{ tpl .Values.image.socat.pullPolicy . }}
- args: ["-d", "-d", "UNIX-LISTEN:/run/ospd/ospd.sock,fork", "TCP4-CONNECT:{{ include "gvm.fullname" . }}-openvas:9391"]
+ args: ["-d", "-d", "UNIX-LISTEN:/run/ospd/ospd-openvas.sock,fork", "TCP4-CONNECT:{{ include "gvm.fullname" . }}-openvas:9391"]
volumeMounts:
- name: run-dir
mountPath: /run
Unfortunately issue persists after changine osdp.sock to ospd-openvas.sock
Hi @admirito
Getting below error, could you please guide here,
All containers are UP:
gvm-containers-admirito-gvmd-1 | md manage:WARNING:2022-05-25 12h00.13 UTC:1294: osp_scanner_feed_version: failed to connect to /run/ospd/ospd-openvas.sock
PostgresQL connection refused
Hi...
I think the problem is the sock file. There is no /run/ospd/ospd-openvas.sock, there is only /run/ospd/ospd.sock , so the scanner can not fire-up because wrong file.
It should be check in the /usr/lib/systemd/system/gvmd.service
I saw in the /run/ospd only have ospd.sock.
Regards, Fadjar Tandabawana
This helped me. The
ospd-openvas.sock
is misconfigured in the helm chart's./templates/gvmd-deployment.yaml
file. Applying the following patch should solve the problem.diff --git a/chart/gvm/templates/gvmd-deployment.yaml b/chart/gvm/templates/gvmd-deployment.yaml index 7e54794..a36737d 100644 --- a/chart/gvm/templates/gvmd-deployment.yaml +++ b/chart/gvm/templates/gvmd-deployment.yaml @@ -95,7 +95,7 @@ spec: - name: {{ .Chart.Name }}-openvas-connector image: "{{ tpl .Values.image.socat.registry . }}/{{ tpl .Values.image.socat.repository . }}:{{ tpl .Values.image.socat.tag . }}" imagePullPolicy: {{ tpl .Values.image.socat.pullPolicy . }} - args: ["-d", "-d", "UNIX-LISTEN:/run/ospd/ospd.sock,fork", "TCP4-CONNECT:{{ include "gvm.fullname" . }}-openvas:9391"] + args: ["-d", "-d", "UNIX-LISTEN:/run/ospd/ospd-openvas.sock,fork", "TCP4-CONNECT:{{ include "gvm.fullname" . }}-openvas:9391"] volumeMounts: - name: run-dir mountPath: /run
It should be the solution, but no new push code for this..
Regards, Fadjar Tandabawana
Hi! I just set up my environment with docke-compose. Docker containers are all up, but when I want to create a new Task it throws the following error: 'Failed to find config 'daba56c8-73ec-11df-a475-002264764cea'. Then I realized there is no default Scan Config (Full and Fast, Host Discovering... etc.) Is there a way I can update or any site where I can download this?
Saying that, I'm sharing a few screenshots of the current state:
Any response would be nice for me, thank you in advance!