failed listening on port 6379 (TCP), aborting.

bench start
12:29:45 system | redis_cache.1 started (pid=64029)
12:29:45 system | redis_queue.1 started (pid=64034)
12:29:45 system | web.1 started (pid=64038)
12:29:45 system | socketio.1 started (pid=64039)
12:29:45 system | watch.1 started (pid=64045)
12:29:45 system | schedule.1 started (pid=64049)
12:29:45 system | worker.1 started (pid=64052)
12:29:45 redis_queue.1 | 64036:C 14 Apr 2025 12:29:45.106 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12:29:45 redis_cache.1 | 64032:C 14 Apr 2025 12:29:45.106 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12:29:45 redis_queue.1 | 64036:C 14 Apr 2025 12:29:45.106 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=64036, just started
12:29:45 redis_queue.1 | 64036:C 14 Apr 2025 12:29:45.106 # Configuration loaded
12:29:45 redis_cache.1 | 64032:C 14 Apr 2025 12:29:45.106 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=64032, just started
12:29:45 redis_cache.1 | 64032:C 14 Apr 2025 12:29:45.106 # Configuration loaded
12:29:45 redis_cache.1 | 64032:M 14 Apr 2025 12:29:45.106 * Increased maximum number of open files to 10032 (it was originally set to 1024).
12:29:45 redis_cache.1 | 64032:M 14 Apr 2025 12:29:45.106 * monotonic clock: POSIX clock_gettime
12:29:45 redis_queue.1 | 64036:M 14 Apr 2025 12:29:45.106 * Increased maximum number of open files to 10032 (it was originally set to 1024).
12:29:45 redis_queue.1 | 64036:M 14 Apr 2025 12:29:45.106 * monotonic clock: POSIX clock_gettime
12:29:45 redis_cache.1 | 64032:M 14 Apr 2025 12:29:45.106 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
12:29:45 redis_cache.1 | 64032:M 14 Apr 2025 12:29:45.106 # Failed listening on port 6379 (TCP), aborting.
12:29:45 redis_queue.1 | 64036:M 14 Apr 2025 12:29:45.106 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
12:29:45 redis_queue.1 | 64036:M 14 Apr 2025 12:29:45.106 # Failed listening on port 6379 (TCP), aborting.
12:29:45 system | redis_queue.1 stopped (rc=1)
12:29:45 system | sending SIGTERM to redis_cache.1 (pid 64029)
12:29:45 system | sending SIGTERM to web.1 (pid 64038)
12:29:45 system | sending SIGTERM to socketio.1 (pid 64039)
12:29:45 system | sending SIGTERM to watch.1 (pid 64045)
12:29:45 system | sending SIGTERM to schedule.1 (pid 64049)
12:29:45 system | sending SIGTERM to worker.1 (pid 64052)
12:29:45 system | redis_cache.1 stopped (rc=-15)
12:29:45 system | worker.1 stopped (rc=-15)
12:29:45 system | web.1 stopped (rc=-15)
12:29:45 system | watch.1 stopped (rc=-15)
12:29:45 system | schedule.1 stopped (rc=-15)
12:29:45 system | socketio.1 stopped (rc=-15)
[erp]@ubuntu:~/frappe-bench$ sudo systemctl restart redis
[erp]@ubuntu:~/frappe-bench$ redis-cli shutdown
[erp]@ubuntu:~/frappe-bench$ bench start
12:31:19 system | redis_cache.1 started (pid=64343)
12:31:19 system | redis_queue.1 started (pid=64348)
12:31:19 system | web.1 started (pid=64352)
12:31:19 system | socketio.1 started (pid=64356)
12:31:19 system | watch.1 started (pid=64360)
12:31:19 system | schedule.1 started (pid=64363)
12:31:19 system | worker.1 started (pid=64365)
12:31:19 redis_queue.1 | 64351:C 14 Apr 2025 12:31:19.506 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12:31:19 redis_queue.1 | 64351:C 14 Apr 2025 12:31:19.506 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=64351, just started
12:31:19 redis_cache.1 | 64346:C 14 Apr 2025 12:31:19.506 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12:31:19 redis_queue.1 | 64351:C 14 Apr 2025 12:31:19.506 # Configuration loaded
12:31:19 redis_cache.1 | 64346:C 14 Apr 2025 12:31:19.506 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=64346, just started
12:31:19 redis_cache.1 | 64346:C 14 Apr 2025 12:31:19.506 # Configuration loaded
12:31:19 redis_cache.1 | 64346:M 14 Apr 2025 12:31:19.506 * Increased maximum number of open files to 10032 (it was originally set to 1024).
12:31:19 redis_cache.1 | 64346:M 14 Apr 2025 12:31:19.506 * monotonic clock: POSIX clock_gettime
12:31:19 redis_queue.1 | 64351:M 14 Apr 2025 12:31:19.506 * Increased maximum number of open files to 10032 (it was originally set to 1024).
12:31:19 redis_queue.1 | 64351:M 14 Apr 2025 12:31:19.506 * monotonic clock: POSIX clock_gettime
12:31:19 redis_cache.1 | 64346:M 14 Apr 2025 12:31:19.506 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
12:31:19 redis_cache.1 | 64346:M 14 Apr 2025 12:31:19.506 # Failed listening on port 6379 (TCP), aborting.
12:31:19 redis_queue.1 | 64351:M 14 Apr 2025 12:31:19.506 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
12:31:19 redis_queue.1 | 64351:M 14 Apr 2025 12:31:19.506 # Failed listening on port 6379 (TCP), aborting.
12:31:19 system | redis_cache.1 stopped (rc=1)
12:31:19 system | sending SIGTERM to redis_queue.1 (pid 64348)
12:31:19 system | sending SIGTERM to web.1 (pid 64352)
12:31:19 system | sending SIGTERM to socketio.1 (pid 64356)
12:31:19 system | sending SIGTERM to watch.1 (pid 64360)
12:31:19 system | sending SIGTERM to schedule.1 (pid 64363)
12:31:19 system | sending SIGTERM to worker.1 (pid 64365)
12:31:19 system | redis_queue.1 stopped (rc=1)
12:31:19 system | worker.1 stopped (rc=-15)
12:31:19 system | web.1 stopped (rc=-15)
12:31:19 system | watch.1 stopped (rc=-15)
12:31:19 system | schedule.1 stopped (rc=-15)
12:31:19 system | socketio.1 stopped (rc=-15)
[erp]@ubuntu:~/frappe-bench$ # redis_cache: redis-server config/redis_cache.conf

