shonan@shonan-VirtualBox:~/frappe-bench$ bench start
20:02:57 system | redis_cache.1 started (pid=24292)
20:02:57 system | redis_queue.1 started (pid=24294)
20:02:57 redis_queue.1 | 24297:C 01 Apr 2025 20:02:57.321 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
20:02:57 redis_queue.1 | 24297:C 01 Apr 2025 20:02:57.325 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=24297, just started
20:02:57 redis_queue.1 | 24297:C 01 Apr 2025 20:02:57.325 # Configuration loaded
20:02:57 redis_queue.1 | 24297:M 01 Apr 2025 20:02:57.326 * Increased maximum number of open files to 10032 (it was originally set to 1024).
20:02:57 redis_queue.1 | 24297:M 01 Apr 2025 20:02:57.326 # Could not create server TCP listening socket 127.0.0.1:11000: bind: Address already in use
20:02:57 system | web.1 started (pid=24295)
20:02:57 system | redis_queue.1 stopped (rc=1)
20:02:57 redis_cache.1 | 24298:C 01 Apr 2025 20:02:57.325 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
20:02:57 redis_cache.1 | 24298:C 01 Apr 2025 20:02:57.325 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=24298, just started
20:02:57 redis_cache.1 | 24298:C 01 Apr 2025 20:02:57.325 # Configuration loaded
20:02:57 redis_cache.1 | 24298:M 01 Apr 2025 20:02:57.326 * Increased maximum number of open files to 10032 (it was originally set to 1024).
20:02:57 redis_cache.1 | 24298:M 01 Apr 2025 20:02:57.326 # Could not create server TCP listening socket 127.0.0.1:13000: bind: Address already in use
20:02:57 system | redis_cache.1 stopped (rc=1)
20:02:57 system | socketio.1 started (pid=24296)
20:02:57 system | watch.1 started (pid=24306)
20:02:57 system | schedule.1 started (pid=24308)
20:02:57 system | worker.1 started (pid=24316)
20:02:57 system | sending SIGTERM to web.1 (pid 24295)
20:02:57 system | sending SIGTERM to socketio.1 (pid 24296)
20:02:57 system | sending SIGTERM to watch.1 (pid 24306)
20:02:57 system | sending SIGTERM to schedule.1 (pid 24308)
20:02:57 system | sending SIGTERM to worker.1 (pid 24316)
20:02:57 system | worker.1 stopped (rc=-15)
20:02:57 system | watch.1 stopped (rc=-15)
20:02:57 system | web.1 stopped (rc=-15)
20:02:57 system | schedule.1 stopped (rc=-15)
20:02:57 system | socketio.1 stopped (rc=-15)
Hi,
It may help to describe the hosting environment and what instructions were followed to install Frappe.
Is this happening on first use or has bench started successfully in the past?
I’ve used this link for the setup as it is my first time downloading and installing it.
( [Guide] How to install ERPNext v15 on Linux Ubuntu (step-by-step instructions) )
Bench was successfully started one or twice yesterday for the first time but later it crashed.
It looks like ports 11000 and 13000 are already being used by another application. You have two options:
- Run Frappe on different ports (change Redis port configs).
- Kill the process using those ports and restart Bench.
To check which application is using the port, run:
lsof -i:11000
It will show the process PID. Kill it using:
kill <PID>
Do the same for 13000:
lsof -i:13000
kill <PID>
Now restart Bench:
bench start
Didn’t work. It still shows the same error. Another PID gets assigned.