I Watched it today and found a message which says that Memory overcommit is not enabled. I enabled it but i had the same issue. for me the Redis server is not stopped except the time i Killed it
greenbone-community-edition-redis-server-1 | 8:M 19 Oct 2023 17:55:39.731 * The server is now ready to accept connections at /run/redis/redis.sock
greenbone-community-edition-redis-server-1 | 8:C 21 Oct 2023 00:00:31.628 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
greenbone-community-edition-redis-server-1 | 8:C 21 Oct 2023 00:00:31.628 # Redis version=7.0.11, bits=64, commit=00000000, modified=0, pid=8, just started
greenbone-community-edition-redis-server-1 | 8:C 21 Oct 2023 00:00:31.628 # Configuration loaded
greenbone-community-edition-redis-server-1 | 8:M 21 Oct 2023 00:00:31.628 * monotonic clock: POSIX clock_gettime
greenbone-community-edition-redis-server-1 | 8:M 21 Oct 2023 00:00:31.668 * Running mode=standalone, port=0.
greenbone-community-edition-redis-server-1 | 8:M 21 Oct 2023 00:00:31.668 # Server initialized
greenbone-community-edition-redis-server-1 | 8:M 21 Oct 2023 00:00:31.668 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
greenbone-community-edition-redis-server-1 | 8:M 21 Oct 2023 00:00:31.687 * The server is now ready to accept connections at /run/redis/redis.sock
greenbone-community-edition-redis-server-1 | 8:C 23 Oct 2023 06:33:48.128 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
greenbone-community-edition-redis-server-1 | 8:C 23 Oct 2023 06:33:48.128 # Redis version=7.0.11, bits=64, commit=00000000, modified=0, pid=8, just started
greenbone-community-edition-redis-server-1 | 8:C 23 Oct 2023 06:33:48.128 # Configuration loaded
greenbone-community-edition-redis-server-1 | 8:M 23 Oct 2023 06:33:48.128 * monotonic clock: POSIX clock_gettime
greenbone-community-edition-redis-server-1 | 8:M 23 Oct 2023 06:33:48.129 * Running mode=standalone, port=0.
greenbone-community-edition-redis-server-1 | 8:M 23 Oct 2023 06:33:48.129 # Server initialized
greenbone-community-edition-redis-server-1 | 8:M 23 Oct 2023 06:33:48.130 * The server is now ready to accept connections at /run/redis/redis.sock
greenbone-community-edition-redis-server-1 | Killed
greenbone-community-edition-redis-server-1 | 9:C 23 Oct 2023 13:23:24.711 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
greenbone-community-edition-redis-server-1 | 9:C 23 Oct 2023 13:23:24.711 # Redis version=7.0.11, bits=64, commit=00000000, modified=0, pid=9, just started
greenbone-community-edition-redis-server-1 | 9:C 23 Oct 2023 13:23:24.711 # Configuration loaded
greenbone-community-edition-redis-server-1 | 9:M 23 Oct 2023 13:23:24.712 * monotonic clock: POSIX clock_gettime
greenbone-community-edition-redis-server-1 | 9:M 23 Oct 2023 13:23:24.742 * Running mode=standalone, port=0.
greenbone-community-edition-redis-server-1 | 9:M 23 Oct 2023 13:23:24.742 # Server initialized
greenbone-community-edition-redis-server-1 | 9:M 23 Oct 2023 13:23:24.761 * The server is now ready to accept connections at /run/redis/redis.sock
This is what the ospd openvas logs says:
greenbone-community-edition-ospd-openvas-1 | OSPD[8] 2023-10-23 06:37:10,449: INFO: (ospd.command.command) Scan d9e766e3-70f7-4391-a183-43195ff4078e added to the queue in position 2.
greenbone-community-edition-ospd-openvas-1 | OSPD[8] 2023-10-23 06:38:52,994: INFO: (ospd_openvas.daemon) Finished loading VTs. The VT cache has been updated from version 0 to 202309150621.
greenbone-community-edition-ospd-openvas-1 | OSPD[8] 2023-10-23 06:39:28,042: INFO: (ospd.ospd) Currently 1 queued scans.
greenbone-community-edition-ospd-openvas-1 | OSPD[8] 2023-10-23 06:39:28,208: INFO: (ospd.ospd) Starting scan d9e766e3-70f7-4391-a183-43195ff4078e.
greenbone-community-edition-ospd-openvas-1 | [/source/samba/librpc/rpc/dcerpc_connect.c:329:dcerpc_pipe_connect_ncacn_ip_tcp_recv()] failed NT status (c00000b5) in dcerpc_pipe_connect_ncacn_ip_tcp_recv
greenbone-community-edition-ospd-openvas-1 | [/source/samba/librpc/rpc/dcerpc_connect.c:790:dcerpc_pipe_connect_b_recv()] failed NT status (c00000b5) in dcerpc_pipe_connect_b_recv
greenbone-community-edition-ospd-openvas-1 | [/source/samba/librpc/rpc/dcerpc_connect.c:329:dcerpc_pipe_connect_ncacn_ip_tcp_recv()] failed NT status (c0000017) in dcerpc_pipe_connect_ncacn_ip_tcp_recv
greenbone-community-edition-ospd-openvas-1 | [/source/samba/librpc/rpc/dcerpc_connect.c:790:dcerpc_pipe_connect_b_recv()] failed NT status (c0000017) in dcerpc_pipe_connect_b_recv
.
.
..
greenbone-community-edition-ospd-openvas-1 | [/source/samba/librpc/rpc/dcerpc_connect.c:329:dcerpc_pipe_connect_ncacn_ip_tcp_recv()] failed NT status (c0000017) in dcerpc_pipe_connect_ncacn_ip_tcp_recv
greenbone-community-edition-ospd-openvas-1 | [/source/samba/librpc/rpc/dcerpc_connect.c:790:dcerpc_pipe_connect_b_recv()] failed NT status (c0000017) in dcerpc_pipe_connect_b_recv
greenbone-community-edition-ospd-openvas-1 | [/source/samba/librpc/rpc/dcerpc_connect.c:329:dcerpc_pipe_connect_ncacn_ip_tcp_recv()] failed NT status (c0000017) in dcerpc_pipe_connect_ncacn_ip_tcp_recv
greenbone-community-edition-ospd-openvas-1 | [/source/samba/librpc/rpc/dcerpc_connect.c:790:dcerpc_pipe_connect_b_recv()] failed NT status (c0000017) in dcerpc_pipe_connect_b_recv
greenbone-community-edition-ospd-openvas-1 | [/source/samba/librpc/rpc/dcerpc_connect.c:329:dcerpc_pipe_connect_ncacn_ip_tcp_recv()] failed NT status (c0000017) in dcerpc_pipe_connect_ncacn_ip_tcp_recv
greenbone-community-edition-ospd-openvas-1 | [/source/samba/librpc/rpc/dcerpc_connect.c:790:dcerpc_pipe_connect_b_recv()] failed NT status (c0000017) in dcerpc_pipe_connect_b_recv
greenbone-community-edition-ospd-openvas-1 | [/source/samba/librpc/rpc/dcerpc_connect.c:329:dcerpc_pipe_connect_ncacn_ip_tcp_recv()] failed NT status (c00000b5) in dcerpc_pipe_connect_ncacn_ip_tcp_recv
greenbone-community-edition-ospd-openvas-1 | [/source/samba/librpc/rpc/dcerpc_connect.c:790:dcerpc_pipe_connect_b_recv()] failed NT status (c00000b5) in dcerpc_pipe_connect_b_recv
greenbone-community-edition-ospd-openvas-1 | [/source/samba/librpc/rpc/dcerpc_connect.c:329:dcerpc_pipe_connect_ncacn_ip_tcp_recv()] failed NT status (c00000b5) in dcerpc_pipe_connect_ncacn_ip_tcp_recv
greenbone-community-edition-ospd-openvas-1 | [/source/samba/librpc/rpc/dcerpc_connect.c:790:dcerpc_pipe_connect_b_recv()] failed NT status (c00000b5) in dcerpc_pipe_connect_b_recv
greenbone-community-edition-ospd-openvas-1 | Traceback (most recent call last):
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/bin/ospd-openvas", line 8, in <module>
greenbone-community-edition-ospd-openvas-1 | sys.exit(main())
greenbone-community-edition-ospd-openvas-1 | ^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/ospd_openvas/daemon.py", line 1244, in main
greenbone-community-edition-ospd-openvas-1 | daemon_main('OSPD - openvas', OSPDopenvas, NotusParser())
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/ospd/main.py", line 153, in main
greenbone-community-edition-ospd-openvas-1 | daemon.run()
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/ospd/ospd.py", line 1103, in run
greenbone-community-edition-ospd-openvas-1 | self.scheduler()
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/ospd_openvas/daemon.py", line 703, in scheduler
greenbone-community-edition-ospd-openvas-1 | self.check_feed()
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/ospd_openvas/daemon.py", line 677, in check_feed
greenbone-community-edition-ospd-openvas-1 | current_feed = self.nvti.get_feed_version()
greenbone-community-edition-ospd-openvas-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/ospd_openvas/nvticache.py", line 70, in get_feed_version
greenbone-community-edition-ospd-openvas-1 | return OpenvasDB.get_single_item(self.ctx, NVTI_CACHE_NAME)
greenbone-community-edition-ospd-openvas-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/ospd_openvas/db.py", line 268, in get_single_item
greenbone-community-edition-ospd-openvas-1 | return ctx.lindex(name, index)
greenbone-community-edition-ospd-openvas-1 | ^^^^^^^^^^^^^^^^^^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/redis/commands/core.py", line 2685, in lindex
greenbone-community-edition-ospd-openvas-1 | return self.execute_command("LINDEX", name, index)
greenbone-community-edition-ospd-openvas-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/redis/client.py", line 508, in execute_command
greenbone-community-edition-ospd-openvas-1 | return conn.retry.call_with_retry(
greenbone-community-edition-ospd-openvas-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/redis/retry.py", line 49, in call_with_retry
greenbone-community-edition-ospd-openvas-1 | fail(error)
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/redis/client.py", line 512, in <lambda>
greenbone-community-edition-ospd-openvas-1 | lambda error: self._disconnect_raise(conn, error),
greenbone-community-edition-ospd-openvas-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/redis/client.py", line 498, in _disconnect_raise
greenbone-community-edition-ospd-openvas-1 | raise error
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/redis/retry.py", line 46, in call_with_retry
greenbone-community-edition-ospd-openvas-1 | return do()
greenbone-community-edition-ospd-openvas-1 | ^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/redis/client.py", line 509, in <lambda>
greenbone-community-edition-ospd-openvas-1 | lambda: self._send_command_parse_response(
greenbone-community-edition-ospd-openvas-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/redis/client.py", line 485, in _send_command_parse_response
greenbone-community-edition-ospd-openvas-1 | return self.parse_response(conn, command_name, **options)
greenbone-community-edition-ospd-openvas-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/redis/client.py", line 525, in parse_response
greenbone-community-edition-ospd-openvas-1 | response = connection.read_response()
greenbone-community-edition-ospd-openvas-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/redis/connection.py", line 493, in read_response
greenbone-community-edition-ospd-openvas-1 | response = self._parser.read_response(disable_decoding=disable_decoding)
greenbone-community-edition-ospd-openvas-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/redis/_parsers/resp2.py", line 15, in read_response
greenbone-community-edition-ospd-openvas-1 | result = self._read_response(disable_decoding=disable_decoding)
greenbone-community-edition-ospd-openvas-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/redis/_parsers/resp2.py", line 25, in _read_response
greenbone-community-edition-ospd-openvas-1 | raw = self._buffer.readline()
greenbone-community-edition-ospd-openvas-1 | ^^^^^^^^^^^^^^^^^^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/redis/_parsers/socket.py", line 115, in readline
greenbone-community-edition-ospd-openvas-1 | self._read_from_socket()
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/redis/_parsers/socket.py", line 68, in _read_from_socket
greenbone-community-edition-ospd-openvas-1 | raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
greenbone-community-edition-ospd-openvas-1 | redis.exceptions.ConnectionError: Connection closed by server.
greenbone-community-edition-ospd-openvas-1 | OSPD[8] 2023-10-23 13:23:21,204: WARNING: (ospd.ospd) Error sending data to the client while executing a scan d9e766e3-70f7-4391-a183-43195ff4078e.
greenbone-community-edition-ospd-openvas-1 | Exception ignored in atexit callback: <function exit_cleanup at 0x7f28857cd120>
greenbone-community-edition-ospd-openvas-1 | Traceback (most recent call last):
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/ospd/main.py", line 69, in exit_cleanup
greenbone-community-edition-ospd-openvas-1 | daemon.daemon_exit_cleanup()
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/ospd/ospd.py", line 448, in daemon_exit_cleanup
greenbone-community-edition-ospd-openvas-1 | self.scan_collection.clean_up_pickled_scan_info()
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/ospd/scan.py", line 252, in clean_up_pickled_scan_info
greenbone-community-edition-ospd-openvas-1 | if self.get_status(scan_id) == ScanStatus.QUEUED:
greenbone-community-edition-ospd-openvas-1 | ^^^^^^^^^^^^^^^^^^^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/local/lib/python3.11/dist-packages/ospd/scan.py", line 352, in get_status
greenbone-community-edition-ospd-openvas-1 | status = self.scans_table.get(scan_id, {}).get('status', None)
greenbone-community-edition-ospd-openvas-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "<string>", line 2, in get
greenbone-community-edition-ospd-openvas-1 | File "/usr/lib/python3.11/multiprocessing/managers.py", line 818, in _callmethod
greenbone-community-edition-ospd-openvas-1 | self._connect()
greenbone-community-edition-ospd-openvas-1 | File "/usr/lib/python3.11/multiprocessing/managers.py", line 805, in _connect
greenbone-community-edition-ospd-openvas-1 | conn = self._Client(self._token.address, authkey=self._authkey)
greenbone-community-edition-ospd-openvas-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/lib/python3.11/multiprocessing/connection.py", line 501, in Client
greenbone-community-edition-ospd-openvas-1 | c = SocketClient(address)
greenbone-community-edition-ospd-openvas-1 | ^^^^^^^^^^^^^^^^^^^^^
greenbone-community-edition-ospd-openvas-1 | File "/usr/lib/python3.11/multiprocessing/connection.py", line 629, in SocketClient
greenbone-community-edition-ospd-openvas-1 | s.connect(address)
greenbone-community-edition-ospd-openvas-1 | FileNotFoundError: [Errno 2] No such file or directory
greenbone-community-edition-ospd-openvas-1 | [WARN tini (7)] Tini is not running as PID 1 and isn't registered as a child subreaper.
greenbone-community-edition-ospd-openvas-1 | Zombie processes will not be re-parented to Tini, so zombie reaping won't work.
greenbone-community-edition-ospd-openvas-1 | To fix the problem, use the -s option or set the environment variable TINI_SUBREAPER to register Tini as a child subreaper, or run Tini as PID 1.
greenbone-community-edition-ospd-openvas-1 | OSPD[8] 2023-10-23 13:23:27,411: INFO: (ospd.main) Starting OSPd OpenVAS version 22.6.0.
greenbone-community-edition-ospd-openvas-1 | OSPD[8] 2023-10-23 13:23:27,424: INFO: (ospd_openvas.messaging.mqtt) Successfully connected to MQTT broker
greenbone-community-edition-ospd-openvas-1 | OSPD[8] 2023-10-23 13:23:37,517: INFO: (ospd_openvas.daemon) Loading VTs. Scans will be [requested|queued] until VTs are loaded. This may take a few minutes, please wait...
greenbone-community-edition-ospd-openvas-1 | OSPD[8] 2023-10-23 13:25:44,356: INFO: (ospd_openvas.daemon) Finished loading VTs. The VT cache has been updated from version 0 to 202309150621.
The Only Thin i see is that it has some trouble with samba is that normal ?
Thanks you all for trying to help