Hi, I think they conflict. Please leave only unixsocket /var/lib/redis/redis.sock and remove unixsocket /tmp/redis.sock line
and then systemctl restart reds.service. you should also disable selinux using command setenforce 0 and then permanently disable it in file /etc/sysconfig/selinux Eero 2015-09-18 17:37 GMT+03:00 Randy Dover <[email protected]>: > Eero, > Thanks for the reply, I think I got the service enabled and started (key > on *think* - I didn't get errors when I ran the commands) > > I am still getting the error: > redis-server is not running or not listening on socket: > /var/lib/redis/redis.sock > > The last lines of redis.conf file (located in /etc/redis.conf) are: > unixsocket /var/lib/redis/redis.sock (I would think this is correct, given > the message above) > port 0 #prevent redis from listening on a TCP socket > unixsocketperm 700 > timeout 0 > unixsocket /tmp/redis.sock > > Am I missing something? Are the two unixsocket commands conflicting? I > have tried it both ways > Randy Dover > > From: [email protected] [mailto:[email protected]] On > Behalf Of Eero Volotinen > Sent: Friday, September 18, 2015 10:05 AM > To: Randy Dover <[email protected]> > Cc: openvas-discuss <[email protected]> > Subject: Re: [Openvas-discuss] OpenVas install on CentOS 7 - redis-server > > Hi, > > I usually don't provide step by step instructions.. but > > echo "unixsocket /tmp/redis.sock" >> /etc/redis.conf means that you need > to add one line to /etc/redis.conf saying 'unixsocket /tmp/redis.sock' > > systemctl works only on root account. ask help from your local linux > support, in case of problems. > > Eero > > > > 2015-09-18 16:56 GMT+03:00 Randy Dover <[email protected]>: > Eero, > I’m a little confused over your reply. > (Please forgive this Linux newbie!) > Echo? In dos, that just means to show the line… > Do I need to edit the redis.conf file? > > When I type the system enable command I get an “Access denied”, I am > signed on as admin (*Should* be root level) after getting that message, I > typed “su”, which should have forced it into privilege, even though it > should have been already. > > Randy Dover > > From: [email protected] [mailto:[email protected]] On > Behalf Of Eero Volotinen > Sent: Friday, September 18, 2015 9:44 AM > To: Randy Dover <[email protected]> > Cc: openvas-discuss <[email protected]> > Subject: Re: [Openvas-discuss] OpenVas install on CentOS 7 - redis-server > > Hi, > > There is bug in atomic corp rpms, so you need to start, enable and > configure redis.service correctly. > > try following: > > echo "unixsocket /tmp/redis.sock" >> /etc/redis.conf > systemctl enable redis.service > systemctl restart redis.service > > Then it should work fine .. > > -- > Eero > > 2015-09-18 16:03 GMT+03:00 Randy Dover <[email protected]>: > I have just installed (or actually should probably say I am ATTEMPTING TO > INSTALL) OpenVAS 8 on CentOS7. > > I did the install and when I run the openvas-check-setup I am getting: > ERROR: redis-server is not running or not listening on socket: > /var/lib/redis/redis.sock > FIX: You should start the redis-server or configure it to listen on > socket: /var/lib/redis/redis.sock > > Before going further – I am not good at Linux, so will please give me > exact commands and paths, etc. > > I have searched for the fix before posting this. > > I found different answers: > One answer: > Edit /etc/redis.conf and add lines: > Unixsocket /var/lib/redis/redis.sock > Port 0 > Timeout 0 > > Another answer: > port 0 # prevent redis from listening on a TCP socket > unixsocket /tmp/redis.sock > unixsocketperm 700 > timeout 0 > > Another answer: > unixsocket /tmp/redis.sock > unixsocketperm 755 > > I have tried a couple of different iterations of the above suggestions, > and keep getting the error. > My /etc/redis.conf currently has these lines at the very bottom: > Aof-rewrite-incremental -fsync yes (this line was in there before I edited > it) > Unixsocket /var/lib/redis/redis.sock > Port 0 #prevent redis from listening on a TCP socket > Unixsocketperm 700 > Timeout 0 > > Also, it could be that the redis-server is not started after I made those > changes. I don’t know how to start it (I searched that also, but didn’t > find anything. Remember, I am a very novice Linux user, so please tell me > EXACTLY how to start it in CentOS.) > > Randy Dover > > This email is intended for its designated recipients. The information, and > attachments, contained in this email may be considered private and/or > confidential. If the transmission is received in error, delete messages(s) > from your system and notify the sender. You may not, directly or > indirectly, use, disclose or distribute any part of this email. > > _______________________________________________ > Openvas-discuss mailing list > [email protected] > https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss > > This email is intended for its designated recipients. The information, and > attachments, contained in this email may be considered private and/or > confidential. If the transmission is received in error, delete messages(s) > from your system and notify the sender. You may not, directly or > indirectly, use, disclose or distribute any part of this email. > > This email is intended for its designated recipients. The information, and > attachments, contained in this email may be considered private and/or > confidential. If the transmission is received in error, delete messages(s) > from your system and notify the sender. You may not, directly or > indirectly, use, disclose or distribute any part of this email. >
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
