[IntelMQ-dev] Redis failing to start after intelmq* package update
Mika Silander
mika.silander at csc.fi
Mon May 3 15:03:56 CEST 2021
Hi,
Our intelmq installation on Ubuntu 20.04 LTS was auto-updated to the versions:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============-============-============-=======================================>
ii intelmq 2.3.2-1 all Solution for IT security teams for coll>
ii intelmq-api 2.3.1-1 all HUG based API for the intelmq project
ii intelmq-manager 2.3.1-2 all Graphical interface to manage configura
For some reason intelmq-manager now shows a problem with accessing redis queues as it tries to run
sudo -u www-data sudo -u intelmq intelmqctl --type json list queues-and-status
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/intelmq/lib/pipeline.py", line 286, in count_queued_messages
queue_dict[queue] = self.pipe.llen(queue)
File "/usr/lib/python3/dist-packages/redis/client.py", line 1671, in llen
return self.execute_command('LLEN', name)
File "/usr/lib/python3/dist-packages/redis/client.py", line 836, in execute_command
conn = self.connection or pool.get_connection(command_name, **options)
File "/usr/lib/python3/dist-packages/redis/connection.py", line 1073, in get_connection
connection.connect()
File "/usr/lib/python3/dist-packages/redis/connection.py", line 544, in connect
raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:6379. Connection refused.
systemctl status redis.service indicates there's a problem starting redis:
May 03 15:48:20 ourhost systemd[1]: Failed to start Advanced key-value store.
May 03 15:48:20 ourhost systemd[1]: redis-server.service: Scheduled restart job, restart counter is at 5.
May 03 15:48:20 ourhost systemd[1]: Stopped Advanced key-value store.
May 03 15:48:20 ourhost systemd[1]: redis-server.service: Start request repeated too quickly.
May 03 15:48:20 ourhost systemd[1]: redis-server.service: Failed with result 'exit-code'.
May 03 15:48:20 ourhost systemd[1]: Failed to start Advanced key-value store.
Don't know whether this has anything to do with the package update or is this an independent problem but
hints as to how to remedy this would be welcome.
Br, Mika
More information about the IntelMQ-dev
mailing list