Thanks Eero and Thijs.
OpenVAS is working finally.
I made the suggested changes, I ran openvas-setup and it is now working.
On 31/08/18 05:03, Eero Volotinen wrote:
you need to restart redis after configuration changes.
Eero
On Fri, Aug 31, 2018 at 11:02 AM Thijs Stuurman
<thijs.stuur...@internedservices.nl
<mailto:thijs.stuur...@internedservices.nl>> wrote:
Possibly the socket may not be created in /tmp, try in
/etc/redis/redis.conf
# Specify the path for the unix socket that will be used to listen for
# incoming connections. There is no default, so Redis will not listen
# on a unix socket when not specified.
#
#unixsocket /tmp/redis.sock
unixsocket /var/run/redis/redis.sock
unixsocketperm 755
root@scanner001:~# netstat -vnepl |grep redis
unix 2 [ ACC ] STREAM LISTENING 16146
1043/redis-server 1 /var/run/redis/redis.sock
root@scanner001:~# ln -s /var/run/redis/redis.sock /tmp/redis.sock
root@scanner001:~# ls -l /tmp/redis.sock
lrwxrwxrwx 1 root root 25 Aug 30 17:29 /tmp/redis.sock ->
/var/run/redis/redis.sock
Thijs Stuurman
Quality & Security | KPN Internedservices B.V.
thijs.stuur...@internedservices.nl
<mailto:thijs.stuur...@internedservices.nl> |
thijs.stuur...@kpn.com <mailto:thijs.stuur...@kpn.com>
T: +31(0)299476185 | M: +31(0)624366778
PGP Key-ID: 0x16ADC048 (https://pgp.surfnet.nl/)
Fingerprint: 2EDB 9B42 D6E8 7D4B 6E02 8BE5 6D46 8007 16AD C048
W: https://www.internedservices.nl
<https://www.internedservices.nl/>| L:
https://nl.linkedin.com/in/thijsstuurman
*Van:*Openvas-discuss <openvas-discuss-boun...@wald.intevation.org
<mailto:openvas-discuss-boun...@wald.intevation.org>> *Namens
*Eero Volotinen
*Verzonden:* vrijdag 31 augustus 2018 03:54
*Aan:* Aécio Meneses <aeciomene...@gmail.com
<mailto:aeciomene...@gmail.com>>
*CC:* openvas-discuss@wald.intevation.org
<mailto:openvas-discuss@wald.intevation.org>
*Onderwerp:* Re: [Openvas-discuss] openvassd failed
you need to configure redis to listen that socket..
to 30. elok. 2018 klo 23.06 Aécio Meneses <aeciomene...@gmail.com
<mailto:aeciomene...@gmail.com>> kirjoitti:
Hi!
I did installation of OpenVAS in the CentOS 7.5 follow the
instructions of OpenVAS’s site.
But, I dont get execute the New Task, because appers the
following errors:
* (Status Code 503) Failed to start task: Service
temporarily down
When I execute openvassd, appears:
·(openvassd:2906): lib kb_redis-CRITICAL **: get_redis_ctx:
redis connection error: Connection refused
·(openvassd:2906): lib kb_redis-CRITICAL **: redis_new: cannot
access redis at ‘/tmp/redis.sock’
·(openvassd:2906): lib kb_redis-CRITICAL **: get_redis_ctx:
redis connection error: Connection refused
I created the file and gived permission for Everyone, but
isn’t suficient.
Can you help me?
Thanks,
--
Aécio Meneses Alves
Tel: 11-9.9203.8403
_______________________________________________
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
<mailto:Openvas-discuss@wald.intevation.org>
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
Aécio Alves
Cel: 11-9.9203.8403
E-mail: aeciomene...@gmail.com
_______________________________________________
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss