I applied changes to /root/source/openvas-scanner-23.0.1/rust/openvasd/src/config.rs
change all related paths from /var/run/ospd/ospd.sock to /run/ospd/ospd-openvas.sock
then I went back to the documentation and rebuilt the openvas scanner:
this work for me