I've can't solve this problem. Trying to install Openvas on Kali. I'm surprised by the amount of problems I'm facing to install a program on this OS.
I've used
Done. Then I used
Jul 23, 2018 Join GitHub today. GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together. For installing OpenVAS 9 from the sources I used the same script as for OpenVAS 8 installation last year. More details about this script and why you may need it you can read in the post “openvascommander for OpenVAS installation and management“. I fixed the script a bit because of these changes in OpenVAS9.
Getting this error:
I don't have a redis.sock on tmp folder. I tried to fix it by everything I found online.
2 Answers
I encountered the same issue. The problem is that OpenVas is looking for Redis Socket in /tmpWe need to change this location in OpenVas by editing the file /etc/openvas/openvassd.conf
The problem that in Kali Linux, OpenVas does not have file: /etc/openvas/openvassd.conf by default.
So I created this file and entered below content to overwrite the default value for Redis Server.kb_location=/var/run/redis/redis.sock
This fixed my issue.I have wrote complete tutorial on this site: https://waqasahmedkhan.com/openvas-bug-in-kali-linux-2017-3-5/
comment out “Type=forking” then reinstall openvas/usr/lib/systemd/system/redis-server.service[Service]
it works for me why comment outIf set to forking, it is expected that the process configured with ExecStart= will call fork() as part of its start-up. The parent process is expected to exit when start-up is complete and all communication channels are set up. The child continues to run as the main daemon process. This is the behavior of traditional UNIX daemons. If this setting is used, it is recommended to also use the PIDFile= option, so that systemd can identify the main process of the daemon. systemd will proceed with starting follow-up units as soon as the parent process exits.