-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Redis error while container startup #335
Comments
Could you please provide more information about your environment? |
OS: Rocky 8.8 Used Docker Compose to kick off container services: |
Using container: openvas ==> /usr/local/var/log/gvm/gvmd.log <== md manage:WARNING:2025-02-28 06h32.17 utc:16725: osp_scanner_feed_version: failed to connect to /var/run/ospd/ospd-openvas.sock |
Do you see the same problem with |
Yes this issue is with the latest image. File "/usr/local/lib/python3.11/dist-packages/redis/client.py", line 567, in _execute_command During handling of the above exception, another exception occurred: Traceback (most recent call last): |
All of those errors are because redis it’s not running. But your doctor compose file is not referencing my image. The image that it is referencing is clearly based on mine, but I have no way to know if anything was changed in it. Has this installation worked before or is this the first time? Is SELiunx enforcing? |
Checking for existing DB
Running first start configuration...
CREATE_EMPTY_DATABASE=false
LOADDEFAULT=false
Checking DB Version
Current GVMd database version is 256
Migrate the database if needed.
Starting Greenbone Vulnerability Manager...
admin
Time to fixup the gvm accounts.
reset
set Report Lines to 1000
Starting Postfix for report delivery by email
.
Sleeping for mosquitto
Starting Open Scanner Protocol daemon for OpenVAS...
Traceback (most recent call last):
File "/usr/local/bin/ospd-openvas", line 5, in
from ospd_openvas.daemon import main
File "/usr/local/lib/python3.11/dist-packages/ospd_openvas/daemon.py", line 32, in
from ospd_openvas.notus import Cache, Notus, NotusParser, NotusResultHandler
File "/usr/local/lib/python3.11/dist-packages/ospd_openvas/notus.py", line 15, in
from ospd_openvas.db import OpenvasDB, MainDB
File "/usr/local/lib/python3.11/dist-packages/ospd_openvas/db.py", line 15, in
import redis
File "/usr/local/lib/python3.11/dist-packages/redis/init.py", line 3, in
from redis import asyncio # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/redis/asyncio/init.py", line 1, in
from redis.asyncio.client import Redis, StrictRedis
File "/usr/local/lib/python3.11/dist-packages/redis/asyncio/client.py", line 43, in
from redis.client import (
File "/usr/local/lib/python3.11/dist-packages/redis/client.py", line 17, in
from redis.commands import (
File "/usr/local/lib/python3.11/dist-packages/redis/commands/init.py", line 1, in
from .cluster import READ_COMMANDS, AsyncRedisClusterCommands, RedisClusterCommands
File "/usr/local/lib/python3.11/dist-packages/redis/commands/cluster.py", line 29, in
from .core import (
ModuleNotFoundError: No module named 'redis.commands.core'
Container stopped, performing shutdown
waiting for server to shut down.... done
server stopped
The text was updated successfully, but these errors were encountered: