Thanks, Henri, for your fast and helpful response!
Indeed, if redis-server is listening on a unix socket it works.
I changed the configuration in /etc/redis/redis.conf and removed the
tcp-listening options and used
>unixsocket /tmp/redis.sock
>unixsocketperm 755
instead.
I didn't recognize this error, due to the openvas-check-setup script saying
OK: redis-server is configured properly using this socket: /tmp/redis.sock
I think this status is wrong, because actually the configuration was not
correct.
The script runs now successful until Step 5:
Checking OpenVAS CLI ...
ERROR: No OpenVAS CLI (omp) found.
FIX: Please install OpenVAS CLI.
I expected my OpenVAS-8 installation to be complete, because on the
download page - http://www.openvas.org/install-source.html - it says
'main' and the CLI is listed under 'extras'. Maybe this is no error, but
it may also confuse a little bit.
After installation of CLI the openvas-check-setup runs until step 10 and
states:
It seems like your OpenVAS-8 installation is OK.
(y) Erhard
On 2015-04-04 16:02, Henri Doreau wrote:
2015-04-04 15:59 GMT+02:00 Erhard <[email protected]>:
I downloaded, compiled and installed OpenVAS-8
- Libraries 8.0.1,
- Scanner 5.0.1,
- Manager 6.0.1,
- Greenbone Security Assistant (GSA) 6.0.1
in an Ubuntu 14.10 system. Everything successful and without errors.
When I run
# ./openvas-check-setup
it stops at
ERROR: redis-server is not running
FIX: You should start the redis-server
(see attached log-file)
This is obviously wrong:
# ps aux | grep redis-server
redis 6415 0.1 0.1 49688 3396 ? Ssl 14:36 0:09
/usr/bin/redis-server 127.0.0.1:6379
Also possible:
# redis-cli
127.0.0.1:6379> set foo bar
OK
127.0.0.1:6379> get foo
"bar"
127.0.0.1:6379>
I'm asking since I wouldn't give the openvas-check-setup script so much
priority, but my GSAD scan also stops immediatly with failure and the
openvas-client doesn't even connect to the server (everything up and
running).
Hello,
I think your problem is that the redis server listens on a TCP port,
though it is expected to listen on a unix socket. This is documented
and example configuration files are provided for different versions of
redis.
Regards
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss