i installed and run the completle setup as root… Cause i forget that its not secure… Now i try to get it work as normal user, with set the path permissions. But if i run this command gvmd —unix-socket=/usr/local/var/run/gvmd.sock
i get this error in the log
md main:MESSAGE:2019-08-28 12h18.04 utc:5051: Greenbone Vulnerability Manager version 8.0.1 (DB revision 205)
md manage:WARNING:2019-08-28 12h18.04 utc:5051: Failed to open lock file ‘/usr/local/var/run/gvm-checking’: Permission denied
md main:CRITICAL:2019-08-28 12h18.04 utc:5051: main: Error trying to get checking lock
i already changed the permissions of gvm-checking and of the socket path…
Look in /var/lib and /usr/share for openvas and gvm.
You can use the command
find / -name openvas
and
find / -name gvm
To change permission use:
chown -R user:group path
where:
user is your user for openvas
group is the group of the user
path is the directory of openvas installation
Roberto
i tried to change all i find with the find comment, but there are still other files who the normal user dont have permissions… but i think its easier to make a completle new setup
I’ve make a completle new VM and setup Greenbone completle new. In the first setup i used cmake … so that it was written to the default path in /usr/local/
Now i used this command and installed it in the home Path of the user.
cmake -DCMAKE_INSTALL_PREFIX=/home/user/install …