redis_queue: redis-server config/redis_queue.conf

[erp]@ubuntu:~/frappe-bench$ redis-cli shutdown
[erp]@ubuntu:~/frappe-bench$ sudo redis-cli shutdown
[erp]@ubuntu:~/frappe-bench$ bench start
12:31:52 system | redis_cache.1 started (pid=64409)
12:31:52 system | redis_queue.1 started (pid=64412)
12:31:52 system | web.1 started (pid=64417)
12:31:52 system | socketio.1 started (pid=64421)
12:31:52 system | watch.1 started (pid=64424)
12:31:52 system | schedule.1 started (pid=64428)
12:31:52 system | worker.1 started (pid=64431)
12:31:52 redis_queue.1 | 64416:C 14 Apr 2025 12:31:52.161 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12:31:52 redis_cache.1 | 64413:C 14 Apr 2025 12:31:52.161 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12:31:52 redis_queue.1 | 64416:C 14 Apr 2025 12:31:52.161 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=64416, just started
12:31:52 redis_cache.1 | 64413:C 14 Apr 2025 12:31:52.161 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=64413, just started
12:31:52 redis_queue.1 | 64416:C 14 Apr 2025 12:31:52.161 # Configuration loaded
12:31:52 redis_cache.1 | 64413:C 14 Apr 2025 12:31:52.161 # Configuration loaded
12:31:52 redis_queue.1 | 64416:M 14 Apr 2025 12:31:52.161 * Increased maximum number of open files to 10032 (it was originally set to 1024).
12:31:52 redis_queue.1 | 64416:M 14 Apr 2025 12:31:52.161 * monotonic clock: POSIX clock_gettime
12:31:52 redis_cache.1 | 64413:M 14 Apr 2025 12:31:52.161 * Increased maximum number of open files to 10032 (it was originally set to 1024).
12:31:52 redis_cache.1 | 64413:M 14 Apr 2025 12:31:52.161 * monotonic clock: POSIX clock_gettime
12:31:52 redis_queue.1 | 64416:M 14 Apr 2025 12:31:52.161 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
12:31:52 redis_queue.1 | 64416:M 14 Apr 2025 12:31:52.161 # Failed listening on port 6379 (TCP), aborting.
12:31:52 redis_cache.1 | 64413:M 14 Apr 2025 12:31:52.161 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
12:31:52 redis_cache.1 | 64413:M 14 Apr 2025 12:31:52.161 # Failed listening on port 6379 (TCP), aborting.
12:31:52 system | redis_queue.1 stopped (rc=1)
12:31:52 system | sending SIGTERM to redis_cache.1 (pid 64409)
12:31:52 system | sending SIGTERM to web.1 (pid 64417)
12:31:52 system | sending SIGTERM to socketio.1 (pid 64421)
12:31:52 system | sending SIGTERM to watch.1 (pid 64424)
12:31:52 system | sending SIGTERM to schedule.1 (pid 64428)
12:31:52 system | sending SIGTERM to worker.1 (pid 64431)
12:31:52 system | redis_cache.1 stopped (rc=1)
12:31:52 system | worker.1 stopped (rc=-15)
12:31:52 system | watch.1 stopped (rc=-15)
12:31:52 system | schedule.1 stopped (rc=-15)
12:31:52 system | web.1 stopped (rc=-15)
12:31:52 system | socketio.1 stopped (rc=-15)