thaya@Thayas-MacBook-Pro frappe-bench % bench start
10:01:27 system | redis_cache.1 started (pid=5330)
10:01:27 system | web.1 started (pid=5331)
10:01:27 system | redis_queue.1 started (pid=5332)
10:01:27 system | watch.1 started (pid=5333)
10:01:27 system | socketio.1 started (pid=5334)
10:01:27 redis_cache.1 | 5330:C 13 Sep 2023 10:01:27.373 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
10:01:27 redis_cache.1 | 5330:C 13 Sep 2023 10:01:27.373 * Redis version=7.2.1, bits=64, commit=00000000, modified=0, pid=5330, just started
10:01:27 redis_cache.1 | 5330:C 13 Sep 2023 10:01:27.373 * Configuration loaded
10:01:27 system | worker.1 started (pid=5335)
10:01:27 redis_cache.1 | 5330:M 13 Sep 2023 10:01:27.374 * Increased maximum number of open files to 10032 (it was originally set to 256).
10:01:27 redis_cache.1 | 5330:M 13 Sep 2023 10:01:27.374 * monotonic clock: POSIX clock_gettime
10:01:27 system | schedule.1 started (pid=5336)
10:01:27 redis_cache.1 | 5330:M 13 Sep 2023 10:01:27.375 * Running mode=standalone, port=13000.
10:01:27 redis_cache.1 | 5330:M 13 Sep 2023 10:01:27.375 # WARNING: The TCP backlog setting of 511 cannot be enforced because kern.ipc.somaxconn is set to the lower value of 128.
10:01:27 redis_cache.1 | 5330:M 13 Sep 2023 10:01:27.376 # Warning: Could not create server TCP listening socket 127.0.0.1:13000: bind: Address already in use
10:01:27 redis_cache.1 | 5330:M 13 Sep 2023 10:01:27.376 # Failed listening on port 13000 (tcp), aborting.
10:01:27 system | redis_cache.1 stopped (rc=1)
10:01:27 system | sending SIGTERM to redis_queue.1 (pid 5332)
10:01:27 system | sending SIGTERM to web.1 (pid 5331)
10:01:27 system | sending SIGTERM to socketio.1 (pid 5334)
10:01:27 system | sending SIGTERM to watch.1 (pid 5333)
10:01:27 system | sending SIGTERM to schedule.1 (pid 5336)
10:01:27 system | sending SIGTERM to worker.1 (pid 5335)
10:01:27 redis_queue.1 | 5332:C 13 Sep 2023 10:01:27.377 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
10:01:27 redis_queue.1 | 5332:C 13 Sep 2023 10:01:27.377 * Redis version=7.2.1, bits=64, commit=00000000, modified=0, pid=5332, just started
10:01:27 redis_queue.1 | 5332:C 13 Sep 2023 10:01:27.377 * Configuration loaded
10:01:27 redis_queue.1 | 5332:M 13 Sep 2023 10:01:27.378 * Increased maximum number of open files to 10032 (it was originally set to 256).
10:01:27 redis_queue.1 | 5332:M 13 Sep 2023 10:01:27.378 * monotonic clock: POSIX clock_gettime
10:01:27 redis_queue.1 | 5332:signal-handler (1694579487) Received SIGTERM scheduling shutdown…
10:01:27 system | web.1 stopped (rc=-15)
10:01:27 system | watch.1 stopped (rc=-15)
10:01:27 system | socketio.1 stopped (rc=-15)
10:01:27 system | schedule.1 stopped (rc=-15)
10:01:27 system | worker.1 stopped (rc=-15)
10:01:27 redis_queue.1 | 5332:M 13 Sep 2023 10:01:27.379 * Running mode=standalone, port=11000.
10:01:27 redis_queue.1 | 5332:M 13 Sep 2023 10:01:27.379 # WARNING: The TCP backlog setting of 511 cannot be enforced because kern.ipc.somaxconn is set to the lower value of 128.
10:01:27 redis_queue.1 | 5332:M 13 Sep 2023 10:01:27.386 # Warning: Could not create server TCP listening socket 127.0.0.1:11000: bind: Address already in use
10:01:27 redis_queue.1 | 5332:M 13 Sep 2023 10:01:27.386 # Failed listening on port 11000 (tcp), aborting.
10:01:27 system | redis_queue.1 stopped (rc=1)
thaya@Thayas-MacBook-Pro frappe-bench %
Run below command
sudo netstat -tlnp
and check whether these port are already in listen mode and used by some processes?
If yes, then you have kill those processes to make make these (11000, 12000, and 13000) ports available for bench to start.
May please try with following command:
netstat -a | grep -i “listen”